Skip to content

Disable code lens for the java file not in the project's classpath #470

Description

image

Hello.java is not in the maven source path src/main/java, so jdt will not persist the corresponding .class file in the target directory. When the user clicks the Run/Debug code lens, it will pop up Error: Could not find or load main class Hello. This sometimes will confuse the user, it's better that the debugger doesn't show the code lens.

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions