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

Method openFileExternally

test/e2e/models/CodeServer.ts:415–417  ·  view source on GitHub ↗

* Open a file through an external command.

(file: string)

Source from the content-addressed store, hash-verified

413 * Open a file through an external command.
414 */
415 async openFileExternally(file: string) {
416 await this.codeServer.run(["--reuse-window", file])
417 }
418
419 /**
420 * Wait for a tab to open for the specified file.

Callers 1

terminal.test.tsFile · 0.80

Calls 1

runMethod · 0.80

Tested by

no test coverage detected