Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

VSCode environment #86

Copy link
Copy link
@vincentsijben

Description

@vincentsijben
Issue body actions

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

Reactions are currently unavailable

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.