Sublime Forum

Smart autocomplete

#1

Hi, everybody!

I’m installed some autocomplete plugins (CodeIntel and MagnetoIntel)but they give me too much results… For example, when i’m typing something like this

MyClass::getInstance()->

autocomplete give me standart PHP functions with methods of my class and I think it’s give me methods of other classes too. There is some way to filter autocomplete results?

p.s. I’m already switch off standart auto_complete of ST2

p.s.s. sry for my bad english :wink:

0 Likes

#2

I don’t think you can set any filter options yourself, unless you dive into the completions files themselves and change the “scope” part for those completions.
Scopes are a little tricky and (in my opinion) fairly hard to read, but they’re defined in .tmLanguage files that come with the completions.

0 Likes

#3

Thx for advise… I’ll look at this file.

0 Likes