Code analysis & corrections << Back to feature overview
On-the-fly error detection  
Create method from usage  
Correct between . and ->  
Auto-detect missing includes  
 
 
On-the-fly error detection

With on-the-fly error checking you can instantly view errors and warnings in code, as you are editing it. The frequency at which files are checked and a custom error level can be set from the CodeEnahnce->Settings->Syntax Checking options page. Clicking on the status icon of the marker bar rechecks the current file's syntax.

Create method from usage

Whenever a call is made to a method that is not declared, CodeEnhance will suggest creating the method as a fix. Executing the fix will create a declaration and a definition for the method.

Auto-detect missing includes

Whenever using a symbol that is declared in a file not included in the current compilation unit, CodeEnhance suggests including the declaration file as a fix.

Correct between . and ->

When appropriate CodeEnhance automatically converts -> to . and vice versa. To reverse the correction press undo( Ctrl+Z ).