MCPcopy Index your code
hub / github.com/coder/code-server / openFile

Method openFile

test/e2e/models/CodeServer.ts:406–410  ·  view source on GitHub ↗

* Open a file by using menus.

(file: string)

Source from the content-addressed store, hash-verified

404 * Open a file by using menus.
405 */
406 async openFile(file: string) {
407 await this.navigateMenus(["File", "Open File..."])
408 await this.navigateQuickInput([path.basename(file)])
409 await this.waitForTab(file)
410 }
411
412 /**
413 * Open a file through an external command.

Callers 3

codeServer.test.tsFile · 0.80
webview.test.tsFile · 0.80
downloads.test.tsFile · 0.80

Calls 3

navigateMenusMethod · 0.95
navigateQuickInputMethod · 0.95
waitForTabMethod · 0.95

Tested by

no test coverage detected