eclipse-theia/theia

Running a Java program do not start initially when using vscjava.vscode-java-debug-0.22.0.vsix plugin

Open

#6,462 opened on Oct 29, 2019

View on GitHub
 (7 comments) (0 reactions) (0 assignees)TypeScript (2,478 forks)batch import
bughelp wantedjavavscode

Repository metrics

Stars
 (18,676 stars)
PR merge metrics
 (Avg merge 15d 4h) (75 merged PRs in 30d)

Description

Description

Try to run a Java application with redhat.java-0.51.0.vsix, but the run application does not execute until I first open the JAVA file in the editor

Reproduction Steps

Open a workspace with java file Right click on the Java file -> Run --> no output of the execution Open the Java file in the editor -> look at the bottom of the front-end, the compilation and LSP kicks in -> Right click on the Java file again -> Run --> the execution is done, (for as many time you selected the "RUN" command before) and the execution output is shown in "Debug" console view Note: try it in VSCode with the same workspace and when I selected the "Run" command the first time, it executed it

OS and Theia version: Theia: master

Configuration: package.json: remove @theia/java
Plugins installed:
    redhat.java-051.0.vsix
    vscjava.vscode-java-debug-0.22.0.vsix
    vscode-java-dependency-0.6.0.vsix
    vscode-java-test-0.20.0.vsix

Diagnostics: JavaRunNoFileOpen

Contributor guide