suplemon icon indicating copy to clipboard operation
suplemon copied to clipboard

[Feature Proposal] Prepopulate autocomplete word list with words relevant to current language

Open TheSeriousProgrammer opened this issue 7 years ago • 4 comments
trafficstars

why is the words_list variable in autocomplete.py variable declared empty .. instead it can be initialized with the list of key words in python ,to get a better autocompletion

TheSeriousProgrammer avatar Jul 02 '18 05:07 TheSeriousProgrammer

Good question! This should be a no brainer generally speaking. I don't want to limit it only to Python though. It would be best if predefined word lists were added for a lot of popular languages. The minimun would probably be the reserved word lists for each supported language.

richrd avatar Jul 02 '18 19:07 richrd

in that case why dont you intialize the words_list with respect to the extension of the document the user is editing?? Because these extensions will very well speak about the language in which the user is working on..

TheSeriousProgrammer avatar Jul 03 '18 07:07 TheSeriousProgrammer

I am pretty sure that your project would become quite famous with that addon

TheSeriousProgrammer avatar Jul 03 '18 07:07 TheSeriousProgrammer

That is the plan, yes! I don't have much time right now but when I do this will be one of the things that I'll implement.

richrd avatar Jul 03 '18 14:07 richrd