Sublime Forum

Is there a maximum amount of time a lint can take in SublimeLinter

#1

I’m using SublimeLinter for C++ files using cppcheck. For small source files, it works great.

When I run it on a larger file, however, it behaves strangely. When I run the cppcheck command in the shell, it takes 0.6 sec, so not instantaneous, but not a long time. I have debugging turned on in SublimeLinter, and what I see is that after it runs the command, it waits about 40 seconds before anything happens. Then, I see the (correct) output of cppcheck in the console window (from the logging), but SublimeLinter seems to throw it away. The output panel says no lint results, and nothing is marked in the source file. I have not touched the view in the meantime, so it should not be inconsistent.

If I run the identical configuration on something small, it works fine.

Is there some sort of setup I’m missing?

0 Likes