Skip to content
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

Error renaming import (adding alias) #1745

Closed
DanTup opened this issue May 26, 2019 · 1 comment
Closed

Error renaming import (adding alias) #1745

DanTup opened this issue May 26, 2019 · 1 comment
Labels
in editor Relates to code editing or language features is bug
Milestone

Comments

@DanTup
Copy link
Member

DanTup commented May 26, 2019

Pressing F2 here doesn't give me an option to add an alias.

err

@DanTup DanTup added is bug in editor Relates to code editing or language features labels May 26, 2019
@DanTup DanTup added this to the v3.2.0 milestone May 26, 2019
@DanTup
Copy link
Member Author

DanTup commented Jun 6, 2019

You have to invoke the rename on import to do what I wanted here, so it was correct to show an error - just the wrong one. Now it shoes "You cannot rename this element." which is the same as TypeScript when trying to rename anything invalid (including keywords and whitespace).

@DanTup DanTup closed this as completed in f0b33c2 Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in editor Relates to code editing or language features is bug
Projects
None yet
Development

No branches or pull requests

1 participant