formulahendry/vscode-code-runner

Running Java code with packages

Open

#169 opened on Aug 25, 2017

View on GitHub
 (1 comment) (0 reactions) (0 assignees)TypeScript (343 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (2,408 stars)
PR merge metrics
 (PR metrics pending)

Description

While Code runner runs java code which has default package, it fails to run if package is specified. What is needed is relative path of the .class file from {$workspaceRoot}, i.e, even if we select the file, it should switch to workspaceRoot as cwd and then issue java org.name.class

Contributor guide