mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
name it getWorkspaceFolder, #28526
This commit is contained in:
@@ -367,8 +367,8 @@ export function createApiFactory(
|
||||
set rootPath(value) {
|
||||
throw errors.readonly();
|
||||
},
|
||||
getContainingWorkspaceFolder(resource) {
|
||||
return extHostWorkspace.getEnclosingWorkspaceFolder(resource);
|
||||
getWorkspaceFolder(resource) {
|
||||
return extHostWorkspace.getWorkspaceFolder(resource);
|
||||
},
|
||||
get workspaceFolders() {
|
||||
// proposed api
|
||||
|
||||
Reference in New Issue
Block a user