Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSCode environment #86

Open
vincentsijben opened this issue Apr 4, 2025 · 0 comments
Open

VSCode environment #86

vincentsijben opened this issue Apr 4, 2025 · 0 comments

Comments

@vincentsijben
Copy link
Contributor

vincentsijben commented Apr 4, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant