Update to VS Code 1.52.1

This commit is contained in:
Asher
2021-02-09 16:08:37 +00:00
1351 changed files with 56560 additions and 38990 deletions

View File

@@ -244,7 +244,8 @@ export class BrowserHostService extends Disposable implements IHostService {
if (this.shouldReuse(options, true /* file */)) {
editorService.openEditor({
leftResource: editors[0].resource,
rightResource: editors[1].resource
rightResource: editors[1].resource,
options: { pinned: true }
});
}
@@ -349,7 +350,7 @@ export class BrowserHostService extends Disposable implements IHostService {
return true; // always handle --wait in same window
}
const windowConfig = this.configurationService.getValue<IWindowSettings>('window');
const windowConfig = this.configurationService.getValue<IWindowSettings | undefined>('window');
const openInNewWindowConfig = isFile ? (windowConfig?.openFilesInNewWindow || 'off' /* default */) : (windowConfig?.openFoldersInNewWindow || 'default' /* default */);
let openInNewWindow = (options.preferNewWindow || !!options.forceNewWindow) && !options.forceReuseWindow;

View File

@@ -81,7 +81,7 @@ export interface IHostService {
/**
* Reload the currently active window.
*/
reload(): Promise<void>;
reload(options?: { disableExtensions?: boolean }): Promise<void>;
/**
* Attempt to close the active window.

View File

@@ -102,8 +102,8 @@ export class NativeHostService extends Disposable implements IHostService {
return this.nativeHostService.relaunch();
}
reload(): Promise<void> {
return this.nativeHostService.reload();
reload(options?: { disableExtensions?: boolean }): Promise<void> {
return this.nativeHostService.reload(options);
}
close(): Promise<void> {