processing-library-template icon indicating copy to clipboard operation
processing-library-template copied to clipboard

VSCode environment

Open vincentsijben opened this issue 9 months ago • 0 comments

I'm trying to set up VSCode as the IDE for using this library template. I only get it to work when adding a settings.json file with

    "java.classPath": [
        "/Applications/Processing.app/Contents/Java/core/library/core.jar",
        "/Users/vincent.sijben/Docs/Processing/libraries/minim/library/minim.jar",
        "/Users/vincent.sijben/Docs/Processing/libraries/arduino/library/arduino.jar"
    ]

inside. If I don't, VSCode tells me there are errors when running the Gradle tasks. Because all my import statements in my java files generate errors:

Image

Is that something I did wrong, or is this necessary for VSCode to be able to run this Gradle project? If so, maybe that could be included somewhere in the docs (or a tutorial) for new users wanting to use VSCode for it.

I've tried correcting it (without the classPath solution) in the build.gradle.kts file with compileOnly or implementation lines, but nothing seems to work...

vincentsijben avatar Apr 04 '25 18:04 vincentsijben