mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-15 02:48:30 -05:00
Load all data workspace projects directly from workspace (#15921)
* Load all projects directly from workspace * fixes * Remove relativity and fix tests * fix compile * PR comments * remove unused * distro
This commit is contained in:
13
extensions/data-workspace/src/dataworkspace.d.ts
vendored
13
extensions/data-workspace/src/dataworkspace.d.ts
vendored
@@ -18,14 +18,13 @@ declare module 'dataworkspace' {
|
||||
* Returns all the projects in the workspace
|
||||
* @param ext project extension to filter on. If this is passed in, this will only return projects with this file extension
|
||||
*/
|
||||
getProjectsInWorkspace(ext?: string): vscode.Uri[];
|
||||
getProjectsInWorkspace(ext?: string): Promise<vscode.Uri[]>;
|
||||
|
||||
/**
|
||||
* Add projects to the workspace
|
||||
* @param projectFiles Uris of project files to add,
|
||||
* @param workspaceFilePath workspace file to create if no workspace is open
|
||||
* @param projectFiles Uris of project files to add
|
||||
*/
|
||||
addProjectsToWorkspace(projectFiles: vscode.Uri[], workspaceFilePath?: vscode.Uri): Promise<void>;
|
||||
addProjectsToWorkspace(projectFiles: vscode.Uri[]): Promise<void>;
|
||||
|
||||
/**
|
||||
* Change focus to Projects view
|
||||
@@ -53,12 +52,6 @@ declare module 'dataworkspace' {
|
||||
*/
|
||||
getProjectTreeDataProvider(projectFile: vscode.Uri): Promise<vscode.TreeDataProvider<any>>;
|
||||
|
||||
/**
|
||||
* Notify the project provider extension that the specified project file has been removed from the data workspace
|
||||
* @param projectFile The Uri of the project file
|
||||
*/
|
||||
RemoveProject(projectFile: vscode.Uri): Promise<void>;
|
||||
|
||||
/**
|
||||
*
|
||||
* @param name Create a project
|
||||
|
||||
Reference in New Issue
Block a user