Skip to content

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

@dbaeumer

Description

@dbaeumer

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.

Metadata

Metadata

Assignees

Labels

typescriptTypescript support issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions