I got this working using the AllAutocomplete plugin
The biggest drawback of using this plugin is that the file that it reads from the variables must be open. Unfortunately, I have not found a better way to achieve this.
Support for Sublime text 3?
This plugin did not work for me out of the box with ST3. I had to make a small modification to the user settings file to make it work.
"word_separators": "./\\()\"':,.;<> ~!@ #%^&*|+=[]{}`~?",
Adding this file to your custom settings file should do the trick. Here is the github issue it came from.
https://github.com/alienhard/SublimeAllAutocomplete/issues/18
source share