SYMBOL INDEX (231 symbols across 39 files) FILE: ci/dev/watch.ts type DevelopmentCompilers (line 5) | interface DevelopmentCompilers { class Watcher (line 13) | class Watcher { method initialize (line 55) | public async initialize(): Promise { method dispose (line 121) | private dispose(code: number | null): void { function main (line 133) | async function main(): Promise { FILE: src/common/emitter.ts type Callback (line 7) | type Callback> = (t: T, p: Promise) => R type Disposable (line 9) | interface Disposable { type Event (line 13) | interface Event { class Emitter (line 20) | class Emitter { method event (line 23) | public get event(): Event { method emit (line 41) | public async emit(value: T): Promise { method dispose (line 58) | public dispose(): void { FILE: src/common/http.ts type HttpCode (line 1) | enum HttpCode { class HttpError (line 16) | class HttpError extends Error { method constructor (line 17) | public constructor( function getCookieSessionName (line 27) | function getCookieSessionName(suffix?: string): string { FILE: src/common/util.ts function logError (line 29) | function logError(logger: { error: (msg: string) => void }, prefix: stri... FILE: src/node/app.ts type SocketOptions (line 15) | type SocketOptions = { socket: string; "socket-mode"?: string } type ListenOptions (line 16) | type ListenOptions = DefaultedArgs | SocketOptions type App (line 18) | interface App extends Disposable { FILE: src/node/cli.ts type Feature (line 8) | enum Feature { type AuthType (line 13) | enum AuthType { class Optional (line 18) | class Optional { method constructor (line 19) | public constructor(public readonly value?: T) {} type LogLevel (line 22) | enum LogLevel { class OptionalString (line 30) | class OptionalString extends Optional {} type UserProvidedCodeArgs (line 35) | interface UserProvidedCodeArgs { type UserProvidedArgs (line 68) | interface UserProvidedArgs extends UserProvidedCodeArgs { type Option (line 103) | interface Option { type OptionType (line 124) | type OptionType = T extends boolean type Options (line 140) | type Options = { type DefaultedArgs (line 508) | interface DefaultedArgs extends ConfigArgs { function setDefaults (line 532) | async function setDefaults(cliArgs: UserProvidedArgs, configArgs?: Confi... function getResolvedPathsFromArgs (line 682) | function getResolvedPathsFromArgs(args: UserProvidedArgs): string[] { function defaultConfigFile (line 697) | function defaultConfigFile(password: string): string { type ConfigArgs (line 705) | interface ConfigArgs extends UserProvidedArgs { function readConfigFile (line 714) | async function readConfigFile(configPath?: string): Promise { function parseConfigFile (line 745) | function parseConfigFile(configFile: string, configPath: string): Config... function parseBindAddr (line 778) | function parseBindAddr(bindAddr: string): Addr { type Addr (line 789) | interface Addr { function bindAddrFromArgs (line 798) | function bindAddrFromArgs(addr: Addr, args: UserProvidedArgs): Addr { function bindAddrFromAllSources (line 819) | function bindAddrFromAllSources(...argsConfig: UserProvidedArgs[]): Addr { type CodeArgs (line 891) | interface CodeArgs extends UserProvidedCodeArgs { FILE: src/node/constants.ts function getPackageJson (line 6) | function getPackageJson(relativePath: string): JSONSchemaForNPMPackageJs... constant PACKAGE_JSON (line 19) | const PACKAGE_JSON = "package.json" function getVersionString (line 34) | function getVersionString(): string { function getVersionJsonString (line 42) | function getVersionJsonString(): string { FILE: src/node/entry.ts function entry (line 7) | async function entry(): Promise { FILE: src/node/heart.ts class Heart (line 8) | class Heart { method constructor (line 16) | public constructor( method setState (line 24) | private setState(state: typeof this.state) { method alive (line 31) | public alive(): boolean { method beat (line 40) | public async beat(): Promise { method dispose (line 77) | public dispose(): void { FILE: src/node/http.ts type ClientConfiguration (line 27) | interface ClientConfiguration { type Request (line 38) | interface Request { function disposer (line 251) | function disposer(server: http.Server): Disposable["dispose"] { function getFirstHeader (line 334) | function getFirstHeader(req: http.IncomingMessage, headerName: string): ... function ensureOrigin (line 342) | function ensureOrigin(req: express.Request, _?: express.Response, next?:... function authenticateOrigin (line 357) | function authenticateOrigin(req: express.Request): void { function getHost (line 395) | function getHost(req: express.Request): string | undefined { FILE: src/node/i18n/index.ts function loadCustomStrings (line 27) | async function loadCustomStrings(filePath: string): Promise { FILE: src/node/main.ts type OpenCommandPipeArgs (line 37) | interface OpenCommandPipeArgs { FILE: src/node/routes/errors.ts type ErrorWithStatusCode (line 11) | interface ErrorWithStatusCode { type ErrorWithCode (line 15) | interface ErrorWithCode { FILE: src/node/routes/login.ts class RateLimiter (line 12) | class RateLimiter { method canTry (line 16) | public canTry(): boolean { method removeToken (line 23) | public removeToken(): boolean { FILE: src/node/routes/pathProxy.ts function proxy (line 24) | async function proxy( function wsProxy (line 58) | async function wsProxy( FILE: src/node/routes/vscode.ts type IVSCodeServerAPI (line 27) | interface IVSCodeServerAPI { type VSCodeModule (line 42) | type VSCodeModule = { function loadVSCode (line 55) | async function loadVSCode(req: express.Request): Promise { method constructor (line 11) | public constructor(private readonly settingsPath: string) {} method read (line 17) | public async read(): Promise { method write (line 33) | public async write(settings: Partial): Promise { type UpdateSettings (line 44) | interface UpdateSettings { type CoderSettings (line 54) | interface CoderSettings extends UpdateSettings { FILE: src/node/socket.ts class SocketProxyProvider (line 14) | class SocketProxyProvider { method stop (line 23) | public stop(): void { method createProxy (line 37) | public async createProxy(socket: tls.TLSSocket | net.Socket | stream.D... method startProxyServer (line 77) | private async startProxyServer(): Promise { method findFreeSocketPath (line 98) | public async findFreeSocketPath(basePath: string, maxTries = 100): Pro... FILE: src/node/update.ts type Update (line 10) | interface Update { type LatestResponse (line 15) | interface LatestResponse { class UpdateProvider (line 22) | class UpdateProvider { method constructor (line 26) | public constructor( method getUpdate (line 41) | public async getUpdate(force?: boolean): Promise { method _getUpdate (line 51) | private async _getUpdate(force?: boolean): Promise { method isLatestVersion (line 75) | public isLatestVersion(latest: Update): boolean { method request (line 84) | private async request(uri: string): Promise { method requestResponse (line 100) | private async requestResponse(uri: string): Promise void function getEnvPaths (line 59) | function getEnvPaths(platform = process.platform): Paths { type PasswordMethod (line 177) | type PasswordMethod = "SHA256" | "ARGON2" | "PLAIN_TEXT" function getPasswordMethod (line 189) | function getPasswordMethod(hashedPassword: string | undefined): Password... type PasswordValidation (line 203) | type PasswordValidation = { type HandlePasswordValidationArgs (line 208) | type HandlePasswordValidationArgs = { function handlePasswordValidation (line 223) | async function handlePasswordValidation({ type IsCookieValidArgs (line 264) | type IsCookieValidArgs = { function isCookieValid (line 272) | async function isCookieValid({ function sanitizeString (line 298) | function sanitizeString(str: unknown): string { type OpenOptions (line 392) | interface OpenOptions { function constructOpenOptions (line 407) | function constructOpenOptions(platform: NodeJS.Platform | "wsl", urlSear... function canConnect (line 450) | function canConnect(path: string): Promise { function escapeHtml (line 484) | function escapeHtml(unsafe: string): string { function isNodeJSErrnoException (line 498) | function isNodeJSErrnoException(error: unknown): error is NodeJS.ErrnoEx... function splitOnFirstEquals (line 510) | function splitOnFirstEquals(str: string): [string, string | undefined] { FILE: src/node/vscodeSocket.ts type EditorSessionEntry (line 10) | interface EditorSessionEntry { type DeleteSessionRequest (line 23) | interface DeleteSessionRequest { type AddSessionRequest (line 27) | interface AddSessionRequest { type GetSessionResponse (line 31) | interface GetSessionResponse { function makeEditorSessionManagerServer (line 35) | async function makeEditorSessionManagerServer( class EditorSessionManager (line 85) | class EditorSessionManager { method addSession (line 89) | addSession(entry: EditorSessionEntry): void { method getCandidatesForFile (line 94) | getCandidatesForFile(filePath: string): EditorSessionEntry[] { method deleteSession (line 122) | deleteSession(socketPath: string): void { method getConnectedSocketPath (line 131) | async getConnectedSocketPath(filePath: string): Promise { FILE: src/node/wrapper.ts function onMessage (line 18) | function onMessage( type ParentHandshakeMessage (line 63) | interface ParentHandshakeMessage { type ChildHandshakeMessage (line 68) | interface ChildHandshakeMessage { type RelaunchMessage (line 72) | interface RelaunchMessage { type ChildMessage (line 77) | type ChildMessage = RelaunchMessage | ChildHandshakeMessage type ParentMessage (line 78) | type ParentMessage = ParentHandshakeMessage class ProcessError (line 80) | class ProcessError extends Error { method constructor (line 81) | public constructor( method constructor (line 111) | public constructor() { method preventExit (line 130) | public preventExit(): void { method exit (line 141) | public exit(error?: number | ProcessError): never { class ChildProcess (line 154) | class ChildProcess extends Process { method constructor (line 157) | public constructor(private readonly parentPid: number) { method handshake (line 178) | public async handshake(): Promise { method relaunch (line 201) | public relaunch(version: string): void { method send (line 208) | private send(message: ChildMessage): void { class ParentProcess (line 222) | class ParentProcess extends Process { method constructor (line 235) | public constructor(private currentVersion: string) { method disposeChild (line 272) | private async disposeChild(): Promise { method relaunch (line 284) | private async relaunch(): Promise { method start (line 295) | public start(args: DefaultedArgs): Promise { method _start (line 308) | private async _start(): Promise { method spawn (line 336) | private spawn(): cp.ChildProcess { method handshake (line 350) | private async handshake(child: cp.ChildProcess): Promise { method send (line 368) | private send(child: cp.ChildProcess, message: ParentMessage): void { function isChild (line 381) | function isChild(proc: ChildProcess | ParentProcess): proc is ChildProce... FILE: src/node/wsRouter.ts type WebsocketRequest (line 7) | interface WebsocketRequest extends express.Request { type InternalWebsocketRequest (line 12) | interface InternalWebsocketRequest extends WebsocketRequest { type WebSocketHandler (line 34) | type WebSocketHandler = ( class WebsocketRouter (line 40) | class WebsocketRouter { method ws (line 50) | public ws(route: expressCore.PathParams, ...handlers: WebSocketHandler... function Router (line 64) | function Router(): WebsocketRouter { FILE: test/e2e/baseFixture.ts type TestFixtures (line 40) | interface TestFixtures { FILE: test/e2e/extensions.test.ts function runTestExtensionTests (line 6) | function runTestExtensionTests() { FILE: test/e2e/extensions/test-extension/extension.ts function activate (line 3) | function activate(context: vscode.ExtensionContext) { FILE: test/e2e/models/CodeServer.ts type CodeServerProcess (line 12) | interface CodeServerProcess { class Context (line 17) | class Context { method canceled (line 20) | public canceled(): boolean { method finished (line 23) | public finished(): boolean { method cancel (line 26) | public cancel(): void { method finish (line 29) | public finish(): void { class CodeServer (line 37) | class CodeServer { method constructor (line 42) | constructor( method address (line 56) | async address(): Promise { method workspaceDir (line 68) | get workspaceDir(): Promise | string { method createWorkspace (line 78) | private async createWorkspace(): Promise { method spawn (line 119) | private async spawn(): Promise { method run (line 205) | async run(args: string[]): Promise { method argsWithDefaults (line 223) | private async argsWithDefaults(args: string[]): Promise { method close (line 245) | async close(): Promise { method authEnabled (line 257) | authEnabled(): boolean { class CodeServerPage (line 269) | class CodeServerPage { method constructor (line 272) | constructor( method address (line 284) | address() { method workspaceDir (line 291) | get workspaceDir() { method navigate (line 299) | async navigate(endpoint = "/") { method reloadUntilEditorIsReady (line 320) | async reloadUntilEditorIsReady() { method isEditorVisible (line 351) | async isEditorVisible() { method waitForTestExtensionLoaded (line 365) | async waitForTestExtensionLoaded(): Promise { method focusTerminal (line 379) | async focusTerminal() { method openFile (line 403) | async openFile(file: string) { method openFileExternally (line 412) | async openFileExternally(file: string) { method waitForTab (line 419) | async waitForTab(file: string): Promise { method tabIsVisible (line 426) | async tabIsVisible(file: string): Promise { method executeCommandViaMenus (line 434) | async executeCommandViaMenus(command: string) { method navigateItems (line 447) | async navigateItems(items: string[], selector: string, open?: (selecto... method navigateQuickInput (line 545) | async navigateQuickInput(items: string[]): Promise { method navigateMenus (line 552) | async navigateMenus(menus: string[]): Promise { method openContextMenu (line 561) | async openContextMenu(selector: string): Promise { method exec (line 570) | async exec(command: string): Promise { method installExtension (line 580) | async installExtension(id: string): Promise { method stateFlush (line 590) | async stateFlush(): Promise { FILE: test/e2e/routes.test.ts constant CODE_WORKSPACE_DIR (line 55) | const CODE_WORKSPACE_DIR = process.env.CODE_WORKSPACE_DIR || "" constant CODE_FOLDER_DIR (line 65) | const CODE_FOLDER_DIR = process.env.CODE_FOLDER_DIR || "" FILE: test/unit/common/util.test.ts type LocationLike (line 9) | type LocationLike = Pick FILE: test/unit/node/app.test.ts function masterBall (line 84) | async function masterBall() { FILE: test/unit/node/routes/errors.test.ts function createRequest (line 58) | async function createRequest(args: UserProvidedArgs = {}): Promise { function tmpdir (line 42) | async function tmpdir(testName: string): Promise { function useEnv (line 55) | function useEnv(key: string): [(nextValue: string | undefined) => string... function idleTimer (line 97) | function idleTimer(message: string, reject: (error: Error) => void, dela... function getMaybeProxiedCodeServer (line 116) | async function getMaybeProxiedCodeServer(codeServer: CodeServerPage | Co... function getMaybeProxiedPathname (line 130) | function getMaybeProxiedPathname(url: URL): string { type FakeVscodeSockets (line 140) | interface FakeVscodeSockets { function listenOn (line 151) | function listenOn(...socketPaths: string[]): FakeVscodeSockets { FILE: test/utils/httpserver.ts class HttpServer (line 13) | class HttpServer { method constructor (line 23) | public constructor(server?: { server: http.Server; dispose: Disposable... method listen (line 32) | public listen(fn: http.RequestListener): Promise { method listenUpgrade (line 53) | public listenUpgrade(app: express.Express): void { method fetch (line 61) | public fetch(requestPath: string, opts?: RequestInit, query?: { [key: ... method ws (line 78) | public ws(requestPath: string, options?: Websocket.ClientOptions): Web... method wsWait (line 91) | public wsWait(requestPath: string, options?: Websocket.ClientOptions):... method port (line 99) | public port(): number { FILE: test/utils/integration.ts function setup (line 9) | async function setup(argv: string[], configFile?: string): Promise