mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-09 17:52:34 -05:00
Vscode merge (#4582)
* Merge from vscode 37cb23d3dd4f9433d56d4ba5ea3203580719a0bd * fix issues with merges * bump node version in azpipe * replace license headers * remove duplicate launch task * fix build errors * fix build errors * fix tslint issues * working through package and linux build issues * more work * wip * fix packaged builds * working through linux build errors * wip * wip * wip * fix mac and linux file limits * iterate linux pipeline * disable editor typing * revert series to parallel * remove optimize vscode from linux * fix linting issues * revert testing change * add work round for new node * readd packaging for extensions * fix issue with angular not resolving decorator dependencies
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
import Severity from 'vs/base/common/severity';
|
||||
import { createDecorator } from 'vs/platform/instantiation/common/instantiation';
|
||||
import { URI } from 'vs/base/common/uri';
|
||||
import { basename } from 'vs/base/common/paths';
|
||||
import { basename } from 'vs/base/common/resources';
|
||||
import { localize } from 'vs/nls';
|
||||
import { FileFilter } from 'vs/platform/windows/common/windows';
|
||||
import { ITelemetryData } from 'vs/platform/telemetry/common/telemetry';
|
||||
@@ -66,6 +66,12 @@ export interface ISaveDialogOptions {
|
||||
* A human-readable string for the ok button
|
||||
*/
|
||||
saveLabel?: string;
|
||||
|
||||
/**
|
||||
* Specifies a list of schemas for the file systems the user can save to. If not specified, uses the schema of the defaultURI or, if also not specified,
|
||||
* the schema of the current window.
|
||||
*/
|
||||
availableFileSystems?: string[];
|
||||
}
|
||||
|
||||
export interface IOpenDialogOptions {
|
||||
@@ -104,6 +110,12 @@ export interface IOpenDialogOptions {
|
||||
* like "TypeScript", and an array of extensions.
|
||||
*/
|
||||
filters?: FileFilter[];
|
||||
|
||||
/**
|
||||
* Specifies a list of schemas for the file systems the user can load from. If not specified, uses the schema of the defaultURI or, if also not available,
|
||||
* the schema of the current window.
|
||||
*/
|
||||
availableFileSystems?: string[];
|
||||
}
|
||||
|
||||
|
||||
@@ -150,21 +162,21 @@ export interface IFileDialogService {
|
||||
|
||||
/**
|
||||
* The default path for a new file based on previously used files.
|
||||
* @param schemeFilter The scheme of the file path.
|
||||
* @param schemeFilter The scheme of the file path. If no filter given, the scheme of the current window is used.
|
||||
*/
|
||||
defaultFilePath(schemeFilter: string): URI | undefined;
|
||||
defaultFilePath(schemeFilter?: string): URI | undefined;
|
||||
|
||||
/**
|
||||
* The default path for a new folder based on previously used folders.
|
||||
* @param schemeFilter The scheme of the folder path.
|
||||
* @param schemeFilter The scheme of the folder path. If no filter given, the scheme of the current window is used.
|
||||
*/
|
||||
defaultFolderPath(schemeFilter: string): URI | undefined;
|
||||
defaultFolderPath(schemeFilter?: string): URI | undefined;
|
||||
|
||||
/**
|
||||
* The default path for a new workspace based on previously used workspaces.
|
||||
* @param schemeFilter The scheme of the workspace path.
|
||||
* @param schemeFilter The scheme of the workspace path. If no filter given, the scheme of the current window is used.
|
||||
*/
|
||||
defaultWorkspacePath(schemeFilter: string): URI | undefined;
|
||||
defaultWorkspacePath(schemeFilter?: string): URI | undefined;
|
||||
|
||||
/**
|
||||
* Shows a file-folder selection dialog and opens the selected entry.
|
||||
@@ -202,7 +214,7 @@ const MAX_CONFIRM_FILES = 10;
|
||||
export function getConfirmMessage(start: string, resourcesToConfirm: URI[]): string {
|
||||
const message = [start];
|
||||
message.push('');
|
||||
message.push(...resourcesToConfirm.slice(0, MAX_CONFIRM_FILES).map(r => basename(r.fsPath)));
|
||||
message.push(...resourcesToConfirm.slice(0, MAX_CONFIRM_FILES).map(r => basename(r)));
|
||||
|
||||
if (resourcesToConfirm.length > MAX_CONFIRM_FILES) {
|
||||
if (resourcesToConfirm.length - MAX_CONFIRM_FILES === 1) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { IChannel, IServerChannel } from 'vs/base/parts/ipc/node/ipc';
|
||||
import { IChannel, IServerChannel } from 'vs/base/parts/ipc/common/ipc';
|
||||
import { IDialogService, IConfirmation, IConfirmationResult } from 'vs/platform/dialogs/common/dialogs';
|
||||
import Severity from 'vs/base/common/severity';
|
||||
import { Event } from 'vs/base/common/event';
|
||||
|
||||
Reference in New Issue
Block a user