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 {
256256 export const RUNTIME_VALIDATION_OPEN = 'java.runtimeValidation.open' ;
257257
258258 export const RESOLVE_WORKSPACE_SYMBOL = 'java.project.resolveWorkspaceSymbol' ;
259+
260+ export const GET_WORKSPACE_PATH = '_java.workspace.path' ;
259261}
Original file line number Diff line number Diff line change @@ -377,6 +377,8 @@ export function activate(context: ExtensionContext): Promise<ExtensionAPI> {
377377
378378 context . subscriptions . push ( commands . registerCommand ( Commands . CLEAN_WORKSPACE , ( ) => cleanWorkspace ( workspacePath ) ) ) ;
379379
380+ context . subscriptions . push ( commands . registerCommand ( Commands . GET_WORKSPACE_PATH , ( ) => workspacePath ) ) ;
381+
380382 context . subscriptions . push ( onConfigurationChange ( workspacePath ) ) ;
381383
382384 /**
You can’t perform that action at this time.
0 commit comments