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

[Feature] Show rule name in Problems tab #134

Closed
aleix-cd opened this issue Apr 17, 2024 · 2 comments
Closed

[Feature] Show rule name in Problems tab #134

aleix-cd opened this issue Apr 17, 2024 · 2 comments

Comments

@aleix-cd
Copy link

aleix-cd commented Apr 17, 2024

Is there an existing issue for this?

No

Describe the issue

When linting errors pop up in the Problems tab in VSCode, only the rule code is returned.

E.g.
Expected indent of 4 spaces. sqlfluff(LT02) [Ln 83, Col 1]

Relevant screenshot

image

Expected behaviour

Since we can now use the rule name in our noqa comments to disable rules (e.g. noqa: disable=layout.indent), it would be much easier to show the rule name in the Problems tab as well.

Example of how the Problems output could look like:
Expected indent of 4 spaces. sqlfluff(LT02: layout.indent) [Ln 83, Col 1]

Are you willing to open a PR to help address this issue?

Yes, but I'd probably need assistance

@RobertOstermann
Copy link
Contributor

@aleix-cd This should be updated in v3.1.1

@aleix-cd
Copy link
Author

Just tested it, wonderful! Thanks a lot ❤️

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