Sublime Forum

Is there a way to scope a particular function call?

#1

So I have myFunction(param,param,param).

I want to create completions for those parameters, but only want them to trigger when calling that function, or more precisely when the cursor is inside the function call.

myFunction(only when cursor is inside here)

I know I can scope meta.function (so that completions/snippets only trigger when inside the function tag), but that’s not what I want.

Is there a way to scope completions/snippets when inside a particular function name call?

0 Likes