Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/**
* Normalizes the quickSuggestions config value to an object.
* Handles migration from boolean values:
* - `true` -> { commands: 'on', arguments: 'on', unknown: 'on' }
* - `false` -> { commands: 'off', arguments: 'off', unknown: 'off' }
* - object -> passed through as-is
*/
export
function
normalizeQuickSuggestionsConfig
(
:
[
'quickSuggestions'
]
)
:
{
if
(
typeof
===
'boolean'
)
{
return
?
{
:
'on'
,
:
'on'
,
unknown
:
'off'
}
:
{
:
'off'
,
:
'off'
,
unknown
:
'off'
}
;
}
return
;
}
export
const
:
<
>
=
{
[
.
]
:
{
:
true
,
:
localize
(
'suggest.enabled'
,
"Enables terminal IntelliSense suggestions (also known as autocomplete) for supported shells ({0}). This requires {1} to be enabled and working or [manually installed](https://code.visualstudio.com/docs/terminal/shell-integration#_manual-installation-install)."
"Providers are enabled by default. Omit them by setting the id of the provider to `false`."
)
,
:
'object'
,
:
{
}
,
}
,
[
.
]
:
{
:
true
,
:
localize
(
'suggest.quickSuggestions'
,
"Controls whether suggestions should automatically show up while typing. Also be aware of the {0}-setting which controls if suggestions are triggered by special characters."
'Enable quick suggestions for commands, the first word in a command line input.'
)
,
:
'string'
,
enum
:
[
'on'
,
'off'
]
,
}
,
:
{
:
localize
(
'suggest.quickSuggestions.arguments'
,
'Enable quick suggestions for arguments, anything after the first word in a command line input.'
)
,
:
'string'
,
enum
:
[
'on'
,
'off'
]
,
}
,
unknown
:
{
:
localize
(
'suggest.quickSuggestions.unknown'
,
'Enable quick suggestions when it\'s unclear what the best suggestion is, if this is on files and folders will be suggested as a fallback.'
)
,
:
'string'
,
enum
:
[
'on'
,
'off'
]
,
}
,
}
,
:
false
,
default
:
{
:
'off'
,
:
'off'
,
unknown
:
'off'
,
}
,
}
,
[
.
]
:
{
:
true
,
:
localize
(
'suggest.suggestOnTriggerCharacters'
,
"Controls whether suggestions should automatically show up when typing trigger characters."
)
,
:
'boolean'
,
default
:
false
,
}
,
[
.
]
:
{
:
true
,
:
localize
(
'suggest.runOnEnter'
,
"Controls whether suggestions should run immediately when `Enter` (not `Tab`) is used to accept the result."
)
,
enum
:
[
'never'
,
'exactMatch'
,
'exactMatchIgnoreExtension'
,
'always'
]
,
:
[
localize
(
'runOnEnter.never'
,
"Never run on `Enter`."
)
,
localize
(
'runOnEnter.exactMatch'
,
"Run on `Enter` when the suggestion is typed in its entirety."
)
,
localize
(
'runOnEnter.exactMatchIgnoreExtension'
,
"Run on `Enter` when the suggestion is typed in its entirety or when a file is typed without its extension included."
)
,
localize
(
'runOnEnter.always'
,
"Always run on `Enter`."
)
]
,
default
:
'never'
,
}
,
[
.
]
:
{
:
localize
(
'terminal.integrated.selectionMode'
,
"Controls how suggestion selection works in the integrated terminal."
)
,
:
'string'
,
enum
:
[
'partial'
,
'always'
,
'never'
]
,
:
[
localize
(
'terminal.integrated.selectionMode.partial'
,
"Partially select a suggestion when automatically triggering IntelliSense. `Tab` can be used to accept the first suggestion, only after navigating the suggestions via `Down` will `Enter` also accept the active suggestion."
)
,
localize
(
'terminal.integrated.selectionMode.always'
,
"Always select a suggestion when automatically triggering IntelliSense. `Enter` or `Tab` can be used to accept the first suggestion."
)
,
localize
(
'terminal.integrated.selectionMode.never'
,
"Never select a suggestion when automatically triggering IntelliSense. The list must be navigated via `Down` before `Enter` or `Tab` can be used to accept the active suggestion."
)
,
]
,
default
:
'partial'
,
}
,
[
.
]
:
{
:
true
,
:
localize
(
"terminalWindowsExecutableSuggestionSetting"
,
"A set of windows command executable extensions that will be included as suggestions in the terminal.\n\nMany executables are included by default, listed below:\n\n{0}.\n\nTo exclude an extension, set it to `false`\n\n. To include one not in the list, add it and set it to `true`."
,
.
sort
(
)
.
map
(
=>
`- ${extension}`
)
.
join
(
'\n'
)
,
)
,
:
'object'
,
default
:
{
}
,
}
,
[
.
]
:
{
:
true
,
:
localize
(
'suggest.showStatusBar'
,
"Controls whether the terminal suggestions status bar should be shown."
)
,
:
'boolean'
,
default
:
true
,
}
,
[
.
]
:
{
:
true
,
:
localize
(
'suggest.cdPath'
,
"Controls whether to enable $CDPATH support which exposes children of the folders in the $CDPATH variable regardless of the current working directory. $CDPATH is expected to be semi colon-separated on Windows and colon-separated on other platforms."
)
,
:
'string'
,
enum
:
[
'off'
,
'relative'
,
'absolute'
]
,
:
[
localize
(
'suggest.cdPath.off'
,
"Disable the feature."
)
,
localize
(
'suggest.cdPath.relative'
,
"Enable the feature and use relative paths."
)
,
localize
(
'suggest.cdPath.absolute'
,
"Enable the feature and use absolute paths. This is useful when the shell doesn't natively support `$CDPATH`."
)
,
]
,
default
:
'absolute'
,
}
,
[
.
]
:
{
:
true
,
:
localize
(
'suggest.inlineSuggestion'
,
"Controls whether the shell's inline suggestion should be detected and how it is scored."
"Enable the feature and sort the inline suggestion without forcing it to be on top. This means that exact matches will be above the inline suggestion."
)
,
localize
(
'suggest.inlineSuggestion.alwaysOnTop'
,
"Enable the feature and always put the inline suggestion on top."
)
,
]
,
default
:
'alwaysOnTop'
,
}
,
[
.
]
:
{
:
true
,
:
localize
(
'suggest.upArrowNavigatesHistory'
,
"Determines whether the up arrow key navigates the command history when focus is on the first suggestion and navigation has not yet occurred. When set to false, the up arrow will move focus to the last suggestion instead."
)
,
:
'boolean'
,
default
:
true
,
}
,
[
.
]
:
{
:
true
,
:
localize
(
'suggest.insertTrailingSpace'
,
"Controls whether a space is automatically inserted after accepting a suggestion and re-trigger suggestions. Folders and symbolic link folders will never have a trailing space added."
)
,
:
'boolean'
,
default
:
false
,
}
,
}
;
export
interface
ITerminalSuggestProviderInfo
{
:
string
;
?
:
string
;
}
let
:
|
undefined
;
export
function
registerTerminalSuggestProvidersConfiguration
(
?
:
<
string
,
>
)
{
const
=
;
??=
new
Map
(
)
;
if
(
!
.
has
(
'lsp'
)
)
{
.
set
(
'lsp'
,
{
:
'lsp'
,
:
localize
(
'suggest.provider.lsp.description'
,
'Show suggestions from language servers.'
)
}
)
;
}
const
:
<
>
=
{
}
;
for
(
const
of
Array
.
from
(
.
keys
(
)
)
.
sort
(
)
)
{
[
]
=
{
:
'boolean'
,
default
:
===
'lsp'
?
false
:
true
,
:
.
get
(
)
?.
??
localize
(
'suggest.provider.title'
,
"Show suggestions from {0}."
,
)
}
;
}
const
:
<
boolean
>
=
{
}
;
for
(
const
in
)
{
[
]
=
[
]
.
as
boolean
;
}
=
{
:
'terminalSuggestProviders'
,
:
100
,
:
localize
(
'terminalSuggestProvidersConfigurationTitle'
,
"Terminal Suggest Providers"
)
,
:
'object'
,
:
{
[
.
]
:
{
:
true
,
:
localize
(
'suggest.providersEnabledByDefault'
,
"Controls which suggestions automatically show up while typing. Suggestion providers are enabled by default."