johnthagen / clion-cppcheck

:ballot_box_with_check: cppcheck plugin for CLion
https://plugins.jetbrains.com/plugin/8143-cppcheck/
MIT License
31 stars 6 forks source link

Update Build Documentation for IntelliJ 2023.3.0 #92

Open johnthagen opened 11 months ago

johnthagen commented 11 months ago

I trying to do a release for #91, I checked out the repo and install IntelliJ 2023.3.0. I followed the steps at https://jetbrains.org/intellij/sdk/docs/basics/getting_started/setting_up_environment.html and

When I try to build the plugin, I get build errors:

clion-cppcheck\src\com\github\johnthagen\cppcheck\Configuration.java:3:36
java: package com.intellij.openapi.options does not exist
Screenshot 2023-12-07 205711

@firewave Do the build instructions need updated? I know that the guts of this plugin haven't been updated in a long time (e.g., #69 would be ideal). Are you still able to build it on a clean install of IntelliJ 2023.3.0?

firewave commented 11 months ago

Same issue here. I haven't build it in a while and the last version I used was 2023.1.

It looks like you now need a Gradle-based project to build it.

Maybe just for getting this update out could you install 2023.1 again? I will tackle the update to Gradle as my next task for the plugin then.

johnthagen commented 11 months ago

@firewave Thanks for the tip. I was able to build the plugin using 2023.1.5.

1.6.3 has been uploaded and is awaiting moderation from the JetBrains teams. The notice says this may take up to two business days.

firewave commented 11 months ago

I found the issue. You simply need to add a new Plugin SDK as they split off some code into separate JAR files and they are missing if you have an existing SDK.

johnthagen commented 11 months ago

If you are able to update the README here: https://github.com/johnthagen/clion-cppcheck?tab=readme-ov-file#development

that would be awesome.