mirror of
https://github.com/coder/code-server.git
synced 2024-12-04 15:00:38 +08:00
14 lines
413 B
TypeScript
14 lines
413 B
TypeScript
|
import * as vscode from "vscode"
|
||
|
|
||
|
export function activate(context: vscode.ExtensionContext) {
|
||
|
context.subscriptions.push(
|
||
|
vscode.commands.registerCommand("codeServerTest.proxyUri", () => {
|
||
|
if (process.env.VSCODE_PROXY_URI) {
|
||
|
vscode.window.showInformationMessage(process.env.VSCODE_PROXY_URI)
|
||
|
} else {
|
||
|
vscode.window.showErrorMessage("No proxy URI was set")
|
||
|
}
|
||
|
}),
|
||
|
)
|
||
|
}
|