Skip to content
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

setting or option to hide "private" variables from autocompletion outside of class #798

Closed
iampeternguyen opened this issue Feb 16, 2025 · 1 comment
Labels
enhancement language server Issue is not originating from this extension, but from the LSP instead

Comments

@iampeternguyen
Copy link

Godot version

4.3.stable

VS Code version

1.97.2

Godot Tools VS Code extension version

2.3.0

System information

Zorin OS 17.2

Problem statement

Image

Currently, when accessing an instance outside of the defining class, I get auto-completion for "private" variables. Would be nice if there was a setting to hide all instance._variable properties from autocompletion

Proposed solution

N/A

@DaelonSuzuka DaelonSuzuka added the language server Issue is not originating from this extension, but from the LSP instead label Feb 22, 2025
@DaelonSuzuka
Copy link
Collaborator

Those completions are not generated by this extension, they come from the Language Server which is a component of the engine.

it's sort of possible to intercept and modify the completion results inside this extension, but there isn't enough information to filter these items in a way that's remotely correct.

@DaelonSuzuka DaelonSuzuka closed this as not planned Won't fix, can't repro, duplicate, stale Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement language server Issue is not originating from this extension, but from the LSP instead
Projects
None yet
Development

No branches or pull requests

2 participants