-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[php] Ability to turn off PHP autocompletion by VSCode #9003
Comments
It should be possible to uninstall the VS Code php extension. |
@joaomoreno fyi |
I think crane still uses vscode's syntax highlighter for PHP. So if one were to remove VSCode's internal PHP extension, would it also remove the syntax highlighter? P.S. I think simple options would suffice, e.g. "php.vscode.autocomplete", so it could be turned off. |
Yes - but we can also think about splitting our extension into one part that does highlighting and bracket config and another that does completions. That would allow for more freedom. |
This is now annoying the testing of proper language server in here : felixfbecker/php-language-server#165 Quote:
P.S. I think the option would be a simplest thing to implement for now. |
Related #16586 |
Any update on this? |
I have been holding back the PHP IntelliSense release with intelligent completion for over a month now because it is useless if VS Code just spams the completion list with countless functions that do not make sense in the context. When will we get the option to disable or uninstall the built-in PHP completion? |
I agree it makes sense to provide a temporary option to disable this. Just submitted a PR here: #19015 |
…ompletion provider. This option enables extension authors providing PHP support to prevent needless duplication in the completions list. We can remove it when we extract this functionality to a separate extension.
Also @felixfbecker, just checking - at this point in time, is there anything else about the built-in support that is interfering with the experience? (hover, signature help, etc.?) |
@mousetraps thanks for looking into this. Signature help is being implemented right now, iirc there is no built-in hover. It would be great if all of them could be disabled (everything except syntax highlighting). |
#9003 Provide temporary option to disable the built-in PHP completion provider
I pushed the PR and changes the setting name for the code completion to "php.suggest.basic". |
I don't think the |
@ADmad I don't think this is related, this only removes the built-in completion provider. |
So something else which controls the display of suggestions list from extensions like php intellisense is broken? |
Part of the January build. |
There is now a better Intellisense plugins for Vscode PHP: vscode-php-intellisense and crane.
In it's known issues it says "There may be duplicate suggestions for functions or variables. This is because VS Code has it's own (very limited) code-completion support for PHP, and there is currently no way to turn this off."
This indeed is annoying, the vscode suggestions are too broad and are just noise compared to accurate entries by crane.
The text was updated successfully, but these errors were encountered: