Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: kakas on April 08, 2024, 08:26:56 am
-
When I write gibberish in the editor and save the file. Code Blocks doesn't seem to be aware of the error.
It's only when I try to build the project it gives an error. That too just a mark on the corresponding line in the editor and not the specific word.
I don't know if I am supposed to install some external extension or simple turn on something in the settings.
I searched up this problem and visited multiple issues, but they were all about syntax highlighting issues.
(Idk how attaching images to post works, I tried)
-
Hate to say that, but highlighting is not a spellchecking. It is just enhance readability of the code, nothing more.
You can detect errors in C/C++ only by compiler or tools like lint.
-
Is there anyway to get code blocks to highlight/underline specific errors in editor before compiling?
-
Is there anyway to get code blocks to highlight/underline specific errors in editor before compiling?
You might want to look at the CodeBlocks Nightly builds section. It contains CodeBlocks with a Clangd_client plugin which marks error in the left margin when you save a file.
https://forums.codeblocks.org/index.php/board,20.0.html
See this in order to enable it:
https://wiki.codeblocks.org/index.php/CB_Clangd_Client
-
Is there anyway to get code blocks to highlight/underline specific errors in editor before compiling?
You might want to look at the CodeBlocks Nightly builds section. It contains CodeBlocks with a Clangd_client plugin which marks error in the left margin when you save a file.
https://forums.codeblocks.org/index.php/board,20.0.html
See this in order to enable it:
https://wiki.codeblocks.org/index.php/CB_Clangd_Client
Thanks :D!!!