I’m trying to write a set of completions for MSBuild, which has some special “reserved properties” in the form
$(PropertyName)
like
$(MSBuildProjectDirectory)
I have other completions working, the syntax definition works, etc., but what I’m trying to do is get the open paren “(” to be a completion character so my completions will fire.
I tried adding a sublime-settings file to my project with contents like:
{
"auto_complete_triggers" : { "selector": "source.msbuild", "characters": "(" } ]
}
But that didn’t work. It seems to work for other characters - almost ANY other character - but not open-paren. I tried escaping it “(”, I tried putting two characters in there “$(” and tried escaping that “$(” but that didn’t work. In fact, when I tried the two-character trigger “$(” or “$(” I could get the “$” to trigger auto-complete but never the “(”.
Is there a special trick I need to do to get open-paren to allow auto-complete?