Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
dbaeumer opened this issue Oct 31, 2017 · 1 comment
Assignees
Labels
typescript Typescript support issues

Comments

@dbaeumer
Copy link
Member

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.

@vscodebot vscodebot bot added the typescript Typescript support issues label Oct 31, 2017
@mjbvz
Copy link
Collaborator

mjbvz commented Nov 1, 2017

This issue was moved to microsoft/TypeScript#19630

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
typescript Typescript support issues
Projects
None yet
Development

No branches or pull requests

2 participants