Add an auto_complete_selector
rwols opened this issue · comments
Raoul Wols commented
The trigger chars of this server are:
['$', '>', ':', '\\', '/', '*', '.', '<']
I have noticed that if I type self::
, then ST will already show the AC at self:
. Since self::
is scoped greedily as punctuation.accessor
, you can add an auto_complete_selector in LSP-intelephense.sublime-settings:
"auto_complete_selector": "punctuation.accessor"
This likely misses out on other trigger position though. I am not familiar enough with the PHP language to understand for example in what scope you want to trigger the >
character or the *
character. Maybe you can improve this.