Closed mattiLeBlanc closed 10 years ago
Just typing a command name in the console wont work as it's expecting angularjs_find
to be a variable that you've defined within the console.
You have to use sublime's API to run commands window.run_command('angularjs_find')
Yes, that works. Thanks. Maybe silly but I need to run the index manually because I use SublimeLinter which already assigned a command to super+ctrl+l button. Sublime 3 doesnt allow me to edit the key assignments anymore, without going through all kind of hoops. So executing the command manually in console seemed easier.
Ahh, I was curious why you were wanting to do that :)
Another alternative is using the command palette. If you open it up and type 'angularjs' there's quite a few commands there that you can execute and 'look up definition' will create an index if one has not already been created.
okay great. Thanks for the assistance!
Hi,
When I run the command angularjs_find manually in my console, I get the following issue:
It worked in Sublime 2, but I just switched over to the latest beta build 3059