Skip to content

TS auto import should support configuring whether a star or a qualified import is used. #37258

Closed

Description

Testing: #37177

  • vscode source code opened in VS Code
  • open a file that doesn't import 'vs/base/common/types'
  • type isStringArray
  • select the entry from code complete list
  • the following import is inserted:
import { isStringArray } from 'vs/base/common/types';

However what I want in this case is

import * as Types from 'vs/base/common/types';

and the code should become Types.isStringArray

Would be cool if I can control this via a setting.

Activity

  1. mjbvz commented on Nov 1, 2017

    @mjbvz
    Contributor

    This issue was moved to microsoft/TypeScript#19630

  2. locked and limited conversation to collaborators on Dec 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

typescriptTypescript support issues

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions