MCPcopy Index your code
hub / github.com/microsoft/vscode / waitForTypeInEditor

Method waitForTypeInEditor

test/automation/src/code.ts:317–319  ·  view source on GitHub ↗
(selector: string, text: string)

Source from the content-addressed store, hash-verified

315 }
316
317 async waitForTypeInEditor(selector: string, text: string): Promise<void> {
318 await this.poll(() => this.driver.typeInEditor(selector, text), () => true, `type in editor '${selector}'`);
319 }
320
321 async waitForEditorSelection(selector: string, accept: (selection: { selectionStart: number; selectionEnd: number }) => boolean): Promise<void> {
322 await this.poll(() => this.driver.getEditorSelection(selector), accept, `get editor selection '${selector}'`);

Callers 15

searchForExtensionMethod · 0.45
configureTaskMethod · 0.45
typeAndSendMethod · 0.45
sendMessageMethod · 0.45
sendEditorMessageMethod · 0.45
addUserSettingMethod · 0.45
addUserSettingsMethod · 0.45
clearUserSettingsMethod · 0.45
searchSettingsUIMethod · 0.45
setupFunction · 0.45
testHotExitFunction · 0.45

Calls 2

pollMethod · 0.95
typeInEditorMethod · 0.65

Tested by 4

setupFunction · 0.36
testHotExitFunction · 0.36
setupFunction · 0.36
setupFunction · 0.36