+1

Add File Context to Completions

Ryan Murphy 10 років тому 0
Sublime-completions files are extremely useful but one key feature is really holding them back for me. I wish that I could give file context to some completions.

I have a simple script that parses my library of lua files and generates completions for all the apis. It would be great if I could add a completion that only worked within a single file or group of files (those functions only being available within that context).

If this is another, fairly cheap way to achieve intellisense like behavior(the custom plugins that do true intellisense seem very complex) I would love to hear it.

I could see completions files getting large used in this way. Especially with multiple projects. But this could be solved be having project specific completions additions.