vvscodeSource ↗
65 declarations and 71 call references extracted from public source metadata.

Source symbols: src/main.ts

Deterministic, value-free symbol metadata extracted from public source. Implementations and literal values are not copied into this page.

  • Revision: main@0b8aecc9797195d109bf60817ebc6b174eb252e1 · 2026-07-20T15:21:55Z
  • Declarations: 65
  • Referenced calls: 71

Declared symbols

  • portable — const at line 34; references configurePortable, parseCLIArgs, configureCommandlineSwitchesSync, enableSandbox, hasSwitch
  • args — const at line 36; references parseCLIArgs, configureCommandlineSwitchesSync, enableSandbox, hasSwitch
  • argvConfig — const at line 38; references configureCommandlineSwitchesSync, enableSandbox, hasSwitch
  • userDataPath — const at line 57; references getUserDataPath, getUNCHost, addUNCHostToAllowlist
  • userDataUNCHost — const at line 59; references getUNCHost, addUNCHostToAllowlist
  • codeCachePath — const at line 67; references getCodeCachePath, setApplicationMenu, mark, configureCrashReporter
  • nlsConfigurationPromise — let at line 123; references processZhLocale, getPreferredSystemLanguages, toLowerCase, getUserDefinedLocale, resolveNLSConfiguration
  • osLocale — const at line 129; references processZhLocale, getPreferredSystemLanguages, toLowerCase, getUserDefinedLocale, resolveNLSConfiguration
  • userLocale — const at line 130; references getUserDefinedLocale, resolveNLSConfiguration
  • electronLocale — const at line 150; references appendSwitch, once, split, push, startRecording, onReady
  • traceOptions — let at line 157; references split, push
  • customCategories — const at line 159; references split, push
  • onReady — function at line 193; references mark, all, mkdirpIgnoreError, resolveNlsConfiguration, startup, error
  • startup — function at line 211; references stringify, bootstrapESM, import, mark
  • configureCommandlineSwitchesSync — function at line 223; references push, readArgvConfigSync, keys, indexOf, disableHardwareAcceleration, appendSwitch, isArray, error, for, getJSFlags
  • SUPPORTED_ELECTRON_SWITCHES — const at line 224; references push
  • SUPPORTED_MAIN_PROCESS_SWITCHES — const at line 250; references readArgvConfigSync, keys, indexOf, disableHardwareAcceleration, appendSwitch, isArray, push, error, for
  • argvConfig — const at line 266; references readArgvConfigSync, keys, indexOf, disableHardwareAcceleration, appendSwitch, isArray, push, error, for
  • argvValue — const at line 269; references indexOf, disableHardwareAcceleration, appendSwitch
  • migratedArgvValue — let at line 283
  • featuresToEnable — const at line 336; references appendSwitch, getJSFlags
  • featuresToDisable — const at line 342; references appendSwitch, getJSFlags
  • blinkFeaturesToDisable — const at line 349; references appendSwitch, getJSFlags
  • jsFlags — const at line 354; references getJSFlags, appendSwitch
  • IArgvConfig — interface at line 371
  • readArgvConfigSync — function at line 389; references getArgvConfigPath, parse, readFileSync, toString, createDefaultArgvConfigSync, warn
  • argvConfigPath — const at line 392; references getArgvConfigPath, parse, readFileSync, toString, createDefaultArgvConfigSync, warn
  • argvConfig — let at line 393; references parse, readFileSync, toString, createDefaultArgvConfigSync, warn
  • createDefaultArgvConfigSync — function at line 412; references dirname, existsSync, mkdirSync, writeFileSync, join, error
  • argvConfigPathDirname — const at line 416; references dirname, existsSync, mkdirSync
  • defaultArgvConfigContent — const at line 422; references writeFileSync, join, error
  • getArgvConfigPath — function at line 444; references join, homedir
  • vscodePortable — const at line 445; references join
  • dataFolderName — let at line 450
  • configureCrashReporter — function at line 458; references normalize, isAbsolute, error, exit, existsSync, mkdirSync, log, setPath, test, concat, indexOf, push, splice, Boolean, start
  • crashReporterDirectory — let at line 459; references normalize, isAbsolute, error, exit, existsSync, mkdirSync, log, setPath
  • submitURL — let at line 460; references normalize, isAbsolute, error, exit, existsSync, mkdirSync, log, setPath
  • appCenter — const at line 486; references test, concat, indexOf, push, splice
  • isWindows — const at line 488
  • isLinux — const at line 489
  • isDarwin — const at line 490
  • crashReporterId — const at line 491
  • uuidPattern — const at line 492
  • argv — const at line 522; references indexOf, push, splice
  • endOfArgsMarkerIndex — const at line 523; references indexOf, push, splice
  • productName — const at line 537; references Boolean, start
  • companyName — const at line 538; references Boolean, start
  • uploadToServer — const at line 539; references Boolean, start
  • getJSFlags — function at line 550; references push, join
  • jsFlags — const at line 551; references push
  • parseCLIArgs — function at line 566; references minimist
  • registerListeners — function at line 586; references push, preventDefault, removeListener
  • macOpenFiles — const at line 592
  • openUrls — const at line 601; references preventDefault, push
  • onOpenUrl — const at line 602; references preventDefault, push
  • getCodeCachePath — function at line 620; references indexOf, join
  • commit — const at line 633
  • mkdirpIgnoreError — function at line 641; references mkdir
  • processZhLocale — function at line 657; references startsWith, split, includes
  • region — const at line 659; references split, includes
  • resolveNlsConfiguration — function at line 683; references getLocale, join, processZhLocale, toLowerCase, resolveNLSConfiguration
  • nlsConfiguration — const at line 689
  • userLocale — let at line 697; references getLocale, join
  • getUserDefinedLocale — function at line 729; references toLowerCase
  • locale — const at line 730; references toLowerCase

Imported modules

  • node:path
  • original-fs
  • node:os
  • node:perf_hooks
  • ./bootstrap-node.js
  • ./bootstrap-esm.js
  • electron
  • minimist
  • ./bootstrap-meta.js
  • ./vs/base/common/jsonc.js
  • ./vs/platform/environment/node/userDataPath.js
  • ./vs/base/common/performance.js
  • ./vs/base/node/nls.js
  • ./vs/base/node/unc.js
  • ./vs/nls.js
  • ./vs/platform/environment/common/argv.js
  • ./vs/code/electron-main/main.js

File-level call references


Source: src/main.ts

Generated by smolify with deterministic-repository-import-v2 · 1 source file