Java platform support for Visual Studio Code for full featured Java development (edit-compile-debug & test cycle)
231
stars
31
forks
source link
JAVAVSCODE-196 Run Configuration section is unavailable in the Explorer panel for non-workspace opened Java files #206
Closed
sid-srini closed 4 months ago
Fixes #196
Fixed runConfiguration.ts:
initializeRunConfiguration()
to search for java files in open editors when no workspace is open.vscode.workspace.name
ANDvscode.workspace.workspaceFile
.vscode.workspace.textDocuments
when no workspace is open.RunConfigurationNode.setValue()
to invokeWorkspaceConfiguration.update()
withconfigurationTarget =
:true
: when no workspace is open i.e. user global target;null
: otherwise i.e. workspace target.