Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
// Yes, this is weird. See #116188, #115556, #115511, and now #124146, for examples of what can go wrong here.
:
.
regex
(
'neverMatch'
,
/doesNotMatch/
)
}
,
:
1
}
}
;
// Register search default location to sidebar
.
as<IViewsRegistry>
(
.
)
.
registerViews
(
[
]
,
)
;
// Register Quick Access Handler
const
=
.
as<IQuickAccessRegistry>
(
.
)
;
.
registerQuickAccessProvider
(
{
:
,
:
TEXT_SEARCH_QUICK_ACCESS_PREFIX
,
:
'inTextSearchPicker'
,
:
.
localize
(
'textSearchPickerPlaceholder'
,
"Search for text in your workspace files."
)
,
:
[
{
:
.
localize
(
'textSearchPickerHelp'
,
"Search for Text"
)
,
:
.
.
,
:
25
,
}
]
}
)
;
// Configuration
const
=
.
as<IConfigurationRegistry>
(
.
)
;
.
registerConfiguration
(
{
...
,
:
{
[
SEARCH_EXCLUDE_CONFIG
]
:
{
:
'object'
,
:
.
localize
(
'exclude'
,
"Configure [glob patterns](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) for excluding files and folders in fulltext searches and file search in quick open. To exclude files from the recently opened list in quick open, patterns must be absolute (for example `**/node_modules/**`). Inherits all glob patterns from the `#files.exclude#` setting."
)
,
default
:
{
'**/node_modules'
:
true
,
'**/bower_components'
:
true
,
'**/*.code-search'
:
true
}
,
:
{
:
[
{
:
'boolean'
,
:
.
localize
(
'exclude.boolean'
,
"The glob pattern to match file paths against. Set to true or false to enable or disable the pattern."
'Additional check on the siblings of a matching file. Use \\$(basename) as variable for the matching file name.'
)
}
}
}
]
}
,
:
.
RESOURCE
}
,
[
SEARCH_MODE_CONFIG
]
:
{
:
'string'
,
enum
:
[
'view'
,
'reuseEditor'
,
'newEditor'
]
,
default
:
'view'
,
:
.
localize
(
'search.mode'
,
"Controls where new `Search: Find in Files` and `Find in Folder` operations occur: either in the Search view, or in a search editor."
)
,
:
[
.
localize
(
'search.mode.view'
,
"Search in the Search view, either in the panel or side bars."
)
,
.
localize
(
'search.mode.reuseEditor'
,
"Search in an existing search editor if present, otherwise in a new search editor."
)
,
.
localize
(
'search.mode.newEditor'
,
"Search in a new search editor."
)
,
]
}
,
'search.useIgnoreFiles'
:
{
:
'boolean'
,
:
.
localize
(
'useIgnoreFiles'
,
"Controls whether to use `.gitignore` and `.ignore` files when searching for files."
)
,
default
:
true
,
:
.
RESOURCE
}
,
'search.useGlobalIgnoreFiles'
:
{
:
'boolean'
,
:
.
localize
(
'useGlobalIgnoreFiles'
,
"Controls whether to use your global gitignore file (for example, from `$HOME/.config/git/ignore`) when searching for files. Requires {0} to be enabled."
,
'`#search.useIgnoreFiles#`'
)
,
default
:
false
,
:
.
RESOURCE
}
,
'search.useParentIgnoreFiles'
:
{
:
'boolean'
,
:
.
localize
(
'useParentIgnoreFiles'
,
"Controls whether to use `.gitignore` and `.ignore` files in parent directories when searching for files. Requires {0} to be enabled."
,
'`#search.useIgnoreFiles#`'
)
,
default
:
false
,
:
.
RESOURCE
}
,
'search.quickOpen.includeSymbols'
:
{
:
'boolean'
,
:
.
localize
(
'search.quickOpen.includeSymbols'
,
"Whether to include results from a global symbol search in the file results for Quick Open."
)
,
default
:
false
}
,
'search.ripgrep.maxThreads'
:
{
:
'number'
,
:
.
localize
(
'search.ripgrep.maxThreads'
,
"Number of threads to use for searching. When set to 0, the engine automatically determines this value."
)
,
default
:
0
}
,
'search.quickOpen.includeHistory'
:
{
:
'boolean'
,
:
.
localize
(
'search.quickOpen.includeHistory'
,
"Whether to include results from recently opened files in the file results for Quick Open."
)
,
default
:
true
,
:
{
default
:
false
}
,
}
,
'search.quickOpen.history.filterSortOrder'
:
{
:
'string'
,
enum
:
[
'default'
,
'recency'
]
,
default
:
'default'
,
:
[
.
localize
(
'filterSortOrder.default'
,
'History entries are sorted by relevance based on the filter value used. More relevant entries appear first.'
)
,
.
localize
(
'filterSortOrder.recency'
,
'History entries are sorted by recency. More recently opened entries appear first.'
)
]
,
:
.
localize
(
'filterSortOrder'
,
"Controls sorting order of editor history in quick open when filtering."
)
}
,
'search.followSymlinks'
:
{
:
'boolean'
,
:
.
localize
(
'search.followSymlinks'
,
"Controls whether to follow symlinks while searching."
)
,
default
:
true
}
,
'search.smartCase'
:
{
:
'boolean'
,
:
.
localize
(
'search.smartCase'
,
"Search case-insensitively if the pattern is all lowercase, otherwise, search case-sensitively."
)
,
default
:
false
}
,
'search.globalFindClipboard'
:
{
:
'boolean'
,
default
:
false
,
:
.
localize
(
'search.globalFindClipboard'
,
"Controls whether the Search view should read or modify the shared find clipboard on macOS."
)
,
:
.
}
,
'search.maxResults'
:
{
:
[
'number'
,
'null'
]
,
default
:
DEFAULT_MAX_SEARCH_RESULTS
,
:
.
localize
(
'search.maxResults'
,
"Controls the maximum number of search results, this can be set to `null` (empty) to return unlimited results."
)
}
,
'search.collapseResults'
:
{
:
'string'
,
enum
:
[
'auto'
,
'alwaysCollapse'
,
'alwaysExpand'
]
,
:
[
.
localize
(
'search.collapseResults.auto'
,
"Files with less than 10 results are expanded. Others are collapsed."
)
,
''
,
''
]
,
default
:
'alwaysExpand'
,
:
.
localize
(
'search.collapseAllResults'
,
"Controls whether the search results will be collapsed or expanded."
)
,
}
,
'search.useReplacePreview'
:
{
:
'boolean'
,
default
:
true
,
:
.
localize
(
'search.useReplacePreview'
,
"Controls whether to open Replace Preview when selecting or replacing a match."
)
,
}
,
'search.showLineNumbers'
:
{
:
'boolean'
,
default
:
false
,
:
.
localize
(
'search.showLineNumbers'
,
"Controls whether to show line numbers for search results."
)
,
}
,
'search.actionsPosition'
:
{
:
'string'
,
enum
:
[
'auto'
,
'right'
]
,
:
[
.
localize
(
'search.actionsPositionAuto'
,
"Position the actionbar to the right when the Search view is narrow, and immediately after the content when the Search view is wide."
)
,
.
localize
(
'search.actionsPositionRight'
,
"Always position the actionbar to the right."
)
,
]
,
default
:
'right'
,
:
.
localize
(
'search.actionsPosition'
,
"Controls the positioning of the actionbar on rows in the Search view."
)
}
,
'search.seedWithNearestWord'
:
{
:
'boolean'
,
default
:
false
,
:
.
localize
(
'search.seedWithNearestWord'
,
"Enable seeding search from the word nearest the cursor when the active editor has no selection."
)
}
,
'search.seedOnFocus'
:
{
:
'boolean'
,
default
:
false
,
:
.
localize
(
'search.seedOnFocus'
,
"Update the search query to the editor's selected text when focusing the Search view. This happens either on click or when triggering the `workbench.views.search.focus` command."
)
}
,
'search.sortOrder'
:
{
:
'string'
,
enum
:
[
.
,
.
,
.
,
.
,
.
,
.
]
,
default
:
.
,
:
[
.
localize
(
'searchSortOrder.default'
,
"Results are sorted by folder and file names, in alphabetical order."
)
,
.
localize
(
'searchSortOrder.filesOnly'
,
"Results are sorted by file names ignoring folder order, in alphabetical order."
)
,
.
localize
(
'searchSortOrder.type'
,
"Results are sorted by file extensions, in alphabetical order."
)
,
.
localize
(
'searchSortOrder.modified'
,
"Results are sorted by file last modified date, in descending order."
)
,
.
localize
(
'searchSortOrder.countDescending'
,
"Results are sorted by count per file, in descending order."
)
,
.
localize
(
'searchSortOrder.countAscending'
,
"Results are sorted by count per file, in ascending order."
)
]
,
:
.
localize
(
'search.sortOrder'
,
"Controls sorting order of search results."
)
}
,
'search.decorations.colors'
:
{
:
'boolean'
,
:
.
localize
(
'search.decorations.colors'
,
"Controls whether search file decorations should use colors."
)
,
default
:
true
}
,
'search.decorations.badges'
:
{
:
'boolean'
,
:
.
localize
(
'search.decorations.badges'
,
"Controls whether search file decorations should use badges."
)
,
default
:
true
}
,
'search.defaultViewMode'
:
{
:
'string'
,
enum
:
[
.
,
.
]
,
default
:
.
,
:
[
.
localize
(
'scm.defaultViewMode.tree'
,
"Shows search results as a tree."
)
,
.
localize
(
'scm.defaultViewMode.list'
,
"Shows search results as a list."
)
]
,
:
.
localize
(
'search.defaultViewMode'
,
"Controls the default search result view mode."
)
}
,
'search.quickAccess.preserveInput'
:
{
:
'boolean'
,
:
.
localize
(
'search.quickAccess.preserveInput'
,
"Controls whether the last typed input to Quick Search should be restored when opening it the next time."
"Show notebook editor rich content results for closed notebooks. Please refresh your search results after changing this setting."
)
,
default
:
false
}
,
'search.experimental.useIgnoreFilesInFindFiles'
:
{
:
'boolean'
,
default
:
false
,
:
.
localize
(
'search.experimental.useIgnoreFilesInFindFiles'
,
"When enabled, the legacy `findFiles` extension API honors the user's `#search.useIgnoreFiles#` setting instead of always ignoring `.gitignore`. Extensions that explicitly pass `null` as the `exclude` argument still get unfiltered results. Telemetry is emitted regardless of this setting to help decide future defaults."
)
,
:
[
'experimental'
]
,
}
,
'search.searchView.semanticSearchBehavior'
:
{
:
'string'
,
:
.
localize
(
'search.searchView.semanticSearchBehavior'
,
"Controls the behavior of the semantic search results displayed in the Search view."