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
Organize Imports adding semicolons despite semi:false #49223
Comments
AFAIK, the organize imports are provided by TypeScript extension, which doesn't read options from other extensions. |
I think it would be good if we could turn off the semicolons in |
Yes, we don't use settings from other extensions. Enabling/disabling semicolons in generated imports is tracked by microsoft/TypeScript#19882 |
For the record, adding
may get turned into something like this (by typescript):
And then back into the original. With zero meaningful AST changes, and causing a flash of text on save. Super annoying :( |
I can confirm this also happens in javascript files utilizing babel. Adding "editor.codeActionsOnSave": {
"source.organizeImports": true
},
"editor.formatOnSave": true, |
"organize imports" automatically adds semi colons to your import statements, even when eslint & prettier set semicolons to false.
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: