Sublime Forum

Underline compiling error line

#1

Hi everyone,

I’m compiling C++ code and I would like to see the error underlined in my code so that I see them straight away. Is is possible ? I have loads of error in the output so it would be so helpful (I right now do a compilation and then F4 to go to the next error).

Thx

0 Likes

#2

Install the Sublime​Linter and the Sublime​Linter-cppcheck package.
Checkout
sublime.wbond.net/packages/Subl … r-cppcheck
or
github.com/SublimeLinter/SublimeLinter-cppcheck
for installation detasils.

The package is based on cppcheck, so you need that as well.
cppcheck.sourceforge.net/

When you got it up and running, you can change the markstyle of SublimeLinter to underline.
This can be done in the menu: Tools>SublimeLinter>Mark Style

Hope this helps?

0 Likes