10000 Incorrect completion of annotations beginning with `@` · Issue #2752 · phpactor/phpactor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Incorrect completion of annotations beginning with @ #2752

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

Open
charjr opened this issue Oct 3, 2024 · 1 comment
Open

Incorrect completion of annotations beginning with @ #2752

charjr opened this issue Oct 3, 2024 · 1 comment

Comments

@charjr
Copy link
charjr commented Oct 3, 2024

Issue

When writing a docblock, if I type @p and then try to use completion I will get @@param.

This applies to any annotation, if I simply type @ every suggestion ends up having @@.

This may not be a phpactor issue and may be related to my set up but the step to reproduce is simple, try to complete any annotation at all by starting with an @.

Specific Setup When Encountering Issue

Emacs, using PHP-mode, with eglot using phpactor.

@rtoi
Copy link
rtoi commented Jan 16, 2025

Same problem here with Helix ver. 25.1.
Setting language_server_completion.trim_leading_dollar": true helped to disable two dollars in variables, but there seems to be no way to prevent completion to return two "@"s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0