I am trying to add autocompletions for IDL in Sublime Text 2 on Windows 7. I created a IDL folder under packages. and created IDL.sublime-completions file. But I can’t seem to get the auto completion. Here is how the file look like.
[code]{
“scope”: “source.IDL”,
"completions":
{ "trigger": "a", "contents": "COMMON" },
{ "trigger": "goto", "contents": "GOTO" },
{ "trigger": "float", "contents": "FLOAT" },
{ "trigger": "until", "contents": "UNTIL" }
]
} }[/code]
I read the ST2 auto completions help documentation (docs.sublimetext.info/en/sublime … tions.html). It seems the issue is with the scope. Somehow, it cannot identify the IDL language.
Please help.