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.
*--------------------------------------------------------------------------------------------*/
/*
* NOTE: {@link resolveAddressBarInputType} is a deliberate, self-contained
* APPROXIMATION of Chromium's omnibox parser (`AutocompleteInput::Parse`), not
* a faithful port. It intentionally diverges in places — most notably it uses a
* lightweight "any 2+ letter last label is a TLD" heuristic instead of a Public
* Suffix List lookup — to avoid maintaining large data tables for an address
* bar. Please treat the unit tests in `browserSearch.test.ts` as the
* specification: do not "fix" this to byte-match Chromium. If Chromium's
* behavior changes in a way we care about, re-sync deliberately and update the
* tests.
*/
import { localize } from '../../../../nls.js';
/**
* Identifier of the integrated browser address bar search engine.
*/
export enum BrowserSearchEngineId {
Bing = 'bing',
Google = 'google',
Yahoo = 'yahoo',
DuckDuckGo = 'duckduckgo',
}
export const BrowserSearchEngineSettingId =
'workbench.browser.searchEngine';
/**
* Value of {@link BrowserSearchEngineSettingId} when no search engine is
* selected (address bar search disabled). Selecting any other value both
* enables search and picks the engine.
*/
BrowserSearchEngineId
id BrowserSearchEngineId
label
query
query
query
IBrowserSearchEngine
id BrowserSearchEngineIdBing
label
q
id BrowserSearchEngineIdGoogle
label
q
id BrowserSearchEngineIdYahoo
label
q
id BrowserSearchEngineIdDuckDuckGo
label
q
host
needsUrlParse host host
needsUrlParse
host
hostname
userinfo
host
port
pathAndRest
rest IParsedAuthority
sepMatch rest
authority sepMatch rest sepMatchindex rest
pathAndRest sepMatch restsepMatchindex
userinfo
hostport authority
atIdx authority
atIdx
userinfo authority atIdx
hostport authorityatIdx
host hostport
port
host
end host
end
after hostend
after after
port after
host host end
afterlength
host host end
colonIdx host
colonIdx
maybePort hostcolonIdx
maybePort
port maybePort
host host colonIdx
userinfo host port pathAndRest
host
trimmed host
labels trimmed
labelslength
last labelslabelslength
last
last
last lastlength
last
trimmedlength lastlength
rawInput AddressBarInputKind
trimmed rawInput
trimmedlength
schemeMatch trimmed
candidateScheme schemeMatch
afterScheme schemeMatch trimmedschemeMatchlength
hasSchemeSeparator afterScheme
scheme candidateScheme candidateScheme hasSchemeSeparator
candidateScheme
isHttpScheme scheme scheme
scheme isHttpScheme
scheme
scheme
trimmed
scheme
trimmed trimmed
candidateScheme scheme afterScheme
trimmed trimmed
rest trimmed
scheme
rest trimmedschemeMatchlength
rest
rest rest
userinfo host rawHost port pathAndRest rest
rawHostlength
pathAndRest
host rawHost
host
host host
host
ipv4Match host
ipv4Match
octets ipv4Match Number
octetso o
allZero octetso o
octets allZero
userinfo userinfo isHttpScheme
host
isHttpScheme
pathAndRestlength pathAndRest pathAndRest
port
host
userinfo
hasPath pathAndRest
hasQuery pathAndRest
hasFragment pathAndRest
nonHostComponents hasPath hasQuery hasFragment
nonHostComponents
query
engineId BrowserSearchEngineId
engine
e eid engineId
enginequery
engineId BrowserSearchEngineId
engine
e eid engineId
enginelabel