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

Add extension setting to toggle undefined variable warning for global variables #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

okesokes
Copy link

Added an extension setting to toggle undefined global variable warnings on and off, as sometimes the 'Possibly undefined variable' warning for global variables with its underlining clutters the code and VS Code 'Problems' list.

The default setting is 'false', i.e. "don't show undefined global variable warnings" as this is most likely the preferred one for most developers.

@SkaceKamen
Copy link
Owner

SkaceKamen commented Feb 9, 2024

I personally think this should be ignoreGlobalUndefinedVars and should default to false. What's your use case, why do you have an issue with undefined global variables?

In my projects this is usually fine.

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

Successfully merging this pull request may close these issues.

3 participants