Does Linux have a C / C ++ editor that shows typing errors

Visual C ++ Editor has an excellent function, which means that when printing code, it underlines the errors with a red line. For example, if you use a variable that is not declared, it will underline it with a red curly line. Thus, the programmer can resolve many typing errors and does not have to wait for compilation to notice them.

Now my question is: is there any editor for Linux that has this great feature?

+5
source share
4 answers

Kdevelop4 has some features that you requested. For example, it will underline undeclared variables with yellow and underlined files that cannot be found in red. But, in my opinion, it currently provides MSVS2010 in this function.

+3
source

Vimhas a plugin called c.vim. It allows you to check the syntax for C and C ++.
You can learn more about this in the support file and this tutorial .

I think this is the closest thing that I know what you want to use editor.
If instead you include the IDE in the editor, then Netbeansthey Ecliseoffer this functionality.

+3
source

"" , Clang Complete vim.

The plugin uses Clang under the hood to provide real-time feedback on errors and automatic completion.

You need to download / install Clang separately.

+2
source

On linux, you can use ClangComplete for sublime text 3. It provides diagnostics, autocomplete and navigation (for example, goto definition), and it integrates well with CMake (although it does not require CMake).

0
source

All Articles