You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a C/C++ code analysis plugin for Eclipse that shows bugs detected by the [Clang Static Analyzer](http://clang-analyzer.llvm.org/) and [Clang Tidy](http://clang.llvm.org/extra/clang-tidy/) analyzers.
5
4
6
-
# Requirements
5
+
This is a C/C++ code analysis plugin for Eclipse that shows bugs detected by the [Clang Static Analyzer](http://clang-analyzer.llvm.org/) and [Clang Tidy](http://clang.llvm.org/extra/clang-tidy/) analyzers, using [CodeChecker](https://github.com/Ericsson/codechecker) as a backend,
The plugin is activated on a per project basis, first you have to add the CodeChecker Nature to a CDT project using it's context menu in the project explorer.
41
+
The plugin is activated on a per project basis, first you have to add the __CodeChecker Nature__ to a CDT project using the projects context menu in the project explorer with `Add CodeChecker Nature` command.
59
42
60
43

61
44
62
45
#### 3. Configure CodeChecker and checkers
63
-
After that, the settings can be customized in the project preferences window under the CodeChecker panel. For the plugin to work correctly, it is mandatory to add the correct path to the root of the CodeChecker package. You can download CodeChecker from [here](https://github.com/Ericsson/codechecker).
46
+
After that, the settings can be customized in the project preferences window under the CodeChecker panel. For the plugin to work correctly, it is mandatory to add the correct path to the root of the CodeChecker package. You can download and compile CodeChecker from [here](https://github.com/Ericsson/codechecker).
@@ -69,19 +52,17 @@ After the plugin is successfully configured for a project, it'll listen to build
69
52
70
53
#### 4. Set up eclipse C/C++ build environment
71
54
72
-
The runs only if your project can be built by Eclipse (as it intercepts gcc build commands).
55
+
The code analysis runs only if your project can be built by Eclipse (as it intercepts gcc build commands).
73
56
Please check that your builder is set up correctly in properties/C/C++ Build settings.
74
57
If all goes well, you should be able to build your project from Eclipse using the Project/Build Project menu item.
75
58
76
59
#### 5. Analyze C/C++ project and view results
77
-
By default it displays the problems related to the currently selected file on the problems view, and the details for a selected bugpath in the Details view. Selecting a problem or jumping to a details item is possible with double clicking on it.
60
+
By default the plugin displays the problems related to the currently selected file on the current file reports view. Here the viewer can decide to check the individual reports selected from the reports tree, and view the related bugpath. Double clicking on a bugpath item will jump and set the cursor to that line in the editor.
78
61
79
62
*Please note that codechecker will only show analysis results for files that you built. This means that if you want to see all bugs for your project you will need to do a full (clean) build. After you update a source file, analysis results will be updated when you rebuild your project.*
80
63
81
-
The problems view can be customized: it supports custom search options with a filter editor, where saving or loading filters is also possible.
82
-
83
64

84
65
85
-
## Troubleshooting and Development
66
+
## Contributing
86
67
87
68
For further information see [developer documentation](docs/developer.md).
0 commit comments