Is it possible to configure sublime so it doesn’t suggest me function names if I start with a dollar sign?
Sublime not suggesting PHP variables
Install https://packagecontrol.io/packages/LSP which integrates Sublime Text with Language Server Protocol.
You’ll need to configure server for interpreting PHP language. Here you can find more details on how to configure it https://lsp.readthedocs.io/en/latest/
Although above mentions 2 LSP servers for PHP, I found another one which seems to work the best for me https://github.com/tsufeki/tenkawa-php-language-server
Thanks. I will give this a try. I noticed that sublime is able to suggest variables (at least in this simple example I have created) but it somehow prioritize the snippets over other suggestions… I think we should be able to disable the snippets if the line starts with $ sign.
Visual code is handling it better, maybe because of the PHP intellisense.
The exactly same PHP intellisense you can have with Sublime, by following instructions on my previous comment.
Regards snippets, the LSP have a setting which will allow you to hide snippets and other default completitions:
"only_show_lsp_completions": true,