ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import electron, { BrowserWindowConstructorOptions, Display, screen } from 'electron';
import { DeferredPromise, RunOnceScheduler, timeout, Delayer } from '../../../base/common/async.js';
import { CancellationToken } from '../../../base/common/cancellation.js';
import { toErrorMessage } from '../../../base/common/errorMessage.js';
import { Emitter, Event } from '../../../base/common/event.js';
import { Disposable, DisposableStore, IDisposable, MutableDisposable, toDisposable } from
FileAccess Schemas
getMarks mark
isTahoeOrNewer isLinux isMacintosh isWindows
localize
release
ISerializableCommandAction
IBackupMainService
IConfigurationChangeEvent IConfigurationService
IDialogMainService
NativeParsedArgs
IEnvironmentMainService
isLaunchedFromCli
IFileService
ILifecycleMainService
ILogService
IProductService
IIPCObjectUrl IProtocolMainService
resolveMarketplaceHeaders
IApplicationStorageMainService IStorageMainService
ITelemetryService
ThemeIcon
IThemeMainService
getMenuBarVisibility IFolderToOpen INativeWindowConfiguration IWindowSettings IWorkspaceToOpen MenuBarVisibility hasNativeTitlebar useNativeFullScreen useWindowControlsOverlay TitlebarStyle MenuSettings
defaultBrowserWindowOptions getAllWindowsExcludingOffscreen IWindowsMainService OpenContext WindowStateValidator
ISingleFolderWorkspaceIdentifier IWorkspaceIdentifier isSingleFolderWorkspaceIdentifier isWorkspaceIdentifier toWorkspaceIdentifier
IWorkspacesManagementMainService
IWindowState ICodeWindow ILoadEvent WindowMode WindowError LoadReason defaultWindowState IBaseWindow
IPolicyService
IUserDataProfile
IStateService
IUserDataProfilesMainService
ILoggerMainService
IInstantiationService
VSBuffer
errorHandler
FocusMode IApplicationBadge
Color
state IWindowState
extensionDevelopmentPath
isExtensionTestHost
isSessionsWindow
SegmentedControlSegment
id
isReload
disableExtensions
ReadyState
attention
counts
window IBaseWindow IDisposable
attentionwindowid
attentionwindowid
window IBaseWindow count
count
countswindowid count
countswindowid
total
count counts
total count
total
electronapptotal
attentionsize
electronappisLinux
electronapp
_onDidClose
onDidClose _onDidCloseevent
_onDidMaximize
onDidMaximize _onDidMaximizeevent
_onDidUnmaximize
onDidUnmaximize _onDidUnmaximizeevent
_onDidTriggerSystemContextMenu
onDidTriggerSystemContextMenu _onDidTriggerSystemContextMenuevent
_onDidEnterFullScreen
onDidEnterFullScreen _onDidEnterFullScreenevent
_onDidLeaveFullScreen
onDidLeaveFullScreen _onDidLeaveFullScreenevent
_onDidChangeAlwaysOnTop
onDidChangeAlwaysOnTop _onDidChangeAlwaysOnTopevent
id
_lastFocusTime Date
_lastFocusTime
maximizedWindowState IWindowState
_win electronBrowserWindow
_win
win electronBrowserWindow options BrowserWindowConstructorOptions
_win win
Eventwin
isWindows environmentMainServiceenableRDPDisplayTracking _win
x y _win
width height _win
maximizedWindowState mode WindowModeMaximized width height x y
logService maximizedWindowState
_onDidMaximize
Eventwin
isWindows environmentMainServiceenableRDPDisplayTracking maximizedWindowState
maximizedWindowState
logService
_onDidUnmaximize
Eventwin
_onDidClose
Eventwin
_lastFocusTime Date
Event_win _onDidEnterFullScreen
Event_win _onDidLeaveFullScreen
Event_win _ alwaysOnTop alwaysOnTopalwaysOnTop _onDidChangeAlwaysOnTopalwaysOnTop
useCustomTitleStyle configurationService optionstitleBarStyle TitlebarStyle
isMacintosh useCustomTitleStyle
win
useCustomTitleStyle configurationService
cachedWindowControlHeight stateServiceBaseWindowwindowControlHeightStateStorageKey
cachedWindowControlHeight
height cachedWindowControlHeight
height
isWindows isLinux useCustomTitleStyle
Eventwin event ElectronEvent point ElectronPoint event point e
x y win
cursorPos electronscreenepoint
cx MathcursorPosx x
cy MathcursorPosy y
isLinux
cx
eevent
_onDidTriggerSystemContextMenu x cx y cy
environmentMainServiceargs
winwebContents
isMacintosh
joinNativeFullScreenTransition
joinNativeFullScreenTransition
isWindows environmentMainServiceenableRDPDisplayTracking
Eventscreen event ElectronEvent display Display event display e
edisplay
display Display
state maximizedWindowState
state _win WindowStateValidatorstate display
logService state
_winstate
configurationService IConfigurationService
stateService IStateService
environmentMainService IEnvironmentMainService
logService ILogService
DockBadgeManager
state IWindowState hasMultipleDisplays electronscreenlength
windowSettings configurationService
useNativeTabs isMacintosh windowSettingsnativeTabs
isMacintosh isWindows hasMultipleDisplays useNativeTabs length
statewidth stateheight statex stateyvalue value
_win
width statewidth
height stateheight
x statex
y statey
statemode WindowModeMaximized statemode WindowModeFullscreen
_win
statemode WindowModeFullscreen
_win
representedFilename
filename
isMacintosh
winfilename
representedFilename filename
isMacintosh
win
representedFilename
documentEdited
edited
isMacintosh
winedited
documentEdited edited
isMacintosh
win
documentEdited
badge IApplicationBadge
count badge badgecount badgecount
isWindows
count badgeiconDataURL
win
winelectronnativeImagebadgeiconDataURL badgedescription
DockBadgeManager count
options mode FocusMode
optionsmode FocusModeTransfer
FocusModeTransfer
FocusModeNotify
FocusModeForce
isMacintosh
electronapp steal
notifyFocusDisposable
disposables
notifyFocusDisposablevalue disposables
disposablesDockBadgeManager
isWindows isLinux
win
disposables win
isMacintosh
electronappdock
notifyFocusDisposable
win win
win
win
win
win
winwebContents
windowControlHeightStateStorageKey
windowControlsDimmed
lastWindowControlColors backgroundColor foregroundColor
options height backgroundColor foregroundColor dimmed
win win
win
optionsheight
stateServiceCodeWindowwindowControlHeightStateStorageKey optionsheight
isMacintosh configurationService
optionsdimmed
windowControlsDimmed optionsdimmed
backgroundColor optionsbackgroundColor lastWindowControlColorsbackgroundColor
foregroundColor optionsforegroundColor lastWindowControlColorsforegroundColor
optionsbackgroundColor optionsforegroundColor
lastWindowControlColors backgroundColor foregroundColor
effectiveBackgroundColor windowControlsDimmed backgroundColor backgroundColor backgroundColor
effectiveForegroundColor windowControlsDimmed foregroundColor foregroundColor foregroundColor
win
color effectiveBackgroundColor effectiveBackgroundColor
symbolColor effectiveForegroundColor effectiveForegroundColor
height optionsheight optionsheight
isMacintosh optionsheight
buttonHeight
offset Mathoptionsheight buttonHeight
offset
win
win x offset y offset
color
parsed ColorFormatcolor
parsed
color
dimFactor
r Mathparsedrgbar dimFactor
g Mathparsedrgbag dimFactor
b Mathparsedrgbab dimFactor
transientIsNativeFullScreen
joinNativeFullScreenTransition DeferredPromise
isFullScreen
fullscreen fromRestore
configurationService
fullscreen fromRestore
fullscreen
isMacintosh transientIsNativeFullScreen
transientIsNativeFullScreen
win win
isFullScreen win
isSimpleFullScreen win
isFullScreen isSimpleFullScreen
fullscreen fromRestore
win win
win
win
fullscreen fromRestore
fullscreen fromRestore
isMacintosh
transientIsNativeFullScreen fullscreen
joinNativeFullScreenTransition joinNativeFullScreenTransition
transitioned
joinNativeFullScreenTransitionp
joinNativeFullScreenTransition joinNativeFullScreenTransition
transientIsNativeFullScreen
joinNativeFullScreenTransition
transitioned fullscreen fromRestore win win
logService
_onDidLeaveFullScreen
win win
winfullscreen
fullscreen
win win
win
winfullscreen
winwebContents
webContents electronWebContents
override
_win
_onWillLoad
onWillLoad _onWillLoadevent
_onDidSignalReady
onDidSignalReady _onDidSignalReadyevent
_onDidDestroy
onDidDestroy _onDidDestroyevent
_id
_id
override _win electronBrowserWindow
_configbackupPath
IWorkspaceIdentifier ISingleFolderWorkspaceIdentifier _configworkspace
IUserDataProfile
config
profile userDataProfilesServiceprofilesprofile profileid configprofilesprofileid
isExtensionDevelopmentHost profile
profile
userDataProfilesServiceconfigworkspace backupPath isExtensionDevelopmentHost userDataProfilesServicedefaultProfile
_configremoteAuthority
_config INativeWindowConfiguration
INativeWindowConfiguration _config
_configextensionDevelopmentPath
_configextensionTestsPath
isExtensionDevelopmentHost isExtensionTestHost _configdebugId
windowState IWindowState
currentMenuBarVisibility MenuBarVisibility
whenReadyCallbacks window ICodeWindow
touchBarGroups electronTouchBarSegmentedControl
currentHttpProxy
currentNoProxy
customZoomLevel
configObjectUrl IIPCObjectUrlINativeWindowConfiguration
pendingLoadConfig INativeWindowConfiguration
wasLoaded
jsCallStackMap Map
jsCallStackEffectiveSampleCount
jsCallStackCollector Delayer
jsCallStackCollectorStopScheduler RunOnceScheduler
config IWindowCreationOptions
logService ILogService
loggerMainService ILoggerMainService
environmentMainService IEnvironmentMainService
policyService IPolicyService
userDataProfilesService IUserDataProfilesMainService
fileService IFileService
applicationStorageMainService IApplicationStorageMainService
storageMainService IStorageMainService
configurationService IConfigurationService
themeMainService IThemeMainService
workspacesManagementMainService IWorkspacesManagementMainService
backupMainService IBackupMainService
telemetryService ITelemetryService
dialogMainService IDialogMainService
lifecycleMainService ILifecycleMainService
productService IProductService
protocolMainService IProtocolMainService
windowsMainService IWindowsMainService
stateService IStateService
instantiationService IInstantiationService
configurationService stateService environmentMainService logService
configObjectUrl protocolMainService
state hasMultipleDisplays configstate
windowState state
logService state
webPreferences electronWebPreferences
preload FileAccessfsPath
additionalArguments
v8CacheOptions environmentMainServiceuseCodeCache
configisSessionsWindow
webPreferencesbackgroundThrottling
options instantiationServicedefaultBrowserWindowOptions windowState webPreferences
_win options
_id _winid
_win options
windowState hasMultipleDisplays
_lastFocusTime Date
sampleInterval environmentMainServiceargs
samplePeriod environmentMainServiceargs
sampleInterval samplePeriod sampleInterval samplePeriod
logService
sampleInterval
samplePeriod
jsCallStackMap
jsCallStackEffectiveSampleCount MathsamplePeriod sampleInterval
jsCallStackCollector sampleInterval
jsCallStackCollectorStopScheduler
samplePeriod
readyState ReadyState
logService
readyState ReadyState
whenReadyCallbackslength
whenReadyCallbacks
_onDidSignalReady
ICodeWindow
resolve
isReady
whenReadyCallbacksresolve
readyState ReadyState
resolve
closeListener
loadListener
closeListener
loadListener
Event_win WindowError
Event_win WindowError
Event_winwebContents event details detailsdetails WindowError details
Event_winwebContents event exitCode reason exitCode reason exitCode reason WindowError reason exitCode
Event_winwebContents event event
Event_winwebContents
pendingLoadConfig
_config pendingLoadConfig
pendingLoadConfig
_config
_configmaximized
_config
_configmaximized
CancellationTokenNone
CancellationTokenNone
configurationServicee e
workspacesManagementMainServicee e
urls
productServiceextensionsGalleryserviceUrl
serviceUrl productServiceextensionsGalleryserviceUrl
urls
_winwebContentssessionwebRequest urls details cb
headers
cancel requestHeaders ObjectdetailsrequestHeaders headers
marketplaceHeadersPromise object
object
marketplaceHeadersPromise
marketplaceHeadersPromise
productServiceversion
productService
environmentMainService
configurationService
fileService
applicationStorageMainService
telemetryService
marketplaceHeadersPromise
error WindowError
error WindowError
error WindowError details reason exitCode
error WindowError details reason exitCode
type WindowError details reason exitCode
type
WindowError
logService
WindowError
logService
WindowError
logService
WindowError
logService
type classification purpose comment
reason classification purpose comment
code classification purpose comment
owner
comment
type WindowError
reason
code
telemetryService
type
reason detailsreason
code detailsexitCode
type
WindowError
WindowError
isExtensionDevelopmentTestFromCli
lifecycleMainService
environmentMainServiceargs
lifecycleMainService
type WindowError
isExtensionDevelopmentHost isExtensionTestHost _winwebContents
jsCallStackCollector
jsCallStackCollectorStopScheduler
response checkboxChecked dialogMainService
type
buttons
key comment
key comment
key comment
message
detail
checkboxLabel _configworkspace
_win
response
reopen response
reopen checkboxChecked
type WindowError
message
details
message
message detailsreason detailsexitCode
response checkboxChecked dialogMainService
type
buttons
_configworkspace key comment key comment
key comment
message
detail _configworkspace
checkboxLabel _configworkspace
_win
reopen response
reopen checkboxChecked
WindowError
reopen skipRestoreEditors
workspace _configworkspace
skipRestoreEditors workspace
workspaceStorage storageMainServiceworkspace
workspaceStorage
workspaceStorage
workspaceStorage
error
logServiceerror
_onDidDestroy
reopen _config
uriToOpen IWorkspaceToOpen IFolderToOpen
forceEmpty
workspace
uriToOpen folderUri workspaceuri
workspace
uriToOpen workspaceUri workspaceconfigPath
forceEmpty
window windowsMainService
context OpenContext
userEnv _configuserEnv
cli
environmentMainServiceargs
_
urisToOpen uriToOpen uriToOpen
forceEmpty
forceNewWindow
remoteAuthority remoteAuthority
window
_win
workspace IWorkspaceIdentifier
_configworkspaceid workspaceid
_configworkspace
e IConfigurationChangeEvent
isMacintosh e e
swipeToNavigate configurationService
swipeToNavigate
swipeListenerDisposable
e eMenuSettingsMenuBarVisibility
newMenuBarVisibility
newMenuBarVisibility currentMenuBarVisibility
currentMenuBarVisibility newMenuBarVisibility
newMenuBarVisibility
e e e
inspect configurationService
newHttpProxy inspectuserLocalValue
processenv processenv processenv processenv
newHttpProxy
uri newHttpProxy
i uriauthority
i
newHttpProxy uri authority uriauthorityi
newHttpProxy
newHttpProxy newHttpProxy newHttpProxylength
newNoProxy configurationService item item
processenv processenv
newHttpProxy newHttpProxy currentHttpProxy newNoProxy currentNoProxy
currentHttpProxy newHttpProxy
currentNoProxy newNoProxy
proxyRules newHttpProxy
proxyBypassRules newNoProxy
logService
_winwebContentssession proxyRules proxyBypassRules pacScript
electronapp proxyRules proxyBypassRules pacScript
swipeListenerDisposable
swipeListenerDisposablevalue Event_win event ElectronEvent cmd cmdcmd
isReady
cmd
id from
cmd
id from
window ICodeWindow
isMacintosh windowwin
_winwindowwin
configuration INativeWindowConfiguration options ILoadOptions Object
logService
optionsisReload backupMainService
optionsisReload
_winproductServicenameLong
configuration options
readyState ReadyState
_config configuration
pendingLoadConfig configuration
readyState ReadyState
windowUrl
processenv processenv
windowUrl processenv
configurationisSessionsWindow
windowUrl FileAccess
windowUrl FileAccess
_winwindowUrl
wasLoaded wasLoaded
wasLoaded
environmentMainServiceisBuilt environmentMainServiceextensionTestsLocationURI
_win _win _win
_win
mode FocusModeForce
_winwebContents
_onWillLoad workspace configurationworkspace reason optionsisReload LoadReason wasLoaded LoadReason LoadReason
configuration INativeWindowConfiguration options ILoadOptions
currentUserEnv _config pendingLoadConfiguserEnv
currentUserEnv
shouldPreserveLaunchCliEnvironment currentUserEnv configurationuserEnv
shouldPreserveDebugEnvironmnet isExtensionDevelopmentHost
shouldPreserveLaunchCliEnvironment shouldPreserveDebugEnvironmnet
configurationuserEnv currentUserEnv configurationuserEnv
processenv
ObjectconfigurationuserEnv
processenv
optionsdisableExtensions
configuration optionsdisableExtensions
configurationhandle VSBuffer_win
error
logService
configurationfullscreen isFullScreen
configurationmaximized _win
configurationpartsSplash themeMainServiceconfigurationworkspace
configurationzoomLevel
configurationisCustomZoomLevel customZoomLevel
configurationisCustomZoomLevel configurationpartsSplash
configurationpartsSplashzoomLevel configurationzoomLevel
configurationperfMarks
configObjectUrlconfiguration
cli NativeParsedArgs
configuration Object _config
configurationworkspace configuration
configurationfilesToOpenOrCreate
configurationfilesToDiff
configurationfilesToMerge
configurationfilesToWait
isExtensionDevelopmentHost cli
configurationverbose cliverbose
configurationdebugId clidebugId
configurationextensionEnvironment cliextensionEnvironment
configuration cli
configuration cli
configuration cli
configurationaccessibilitySupport electronapp
configurationisInitialStartup
configurationpoliciesData policyService
configurationcontinueOn environmentMainServicecontinueOn
configurationprofiles
all userDataProfilesServiceprofiles
profile profile userDataProfilesServicedefaultProfile
home userDataProfilesServiceprofilesHome
configurationlogLevel loggerMainService
configurationloggers loggerMainService
configuration isReload disableExtensions cli
configuration INativeWindowConfiguration IWorkspaceIdentifier ISingleFolderWorkspaceIdentifier
configurationworkspace
configPath configurationworkspaceconfigPath
configPathscheme Schemasfile
workspaceExists fileServiceconfigPath
workspaceExists
configurationworkspace
uri configurationworkspaceuri
urischeme Schemasfile
folderExists fileServiceuri
folderExists
configurationworkspace
IWindowState
_win
isFullScreen
display electronDisplay
display electronscreen
error
defaultState
mode WindowModeFullscreen
display display displayid
width windowStatewidth defaultStatewidth
height windowStateheight defaultStateheight
x windowStatex
y windowStatey
zoomLevel customZoomLevel
state IWindowState Object
mode WindowMode
isMacintosh _win
mode WindowModeMaximized
mode WindowModeNormal
mode WindowModeMaximized
statemode WindowModeMaximized
statemode WindowModeNormal
mode WindowModeNormal mode WindowModeMaximized
bounds electronRectangle
mode WindowModeNormal
bounds
bounds _win
statex boundsx
statey boundsy
statewidth boundswidth
stateheight boundsheight
statezoomLevel customZoomLevel
state
state IWindowState IWindowState
hasMultipleDisplays
state
customZoomLevel statezoomLevel
displays electronscreen
hasMultipleDisplays displayslength
state WindowStateValidatorlogService state displays
err
logService
state hasMultipleDisplays
electronRectangle
x y _win
width height _win
x y width height
override fullscreen fromRestore
fullscreen fromRestore
fullscreen CancellationTokenNone
currentMenuBarVisibility
currentMenuBarVisibility
MenuBarVisibility
menuBarVisibility configurationService
menuBarVisibility
menuBarVisibility
menuBarVisibility
visibility MenuBarVisibility notify
isMacintosh
visibility
notify
visibility
visibility
visibility
visibility MenuBarVisibility
isFullscreen isFullScreen
visibility
_winisFullscreen
_winautoHideMenuBar isFullscreen
_win
_winautoHideMenuBar
_win
_winautoHideMenuBar
_win
_winautoHideMenuBar
zoomLevel
customZoomLevel zoomLevel
customZoomLevel
customZoomLevel
windowSettings configurationService
windowSettingszoomLevel
_win
channel token CancellationToken args
isReady
channel args
tokenisCancellationRequested
channel args
channel args
_win
_win _winwebContents
logService
_winwebContentschannel args
error
logService
groups ISerializableCommandAction
isMacintosh
touchBarGroupstouchBarGroup index
commands groupsindex
touchBarGroupsegments commands
isMacintosh
i i i
groupTouchBar
touchBarGroupsgroupTouchBar
_win items touchBarGroups
items ISerializableCommandAction electronTouchBarSegmentedControl
segments items
control TouchBar
segments
mode
segmentStyle
selectedIndex
CancellationTokenNone id controlsegmentsselectedIndex ITouchBarSegmentid from
control
items ISerializableCommandAction ITouchBarSegment
segments ITouchBarSegment itemsitem
icon electronNativeImage
itemicon ThemeIconitemicon itemicondarkscheme Schemasfile
icon electronnativeImageitemicondarkfsPath
icon
icon
title
itemtitle
title itemtitle
title itemtitlevalue
id itemid
label icon title
icon
segments
jsCallStackCollector
stack _winwebContentsmainFrame
stack
count jsCallStackMapstack
jsCallStackMapstack count
jsCallStackCollector
jsCallStackCollectorStopScheduler
jsCallStackCollector
jsCallStackMapsize
logMessage
samples
sortedEntries jsCallStackMap
a b b a
stack count sortedEntries
samples count
Mathcount jsCallStackEffectiveSampleCount
fakeError stack id _winwebContents
errorHandlerfakeError
logMessage
logMessage
logMessage
logServicelogMessage
jsCallStackMap
webContents electronWebContents
_winwebContentsid webContentsid
override
loggerMainServiceid
sample windowId pid
stackTraceLimit ErrorstackTraceLimit
ErrorstackTraceLimit
ErrorstackTraceLimit stackTraceLimit
name
stack sample