Это 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{ Disposable }from'../../../../base/common/lifecycle.js';import{ localize, localize2 }from'../../../../nls.js';import{ Action2, MenuId, MenuRegistry, registerAction2 }from'../../../../platform/actions/common/actions.js';import{ IConfigurationService }from'../../../../platform/configuration/common/configuration.js';import{ ContextKeyExpr }from'../../../../platform/contextkey/common/contextkey.js';import{ ServicesAccessor }from'../../../../platform/instantiation/common/instantiation.js';import{ IWorkbenchLayoutService, LayoutSettings ModernUIDensity
IWorkbenchContribution registerWorkbenchContribution2 WorkbenchPhase
setGlobalDefaultScrollbarSize
setNotificationRowHeight
setGlobalPaneHeaderSize
id
layoutAffecting
LayoutDensityMenu
layoutDensityOptions
density ModernUIDensityDefault title
density ModernUIDensityCompact title
MenuRegistryMenuIdGlobalActivity
title
submenu LayoutDensityMenu
group
order
when ContextKeyExpr
index index layoutDensityOptionslength index
option layoutDensityOptionsindex
Action2
id
title optiontitle
toggled ContextKeyExpr optiondensity
menu
id LayoutDensityMenu
order index
override accessor ServicesAccessor
accessorIConfigurationServiceLayoutSettings optiondensity
IModernUIModule
id
id
id
id
id
id
id layoutAffecting
id
id
id
id
id
id
id
id
hasLayoutAffectingModule m mlayoutAffecting
layoutAffectingState
configurationService IConfigurationService
layoutService IWorkbenchLayoutService
layoutAffectingState
configurationServicee
eLayoutSettings eLayoutSettings eLayoutSettings
layoutAffectingState
layoutAffectingState layoutAffectingState
layoutAffectingState layoutAffectingState
layoutService
layoutService container
enabled
container enabled enabled enabled
configurationServiceLayoutSettings
configurationServiceLayoutSettings
configurationServiceLayoutSettings ModernUIDensityCompact
hasLayoutAffectingModule
ModernUIDensityCompact ModernUIDensityDefault
enabled
compact enabled
useUppercaseViewHeaders enabled
enabled
container layoutServicecontainers
container enabled compact useUppercaseViewHeaders
enabled
enabled
container HTMLElement enabled compact useUppercaseViewHeaders
containerclassList enabled
containerclassList compact
containerclassList enabled
containerclassList enabled
containerclassList useUppercaseViewHeaders
enabled
enabled
enabled
enabled
enabled
paneHeaderSize
enabled
paneHeaderSize
paneHeaderSize
override
container layoutServicecontainers
containerclassList
containerclassList
containerclassList
containerclassList
containerclassList
ModernUIContribution ModernUIContribution WorkbenchPhaseBlockRestore
/**
* Whether this module changes layout metrics. Toggling such a module requires
* a workbench relayout; modules without this flag only affect appearance.
*/
readonly
?
:
boolean
;
}
/**
* The primary class toggled when the Modern UI experiment is enabled. Modules
* that can be reused independently also receive dedicated classes below.
*/
/**
* The fixed catalog of built-in Modern UI modules. The CSS for each module
* ships with the product (imported above), and all modules are enabled together
* as part of the Modern UI experiment (`LayoutSettings.MODERN_UI`). This catalog
* tracks per-module metadata such as whether a module affects layout.
*/
const
MODERN_UI_MODULES
:
readonly
[
]
=
[
{
:
'activityBar'
}
,
{
:
'commandCenter'
}
,
{
:
'editorBorder'
}
,
{
:
'fontRamp'
}
,
{
:
'keyboardFocusOnly'
}
,
{
:
'padding'
}
,
{
:
'paneHeaders'
,
:
true
}
,
{
:
'roundedCorners'
}
,
{
:
'sashHandles'
}
,
{
:
'scrollShadows'
}
,
{
:
'shadows'
}
,
{
:
'statusBar'
}
,
{
:
'tabs'
}
,
{
:
'titlebar'
}
,
{
:
'notificationsDialogs'
}
,
]
;
/**
* A contribution that toggles the built-in CSS Modern UI modules on or off
* as a group, based on the `workbench.experimental.modernUI` setting. When the
* Modern UI Update experiment is enabled, all modules are applied together;
* otherwise none are.
*/
export
class
ModernUIContribution
extends
Disposable
implements
IWorkbenchContribution
{
static
readonly
ID
=
'workbench.contrib.modernUI'
;
private
readonly
=
MODERN_UI_MODULES
.
some
(
=>
.
)
;
private
=
'disabled'
;
constructor
(
@IConfigurationService
private
readonly
:
,
@IWorkbenchLayoutService
private
readonly
:
,
)
{
super
(
)
;
this
.
=
this
.
getLayoutAffectingState
(
)
;
// A config change re-applies to every container (the global `update()`
// covers all windows, including auxiliary ones).
this
.
_register
(
this
.
.
onDidChangeConfiguration
(
=>
{
if
(
.
affectsConfiguration
(
.
MODERN_UI
)
||
.
affectsConfiguration
(
.
MODERN_UI_DENSITY
)
||
.
affectsConfiguration
(
.
MODERN_UI_UPPERCASE_VIEW_HEADERS
)
)
{
this
.
update
(
)
;
// Some modules change layout metrics, so a relayout is required once
// their classes and corresponding layout values are updated.
const
=
this
.
getLayoutAffectingState
(
)
;
if
(
!==
this
.
)
{
this
.
=
;
this
.
.
layout
(
)
;
}
}
}
)
)
;
// Apply the current selection to windows opened after startup (e.g.
// auxiliary windows). Subsequent config changes are handled by `update()`.
this
.
_register
(
this
.
.
onDidAddContainer
(
(
{
}
)
=>
{
const
=
this
.
isEnabled
(
)
;
this
.
applyTo
(
,
,
&&
this
.
isCompact
(
)
,
&&
this
.
useUppercaseViewHeaders
(
)
)
;
}
)
)
;
this
.
update
(
)
;
}
private
isEnabled
(
)
:
boolean
{
return
this
.
.
getValue<boolean>
(
.
MODERN_UI
)
===
true
;
}
private
useUppercaseViewHeaders
(
)
:
boolean
{
return
this
.
.
getValue<boolean>
(
.
MODERN_UI_UPPERCASE_VIEW_HEADERS
)
===
true
;
}
private
isCompact
(
)
:
boolean
{
return
this
.
.
getValue<ModernUIDensity>
(
.
MODERN_UI_DENSITY
)
===
.
;
}
private
getLayoutAffectingState
(
)
:
string
{
if
(
!
this
.
isEnabled
(
)
||
!
this
.
)
{
return
'disabled'
;
}
return
this
.
isCompact
(
)
?
.
:
.
;
}
private
update
(
)
:
void
{
const
=
this
.
isEnabled
(
)
;
const
=
&&
this
.
isCompact
(
)
;
const
=
&&
this
.
useUppercaseViewHeaders
(
)
;
this
.
applyPaneHeaderSize
(
)
;
for
(
const
of
this
.
.
)
{
this
.
applyTo
(
,
,
,
)
;
}
this
.
applyScrollbarSize
(
)
;
this
.
applyNotificationRowHeight
(
)
;
}
private
applyTo
(
:
,
:
boolean
,
:
boolean
,
:
boolean
)
:
void
{
.
.
toggle
(
MODERN_UI_CLASS
,
)
;
.
.
toggle
(
MODERN_UI_COMPACT_CLASS
,
)
;
.
.
toggle
(
MODERN_UI_TABS_CLASS
,
)
;
.
.
toggle
(
MODERN_UI_NOTIFICATIONS_DIALOGS_CLASS
,
)
;
.
.
toggle
(
MODERN_UI_UPPERCASE_VIEW_HEADERS_CLASS
,
)
;
}
private
applyScrollbarSize
(
:
boolean
)
:
void
{
setGlobalDefaultScrollbarSize
(
?
MODERN_UI_SCROLLBAR_SIZE
:
DEFAULT_SCROLLBAR_SIZE
)
;
}
private
applyNotificationRowHeight
(
:
boolean
)
:
void
{
setNotificationRowHeight
(
?
COMPACT_NOTIFICATION_ROW_HEIGHT
:
DEFAULT_NOTIFICATION_ROW_HEIGHT
)
;
}
private
applyPaneHeaderSize
(
:
boolean
)
:
void
{
let
=
DEFAULT_PANE_HEADER_SIZE
;
if
(
)
{
=
MODERN_UI_PANE_HEADER_SIZE
;
}
setGlobalPaneHeaderSize
(
)
;
}
dispose
(
)
:
void
{
// Remove the class this contribution added so it leaves no DOM state behind.