Skip to content

Auto import format #49696

@ivanvoznyakovsky

Description

@ivanvoznyakovsky
  • VSCode Version: 1.23.1
  • OS Version: macOS 10.13.4

Auto import format has changed to CommonJS and I do not see any config options to change it back to ES6.

Steps to Reproduce:

  1. Use some module that needs to be imported
  2. Cmd + . to open auto import suggestion and apply it
  3. Observe module is imported with a require, eg. import _ = require('lodash'); instead of import * as _ from 'lodash';

Does this issue occur when all extensions are disabled?: Yes

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from posterjavascriptJavaScript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions