Sublime Forum

How to obtain more specific code completion that doesn't show anything and everything

#1

Hi,

I’m wondering if there’s a way to obtain code completion that is a bit more context-sensitive, rather than providing completions for everything?

I’m using the Phaser.io game engine with Sublime Text, and using tern_for_sublime to obtain code completion.

Here I’m trying to obtain a listing for the ‘game’ object, and I get lots of stuff I really don’t want:

I’ve also tried several times to get code completion set up for Phaser specifically, to obtain more detailed info from the docs, but that isn’t really working yet. I’m trying to use PhaserSublimePackage (https://github.com/boniatillo-com/PhaserSublimePackage).

Any help is appreciated.

Thanks

1 Like

#2

Install a package that provides auto-completions via plugins, such as SublimeCodeIntel.

0 Likes