File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -256,4 +256,6 @@ export namespace Commands {
256
256
export const RUNTIME_VALIDATION_OPEN = 'java.runtimeValidation.open' ;
257
257
258
258
export const RESOLVE_WORKSPACE_SYMBOL = 'java.project.resolveWorkspaceSymbol' ;
259
+
260
+ export const GET_WORKSPACE_PATH = '_java.workspace.path' ;
259
261
}
Original file line number Diff line number Diff line change @@ -377,6 +377,8 @@ export function activate(context: ExtensionContext): Promise<ExtensionAPI> {
377
377
378
378
context . subscriptions . push ( commands . registerCommand ( Commands . CLEAN_WORKSPACE , ( ) => cleanWorkspace ( workspacePath ) ) ) ;
379
379
380
+ context . subscriptions . push ( commands . registerCommand ( Commands . GET_WORKSPACE_PATH , ( ) => workspacePath ) ) ;
381
+
380
382
context . subscriptions . push ( onConfigurationChange ( workspacePath ) ) ;
381
383
382
384
/**
You can’t perform that action at this time.
0 commit comments