mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
data workspace review feedback implementation (#12489)
* add a view to handle no workspace scenario * text update * project type filter improvement * fix the project level context menu issue * update strings
This commit is contained in:
@@ -11,4 +11,5 @@ export const ExtensionActivationErrorMessage = (extensionId: string, err: any):
|
||||
export const UnknownProjectsErrorMessage = (projectFiles: string[]): string => { return localize('UnknownProjectsError', "No provider was found for the following projects: {0}", projectFiles.join(EOL)); };
|
||||
|
||||
export const SelectProjectFileActionName = localize('SelectProjectFileActionName', "Select");
|
||||
export const AllProjectTypes = localize('AllProjectTypes', "All Project Types");
|
||||
|
||||
|
||||
@@ -70,18 +70,3 @@ export interface IWorkspaceService {
|
||||
*/
|
||||
readonly onDidWorkspaceProjectsChange: vscode.Event<void>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents the item for the workspace tree
|
||||
*/
|
||||
export interface WorkspaceTreeItem {
|
||||
/**
|
||||
* Gets the tree data provider
|
||||
*/
|
||||
treeDataProvider: vscode.TreeDataProvider<any>;
|
||||
|
||||
/**
|
||||
* Gets the raw element returned by the tree data provider
|
||||
*/
|
||||
element: any;
|
||||
}
|
||||
|
||||
@@ -4,8 +4,9 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import * as vscode from 'vscode';
|
||||
import { IWorkspaceService, WorkspaceTreeItem as WorkspaceTreeItem } from './interfaces';
|
||||
import { IWorkspaceService } from './interfaces';
|
||||
import { UnknownProjectsErrorMessage } from './constants';
|
||||
import { WorkspaceTreeItem } from 'dataworkspace';
|
||||
|
||||
/**
|
||||
* Tree data provider for the workspace main view
|
||||
|
||||
Reference in New Issue
Block a user