Home Download Buy Blog Forum Support

Is there a way to scope a particular function call?

Is there a way to scope a particular function call?

Postby pier on Mon Dec 03, 2012 9:23 pm

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?
pier
 
Posts: 92
Joined: Fri Jun 15, 2012 2:47 am

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 11 guests