-
Notifications
You must be signed in to change notification settings - Fork 28.7k
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 command removes non-alias import #49724
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
Comments
(Experimental duplicate detection) |
Please show how the import is being used in your file |
@mjbvz a few lines below the import: Object.assign(window, { CodeMirror }); The parser may be failing to detect the new property value shorthand. |
Thanks. This is a duplicate of #49193 It is fixed in vscode insiders |
mjbvz
added
*duplicate
Issue identified as a duplicate of another issue(s)
and removed
info-needed
Issue requires more information from poster
labels
May 11, 2018
@mjbvz thank you for the update. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Issue Type: Bug
I know this seems a duplicate issue, but running the Organize Imports command removes this import:
The other reports I saw were related to aliasing an import (
import {a as b} from 'a';
), so this seems something different. Also, the import is being used.VS Code version: Code 1.23.1 (d0182c3, 2018-05-10T16:03:31.083Z)
OS version: Darwin x64 16.7.0
Extensions (22)
The text was updated successfully, but these errors were encountered: