Hi, I am using the IntelliJ IDEA 15 and am looking to define custom patterns that the code completion can use to give me suggestions when I type a certain piece of code.
When listening to events we use something like:
App.Events.on([eventname], [function], [scope]); //The eventname can be any string.
App.Events.on('case:show', this.show, this);
You trigger an event by calling:
Now I would like IntelliJ to search for all .on() functions and gives back the eventnames as suggestions when I type .trigger(
Have been searching for this function for quite some time but couldn't find anything to achieve something like this.
Does IntelliJ have such a function and if so whats it called, cause it would surely speed up our coding.