mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-30 21:41:46 +01:00
fix typo (#65740)
fix typo for Editor Find, terminalSupport.ts, terminals.ts, extHostDebugService.ts
This commit is contained in:
@@ -180,7 +180,7 @@ export class MainThreadDocuments implements MainThreadDocumentsShape {
|
||||
let promise: Promise<boolean>;
|
||||
switch (uri.scheme) {
|
||||
case Schemas.untitled:
|
||||
promise = this._handleUnititledScheme(uri);
|
||||
promise = this._handleUntitledScheme(uri);
|
||||
break;
|
||||
case Schemas.file:
|
||||
default:
|
||||
@@ -213,7 +213,7 @@ export class MainThreadDocuments implements MainThreadDocumentsShape {
|
||||
});
|
||||
}
|
||||
|
||||
private _handleUnititledScheme(uri: URI): Promise<boolean> {
|
||||
private _handleUntitledScheme(uri: URI): Promise<boolean> {
|
||||
let asFileUri = uri.with({ scheme: Schemas.file });
|
||||
return this._fileService.resolveFile(asFileUri).then(stats => {
|
||||
// don't create a new file ontop of an existing file
|
||||
|
||||
@@ -20,7 +20,7 @@ import { ExtHostWorkspace } from 'vs/workbench/api/node/extHostWorkspace';
|
||||
import { ExtHostExtensionService } from 'vs/workbench/api/node/extHostExtensionService';
|
||||
import { ExtHostDocumentsAndEditors } from 'vs/workbench/api/node/extHostDocumentsAndEditors';
|
||||
import { ITerminalSettings, IDebuggerContribution, IConfig, IDebugAdapter, IDebugAdapterServer, IDebugAdapterExecutable, IAdapterDescriptor } from 'vs/workbench/parts/debug/common/debug';
|
||||
import { getTerminalLauncher, hasChildprocesses, prepareCommand } from 'vs/workbench/parts/debug/node/terminals';
|
||||
import { getTerminalLauncher, hasChildProcesses, prepareCommand } from 'vs/workbench/parts/debug/node/terminals';
|
||||
import { IWorkspaceFolder } from 'vs/platform/workspace/common/workspace';
|
||||
import { AbstractVariableResolverService } from 'vs/workbench/services/configurationResolver/node/variableResolver';
|
||||
import { ExtHostConfiguration } from './extHostConfiguration';
|
||||
@@ -330,7 +330,7 @@ export class ExtHostDebugService implements ExtHostDebugServiceShape {
|
||||
return new Promise(resolve => {
|
||||
if (this._integratedTerminalInstance) {
|
||||
this._integratedTerminalInstance.processId.then(pid => {
|
||||
resolve(hasChildprocesses(pid));
|
||||
resolve(hasChildProcesses(pid));
|
||||
}, err => {
|
||||
resolve(true);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user