sublime-import-helper
sublime-import-helper copied to clipboard
Auto autocomplete
For some reason, Auto import when selecting from the auto-complete menu does not work for me. I have the following settings:
{
"space_around_braces": false,
"autocomplete_export_names": true,
"autocomplete_auto_import": true,
}
Do I have to do something special to get this working?
It works after sublime auto-complete (ctrl + space): type -> ctrl+space ... -> tab or enter
@unlight That does not work at all at my version. I've gone back to Vim tho, so this should be closed if nobody else got the same issue.
This issue occurs to me to.. is there any chance it'll get resolved.?
Cool!!! So, is there any change of getting this fixed ??
Pressing tab/enter on autocompletion doesn't import it, but after using tab/enter and then pressing ctrl+shift+i does work. Auto import with autocompletion doesn't work.!
It should work after pressing tab/enter, but it's important to press ctrl+space
before that.
Without ctrl+space
it will not work. It's limitation.
@sahilrajput03 this is your case?
I'll try to check it again today.
Hey, I'm very sorry, I didn't try it with ctrl+space and try importing it!!
Its 100% working with the settings above!! Thanks, buddy!!!!
I request you to close this issue!!
Nice. I'll keep it opened for now, maybe I can improve it later.
Like without ctrl+space?.
I can only get this to work when finishing the name of the symbol, and then pressing Ctrl+Alt+I (i), which lets me choose from a list of possible imports.
@sebastianks This is not how it supposed to be. Auto Import should work like auto complete: when you press tab / enter, word completes, import statement added.