Vscode: VSCode JavaScript Auto Import

Created on 12 Oct 2018  路  4Comments  路  Source: microsoft/vscode

  • VSCode Version: 1.28.0 (1.28.0)
  • OS Version: macOS Mojave

Steps to Reproduce:

  1. Open React Native App
  2. Have Auto Import Configuration Enabled
  3. Try to use Auto Import feature

screenrecording20181012at1

I am expecting the import statement to be appended on top of files, but instead it got inline.

I try to find some configuration that might related to this but didn't found any.

*duplicate javascript

Most helpful comment

This is a duplicate of the issues the bot identified. Root cause is https://github.com/Microsoft/TypeScript/issues/27317. #60216 on our side tracks brining this fix in for 1.28.2 which will go out next week

This should already be fixed in the insiders builds too

All 4 comments

All duplicate issues are closed but this bug is still there. Catching it on every component import in every JSX file (using JS).

Have same issue. It's also here https://github.com/Microsoft/vscode/issues/60786

This is a duplicate of the issues the bot identified. Root cause is https://github.com/Microsoft/TypeScript/issues/27317. #60216 on our side tracks brining this fix in for 1.28.2 which will go out next week

This should already be fixed in the insiders builds too

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shanalikhan picture shanalikhan  路  3Comments

v-pavanp picture v-pavanp  路  3Comments

sijad picture sijad  路  3Comments

lukehoban picture lukehoban  路  3Comments

villiv picture villiv  路  3Comments