Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » [PROPOSAL] CppCheck support
[PROPOSAL] CppCheck support [message #59544] |
Sun, 22 January 2023 18:00 |
Oblivion
Messages: 1170 Registered: August 2007
|
Senior Contributor |
|
|
Hi,
I've been using CppCheck for a long time, and found it very useful. It is a very popular free static analyzer tool with lots of features and it is easy to integrate.
While its own parser is very good, it also provides an experimental clang AST backend, so it is very flexible.
I am currently integrating it with theIDE, and the integration is very smooth. So I am proposing to add cppcheck support to TheIDE.
My Plan is to make it available to public before U++ 2023 1, in a usable/stable state.
What it requires.
0. CppCheck binary.
1. A single file in TheIDE's codebase (CppCheck.cpp)
2. Detection of CppCheck binary (HasCppCheck() function)
3. A settings pane, in theIDE's settings dialog (will be available only if the binary is detected).
4. Color entries in (Settings/Syntax Highligting pane) for CppCheck error severity types (style, warning, performance, portability, etc.)
5. It will have the ability to check
a) A single file
b) A package
c) Workspace (all packages)
This will require adding menu and toolbar entries when cppcheck binary is detected.
(Similar to existing "Compile $FILENAME" or "Build $PACKAGE" entries -> "Analyze $PACKAGE)
See the below screenshot for a working version (initial)
I will create a branch (theide_cppcheck) in my fork of upp and make the source code available so others can participate.
What do you think?
Best regards
Oblivion,
Github page: https://github.com/ismail-yilmaz
upp-components: https://github.com/ismail-yilmaz/upp-components
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
|
|
|
|
|
[PROPOSAL] CppCheck support
By: Oblivion on Sun, 22 January 2023 18:00
|
|
|
Re: [PROPOSAL] CppCheck support
By: koldo on Mon, 23 January 2023 08:20
|
|
|
Re: [PROPOSAL] CppCheck support
By: Oblivion on Sat, 04 February 2023 11:54
|
|
|
Re: [PROPOSAL] CppCheck support
By: deep on Sat, 04 February 2023 13:38
|
|
|
Re: [PROPOSAL] CppCheck support
By: Klugier on Sat, 04 February 2023 21:10
|
|
|
Re: [PROPOSAL] CppCheck support
By: Oblivion on Sat, 04 February 2023 22:05
|
|
|
Re: [PROPOSAL] CppCheck support
By: Oblivion on Sun, 05 February 2023 00:26
|
|
|
Re: [PROPOSAL] CppCheck support
By: Oblivion on Sun, 05 February 2023 15:08
|
|
|
Re: [PROPOSAL] CppCheck support
By: Oblivion on Sat, 11 February 2023 23:55
|
|
|
Re: [PROPOSAL] CppCheck support
By: Oblivion on Wed, 19 April 2023 00:06
|
|
|
Re: [PROPOSAL] CppCheck support
By: Oblivion on Thu, 20 April 2023 21:40
|
|
|
Re: [PROPOSAL] CppCheck support
By: Oblivion on Sun, 23 April 2023 18:14
|
|
|
Re: [PROPOSAL] CppCheck support
By: Oblivion on Sat, 29 April 2023 13:36
|
|
|
Re: [PROPOSAL] CppCheck support
By: deep on Sun, 08 September 2024 11:26
|
|
|
Re: [PROPOSAL] CppCheck support
By: Oblivion on Sun, 08 September 2024 13:03
|
|
|
Re: [PROPOSAL] CppCheck support
By: deep on Sun, 08 September 2024 20:08
|
Goto Forum:
Current Time: Fri Jan 17 21:25:49 CET 2025
Total time taken to generate the page: 0.02923 seconds
|