Skip to content

Commit 3647e47

Browse files
authored
Merge pull request #34 from cppchecksolutions/maintenance/updated_developer_notes_to_aid_setup
maintenance / updated developer notes to aid setup
2 parents 849bbaf + 861b88e commit 3647e47

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

DEVELOPER.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@
33

44
## Development
55

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/)
913

1014
### build
1115

@@ -17,7 +21,12 @@ TODO command
1721

1822
### testing plugin in eclipse
1923

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.
2130

2231
## release process
2332

0 commit comments

Comments
 (0)