问题
I am wondering if there's any way to get smart autocompletion from anywhere in a Sublime project? I found cool package called All Autocomplete which indexes open tabs for autocomplete... but I would love if it searched all files in project. I can't seem to get SublimeCodeIntel to do this... maybe because SublimeCodeIntel is giving me errors in Sublime's console panel?
EDIT: Actually, it seems to autocomplete sometimes. Other times I just get the mentioned SublimeCodeIntel eval errors in console panel?
回答1:
Are you using PHP or Javascript? It can be enabling index project files:
Preferences | Package Settings | SublimeCodeIntel | Settings – Default, change the codeintel_scan_files_in_project
to true
in PHP/Javascript.
来源:https://stackoverflow.com/questions/21979849/sublime-text-3-autocomplete-from-anywhere-in-whole-project