Latex-workshop: Linter is not working properly

Created on 4 Apr 2017  路  11Comments  路  Source: James-Yu/LaTeX-Workshop

Linter is always active even when "latex-workshop.linter" is set to false. Also when I change any of the Linter cmds. i.e. adding "-n1" or add kind of flags still shows up that warning.

Regards, Jos茅

Most helpful comment

Now it works 馃憤 . It seams the exists some lag between changing settings and seeing the results.
Also there is a option to hide the .tmp log file in the problem panel ?

All 11 comments

Can you please try again with all LaTeX Workshop settings to default? I cannot reproduce the problem.

Also, what is the version of the extension?

I'm thinking you are probably on older than v1.2.2 @jose-a-sa which contains a bug where the linter wouldn't respect the "latex-workshop.linter" flag, apologies for that.

An update to latest should fix it, but if you could confirm for is that would be really helpful! 馃憤

@James-Yu i have the latest version of vscode and latex-workshop.

Thanks

@jose-a-sa I cannot reproduce the problem. More information about settings and local configurations are needed.

Hi @jose-a-sa,

Yeah we're going to need some more details to get this fixed then as we can't reproduce.

So if you could let us know:

  1. What platform you are on
  2. The version of LaTeX Workshop reported in the Extension panel
  3. A screenshot of the chktex errors you seen (e.g. the problems panel)
  4. A copy of your workspace/user settings related to "latex-workshop.*"

We can chase this down!

Thanks

Sorry, now I ve seen that the problem was solved for "latex-workshop.linter" when set to false.
Still when set to true I have type 1 warnings, even with the flag -n1
sem titulo

@jose-a-sa ah OK great!

Try placing the flags for the -nX ignore statements in different strings in the array, so:

"latex-workshop.linter_command_active_file": [
        "chktex",
        "-wall",
        "-n1",
        "-n22",
        "-n30",
        "-e16",
        "-q",
        "-I0",
        "-f%f:%l:%c:%d:%k:%n:%m\n"
    ],

It could be that -wall is also 'winning out' and overriding the -n flags, so you could try removing that statement too...

Now it works 馃憤 . It seams the exists some lag between changing settings and seeing the results.
Also there is a option to hide the .tmp log file in the problem panel ?

Temp file in log will be addressed shortly. It will be accessible from the new quick menu.

The settings change should take effect the next time a lint is run - so for instance the next time you type a little and pause.

Glad it's working for you!

Thank you a lot. Your extension is awesome 馃

Was this page helpful?
0 / 5 - 0 ratings