-
Notifications
You must be signed in to change notification settings - Fork 12.8k
python like imports for better suggestions for better auto complete #27390
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
Labels
Duplicate
An existing issue was already created
Comments
This is out of scope of the design goals since it would add new expression-level syntax. |
If you use the VSCode snippet for import, the module is filled out first and then the imports so you get autocomplete. |
This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
2 tasks
please add python like import for better suggestion |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Search Terms
Suggestion
python like imports so that we have better suggestions for autocomplete in editors
eg:
from lib import module
current implementation
import { OnInit } from "@angular/core";
this way has poor autocomplete support in editors. Editors can only show suggestions after it knows that I'm importing from
"@angular/code"
suggested implementation
from "@angular/core" import { OnInit }
when this compiles to js, it stays the same
Use Cases
better autocomplete suggestions in most editors. Currently to use better autocomplete, I have to first write the name of the library and then come back to the name of the module I want to import to get autocomplete suggestions which I can select by pressing just
tab
Examples
from "@angular/core" import { OnInit }
from "../myCustomLib" import { SomeItem}
Checklist
My suggestion meets these guidelines:
Also, if you guys decide to implement this, can I get to work on this?
The text was updated successfully, but these errors were encountered: