From 583462c178a431b1330a071552f0b2cf970b6023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 28 Nov 2025 09:55:19 +0100 Subject: [PATCH 1/3] Add DEVELOPER.md for developer notes (#25) --- DEVELOPER.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 DEVELOPER.md diff --git a/DEVELOPER.md b/DEVELOPER.md new file mode 100644 index 0000000..36a01e6 --- /dev/null +++ b/DEVELOPER.md @@ -0,0 +1,34 @@ + +# Developer notes + +## Development + +### installing tools needed + +### build + +command + +### run tests locally + +command + +### testing plugin in eclipse + + +## release process + +### git tag and github release + +create a tag in the repo +create a release in github + +### updating files + +download artifact "cppcheclipse-repository" from the github action "Java CI" +unzip the artifact and upload files to https://files.cppchecksolutions.com/cppcheclipse/ folder + +### publish plugin in marketplace + +to make sure that proper version info etc is shown in marketplace.. + From e240dac95643b8346196e6d40f89ebd6540252ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 28 Nov 2025 17:43:49 +0100 Subject: [PATCH 2/3] Tweak DEVELOPER.md (#26) --- DEVELOPER.md | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/DEVELOPER.md b/DEVELOPER.md index 36a01e6..850d5bb 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -5,23 +5,28 @@ ### installing tools needed +TODO some commands/packages + ### build -command +TODO command ### run tests locally -command +TODO command ### testing plugin in eclipse +TODO write description ## release process -### git tag and github release +### version -create a tag in the repo -create a release in github + * Update version in the files see f260c53 + TODO right now this is done manually can it be done more automated? + * create a tag in the repo + * create a release in github ### updating files @@ -30,5 +35,9 @@ unzip the artifact and upload files to https://files.cppchecksolutions.com/cppch ### publish plugin in marketplace -to make sure that proper version info etc is shown in marketplace.. - +to make sure that proper version info etc is shown in marketplace. +https://marketplace.eclipse.org +login +goto cppcheclipse plugin +click on "Edit" button at the top +Add version From d60df59dd2db79e1b346e9c3a3e88e03c79e2a30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Ramner=C3=B6?= Date: Tue, 13 Jan 2026 19:06:03 +0100 Subject: [PATCH 3/3] fix #18 / cppcheck init fail (#28) --- .../com/googlecode/cppcheclipse/ui/ToolchainSettings.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/com.googlecode.cppcheclipse.ui/src/com/googlecode/cppcheclipse/ui/ToolchainSettings.java b/com.googlecode.cppcheclipse.ui/src/com/googlecode/cppcheclipse/ui/ToolchainSettings.java index 461edb7..34550f8 100644 --- a/com.googlecode.cppcheclipse.ui/src/com/googlecode/cppcheclipse/ui/ToolchainSettings.java +++ b/com.googlecode.cppcheclipse.ui/src/com/googlecode/cppcheclipse/ui/ToolchainSettings.java @@ -179,7 +179,12 @@ protected Collection getIncludes(boolean onlyUserDefined) { if (includePathSetting instanceof ACPathEntry) { // let CDT do the resolution for all ACPathEntries which should cover all include settings ACPathEntry includePathEntry = (ACPathEntry) includePathSetting; - includePath = includePathEntry.getLocation().toFile(); + IPath location = includePathEntry.getLocation(); + if (location == null) { + continue; + } + + includePath = location.toFile(); } else { // make path absolute