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

Fast way to disable extension? #166

Open
pSpitzner opened this issue Jan 8, 2025 · 0 comments
Open

Fast way to disable extension? #166

pSpitzner opened this issue Jan 8, 2025 · 0 comments

Comments

@pSpitzner
Copy link

Hi all,

thanks for this great extension, its become an unreplaceable tool for me!

I am currently trying to establish a consistent code style at work, mainly by promoting sqlfluff.
Because we deal with a lot of legacy code, dbt, and the final convention is not established yet, we often cannot get a certain file to comply with sqlfluff. For now, that's okay and part of the transition process.

What would really help in those cases is to be able to disable the linting, either by toggeling the whole extension, or just for the currently open file. However, I have not found a convenient way to do this, say via a UI Button (in the status bar), or via the command palette. So far, my workaround has been to either add -- noqa: disable=all or to go the extension settings and disable there.

Am I missing something obvious, or does anyone have a better workaround?
In any case, this might be a useful feature to have. I could start a PR but havent worked on vs code extensions yet, so some starting clues would be needed!

Cheers,
p

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

1 participant