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

Autocompletion includes thousands of irrelevant entries #346

Closed
MichelSimar opened this issue Sep 18, 2024 · 1 comment
Closed

Autocompletion includes thousands of irrelevant entries #346

MichelSimar opened this issue Sep 18, 2024 · 1 comment

Comments

@MichelSimar
Copy link

Hi All,

We are working with a large legacy codebase written in ObjectScript, and we've encountered a frustrating issue with the autocomplete feature in VS Code.

Currently, autocomplete suggests variables that are not in scope, which leads to counterproductive behavior.

At this point, autocomplete provides suggestions from all local variables present in our entire codebase, which spans a million lines of code. This includes variables that are not in scope within the current context.

This issue is particularly problematic when common single-character variables such as d and q appear in suggestions. It becomes cumbersome to type statements ending with uppercase letters such as D or Q because the autocomplete interferes.

vscode

Is there a way to configure the autocomplete to only suggest variables that are currently in scope?

Best regards,
Michel, Simar automatisering

@isc-bsaviano
Copy link
Contributor

@MichelSimar These suggestions are coming from VS Code itself, and not from this extension. There may be a VS Code setting to turns those off but I'm not sure.

@isc-bsaviano isc-bsaviano closed this as not planned Won't fix, can't repro, duplicate, stale Sep 30, 2024
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