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
Copy file name to clipboardExpand all lines: DEVELOPER.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,13 @@
3
3
4
4
## Development
5
5
6
-
### installing tools needed
7
-
8
-
TODO some commands/packages
6
+
### Recommended setup
7
+
1. Install Eclipse IDE for Eclipse Committers 2024-03
8
+
2. Install CDT
9
+
3. Install JDK 21
10
+
4. Set up Eclipse and PDE launch config to use your JDK 21 install
11
+
5. Import repo as 'Existing Maven Project'
12
+
6. Activate latest target version (in com.googlecode.cppchecklipse.target/)
9
13
10
14
### build
11
15
@@ -17,7 +21,12 @@ TODO command
17
21
18
22
### testing plugin in eclipse
19
23
20
-
TODO write description
24
+
If you have set up everything as recommended above, all you need to do to test locally is to create a run config.
25
+
26
+
The run config should be an Eclipse Application launch that is set to 'run a product'.
27
+
Under the plug-ins tab you should set it to launch with 'All workspace and enabled target Plug-ins', and click 'validate plug-ins' before running.
28
+
29
+
With the run config create you should be able to simply press 'run' and test out the plug-in. Note that you will need to set the path to your cppcheck executable in the test environment for the analysis to be able to run.
0 commit comments