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

Does not product linter in Problems console tab consistently #84

Open
ausiddiqui opened this issue Feb 17, 2023 · 3 comments
Open

Does not product linter in Problems console tab consistently #84

ausiddiqui opened this issue Feb 17, 2023 · 3 comments

Comments

@ausiddiqui
Copy link

    "sqlfluff.config": "/Users/ash/Documents/dev/sqlfluff/.sqlfluff",
    "sqlfluff.dialect": "snowflake",
    "sqlfluff.excludeRules": [
        "L031"
    ],
    "sqlfluff.executablePath": "/Users/ash/miniconda3/envs/py37/bin/sqlfluff",
    "sqlfluff.ignoreLocalConfig": false,
    "sqlfluff.ignoreParsing": false,
    "sqlfluff.suppressNotifications": false,
    "sqlfluff.workingDirectory": "",
    /* Linter */
    "sqlfluff.linter.arguments": [],
    "sqlfluff.linter.run": "onType",
    "sqlfluff.linter.diagnosticSeverity": "error",
    /* Formatter */
    "sqlfluff.format.arguments": [
        "--FIX-EVEN-UNPARSABLE"

Using these settings on VS Code I'm unable to consistently get the problem tab at the bottom (next to output, terminal etc). I use the Cmd + Shift + P option to run SQLFluff Lint and SQLFluff Fix. They work on and off. I have tried on both unsaved files and saved files.

@RobertOstermann
Copy link
Contributor

Does the output tabs channel SQLFluff show if the extension is running commands when you would expect it to?

@ausiddiqui
Copy link
Author

Not sure how it is supposed to display that. The Problems tab in the Panel at the bottom of VScode will usually show the SQLFluff Lint issues after a while. But SQLFluff Fix does nothing.

@RobertOstermann
Copy link
Contributor

The output tab in the panels at the bottom should show a channel for SQLFluff. You could check that channel and make sure the commands are running when you expect them to, that would help me narrow down where the problem is.

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