Skip to content

VSCode environment #86

Description

@vincentsijben

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions