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 { coalesce } from '../../../base/common/arrays.js';
import { ThrottledDelayer } from '../../../base/common/async.js';
import * as objects from '../../../base/common/objects.js';
import { VSBuffer } from '../../../base/common/buffer.js';
import { getErrorMessage } from '../../../base/common/errors.js';
import { getNodeType, parse, ParseError } from '../../../base/common/json.js';
import { getParseErrorMessage } from '../../../base/common/jsonErrorMessages.js';
import Disposable
FileAccess Schemas
path
platform
basename isEqual joinPath
semver
Severity
localize
IEnvironmentService
IProductVersion Metadata
areSameExtensions computeTargetPlatform getExtensionId getGalleryExtensionId
ExtensionType ExtensionIdentifier IExtensionManifest TargetPlatform IExtensionIdentifier IRelaxedExtensionManifest IExtensionDescription ExtensionIdentifierMap parseEnabledApiProposalNames
validateExtensionManifest
FileOperationResult IFileService toFileOperationResult
createDecorator IInstantiationService
ILogService
IProductService
Emitter Event
revive
ExtensionsProfileScanningError ExtensionsProfileScanningErrorCode IExtensionsProfileScannerService IProfileExtensionsScanOptions IScannedProfileExtension
IUserDataProfile IUserDataProfilesService
IUriIdentityService
localizeManifest
Partial
targetPlatform TargetPlatform
installedTimestamp
size
IRelaxedExtensionManifest __metadata ManifestMetadata
type ExtensionType
isBuiltin
identifier IExtensionIdentifier
manifest IRelaxedExtensionManifest
location
targetPlatform TargetPlatform
publisherDisplayName
metadata Metadata
isValid
validations Severity
preRelease
forceAutoUpdate
ReadonlyIRelaxedScannedExtension manifest IExtensionManifest
id
Translations
a Translations b Translations
a b
aKeys Objecta
bKeys Set
key Objectb
bKeyskey
aKeyslength bKeyssize
key aKeys
akey bkey
bKeyskey
bKeyssize
key message comment
contents
MessageBag
values MessageBag
name
productService IProductService environmentService IEnvironmentService Set
result
id productServicebuiltInExtensionsEnabledWithAutoUpdates
toLowerCaseId id
environmentServiceskipBuiltinExtensionsskipId skipId toLowerCaseId
resulttoLowerCaseId
result
checkControlFile
language
profileLocation
includeInvalid
language
useCache
productVersion IProductVersion
includeInvalid
language
IExtensionsScannerService
_serviceBrand
systemExtensionsLocation
userExtensionsLocation
onDidChangeCache EventExtensionType
systemScanOptions SystemExtensionsScanOptions userScanOptions UserExtensionsScanOptions IScannedExtension
scanOptions SystemExtensionsScanOptions IScannedExtension
scanOptions UserExtensionsScanOptions IScannedExtension
IScannedExtension
existingExtensions IScannedExtension scanOptions ScanOptions IScannedExtension
extensionLocation extensionType ExtensionType scanOptions ScanOptions IScannedExtension
extensionLocations extensionType ExtensionType scanOptions ScanOptions IScannedExtension
extensionLocation extensionType ExtensionType scanOptions ScanOptions IScannedExtension
extensionLocation metadata ManifestMetadata
_serviceBrand
language Translations
_onDidChangeCache
onDidChangeCache _onDidChangeCacheevent
systemExtensionsCachedScanner CachedExtensionsScanner
userExtensionsCachedScanner CachedExtensionsScanner
extensionsScanner ExtensionsScanner
systemExtensionsLocation
userExtensionsLocation
extensionsControlLocation
currentProfile IUserDataProfile
userDataProfilesService IUserDataProfilesService
extensionsProfileScannerService IExtensionsProfileScannerService
fileService IFileService
logService ILogService
environmentService IEnvironmentService
productService IProductService
uriIdentityService IUriIdentityService
instantiationService IInstantiationService
systemExtensionsCachedScanner instantiationServiceCachedExtensionsScanner currentProfile
userExtensionsCachedScanner instantiationServiceCachedExtensionsScanner currentProfile
extensionsScanner instantiationServiceExtensionsScanner
systemExtensionsCachedScanner _onDidChangeCacheExtensionTypeSystem
userExtensionsCachedScanner _onDidChangeCacheExtensionTypeUser
_targetPlatformPromise TargetPlatform
TargetPlatform
_targetPlatformPromise
_targetPlatformPromise fileService logService
_targetPlatformPromise
systemScanOptions SystemExtensionsScanOptions userScanOptions UserExtensionsScanOptions IScannedExtension
system user
systemScanOptions
userScanOptions
system user
scanOptions SystemExtensionsScanOptions IScannedExtension
promises IRelaxedScannedExtension
promisesscanOptionslanguage
promisesscanOptionslanguage scanOptionscheckControlFile
defaultSystemExtensions devSystemExtensions promises
allSystemExtensions defaultSystemExtensions devSystemExtensions
environmentServiceskipBuiltinExtensionslength
skipSet environmentServiceskipBuiltinExtensionsid id
allSystemExtensions allSystemExtensionsext skipSetextidentifierid
allSystemExtensions ExtensionTypeSystem pickLatest
scanOptions UserExtensionsScanOptions IScannedExtension
logService scanOptionsprofileLocation
profileScanOptions IProfileExtensionsScanOptions uriIdentityServiceextUriscanOptionsprofileLocation userDataProfilesServicedefaultProfileextensionsResource bailOutWhenFileNotFound
extensionsScannerInput scanOptionsprofileLocation ExtensionTypeUser scanOptionslanguage profileScanOptions scanOptionsproductVersion
extensionsScanner scanOptionsuseCache extensionsScannerInputdevMode userExtensionsCachedScanner extensionsScanner
extensions IRelaxedScannedExtension
extensions extensionsScannerextensionsScannerInput
error
error errorcode ExtensionsProfileScanningErrorCode
extensions extensionsScannerextensionsScannerInput
error
extensions extensions ExtensionTypeUser includeInvalid scanOptionsincludeInvalid pickLatest
logService extensionslength
extensions
scanOptions includeAllVersions includeInvalid includeInvalid includeAllVersions IScannedExtension
extensionsScannerInput userExtensionsLocation ExtensionTypeUser
extensions extensionsScannerextensionsScannerInput
extensions ExtensionTypeUser includeAllVersions scanOptionsincludeAllVersions includeInvalid scanOptionsincludeInvalid
existingExtensions IScannedExtension scanOptions ScanOptions IScannedExtension
environmentServiceisExtensionDevelopment environmentServiceextensionDevelopmentLocationURI
extensions environmentServiceextensionDevelopmentLocationURIextLoc extLocscheme Schemasfile
extensionDevelopmentLocationURI
input extensionDevelopmentLocationURI ExtensionTypeUser scanOptionslanguage
extensions extensionsScannerinput
extensionsextension
extensiontype existingExtensionse eidentifier extensionidentifiertype extensiontype
extensionsScannerextension input
extensions includeInvalid scanOptionsincludeInvalid pickLatest
extensionLocation extensionType ExtensionType scanOptions ScanOptions IScannedExtension
extensionsScannerInput extensionLocation extensionType scanOptionslanguage
extension extensionsScannerextensionsScannerInput
extension
scanOptionsincludeInvalid extensionisValid
extension
extensionLocation extensionType ExtensionType scanOptions ScanOptions IScannedExtension
extensionsScannerInput extensionLocation extensionType scanOptionslanguage
extensions extensionsScannerextensionsScannerInput
extensions extensionType includeInvalid scanOptionsincludeInvalid pickLatest
extensionLocations extensionType ExtensionType scanOptions ScanOptions IScannedExtension
extensions IRelaxedScannedExtension
extensionLocations extensionLocation
scannedExtensions extensionLocation extensionType scanOptions
extensionsscannedExtensions
extensions extensionType includeInvalid scanOptionsincludeInvalid pickLatest
extensionLocation metaData ManifestMetadata
manifestLocation extensionLocation
content fileServicemanifestLocationvalue
manifest IScannedExtensionManifest content
manifest__metadata manifest__metadata metaData
fileServiceextensionLocation VSBuffermanifest
extensionsProfileScannerServiceuserDataProfilesServicedefaultProfileextensionsResource bailOutWhenFileNotFound
error
error errorcode ExtensionsProfileScanningErrorCode
error
initializeDefaultProfileExtensionsPromise
initializeDefaultProfileExtensionsPromise
initializeDefaultProfileExtensionsPromise
logService userExtensionsLocation
userExtensions includeInvalid
userExtensionslength
extensionsProfileScannerServiceuserExtensionse e emetadata userDataProfilesServicedefaultProfileextensionsResource
fileServiceuserDataProfilesServicedefaultProfileextensionsResource VSBuffer
error
error FileOperationResult
logService userExtensionsLocation error
logService userExtensionsLocation
error
logServiceerror
initializeDefaultProfileExtensionsPromise
initializeDefaultProfileExtensionsPromise
extensions IRelaxedScannedExtension type ExtensionType scanOptions includeAllVersions includeInvalid pickLatest IRelaxedScannedExtension
scanOptionsincludeAllVersions
extensions type ExtensionTypeSystem extensions type ExtensionTypeUser extensions type extensions scanOptionspickLatest
scanOptionsincludeInvalid
extensions extensionsextension extensionisValid
extensionsa b
aLastSegment pathalocationfsPath
bLastSegment pathblocationfsPath
aLastSegment bLastSegment
aLastSegment bLastSegment
system IScannedExtension user IScannedExtension development IScannedExtension targetPlatform TargetPlatform pickLatest IScannedExtension
pick existing IScannedExtension extension IScannedExtension isDevelopment
isDevelopment existingisBuiltin extensionisBuiltin
existingmetadataisApplicationScoped extensionmetadataisApplicationScoped
existingmetadataisApplicationScoped extensionmetadataisApplicationScoped
existingisValid extensionisValid
existingisValid extensionisValid
pickLatest semverexistingmanifestversion extensionmanifestversion
logService
semverexistingmanifestversion extensionmanifestversion
existingtype ExtensionTypeSystem
logService
existingtargetPlatform targetPlatform
logService
isDevelopment
logService
logService
result
systemextension
existing resultextensionidentifierid
existing existing extension
resultextensionidentifierid extension
productBuiltInExtensionsEnabledWithAutoUpdates productService environmentService
userextension
existing resultextensionidentifierid
existing system extensiontype ExtensionTypeSystem
logService
productBuiltInExtensionsEnabledWithAutoUpdatesextensionidentifierid extensionforceAutoUpdate
logService
existing existing extension
resultextensionidentifierid extension
developmentextension
existing resultextensionidentifierid
existing existing extension
resultextensionidentifierid extension
resultextensionidentifierid extension
result
language IRelaxedScannedExtension
logService
extensionsScannerInput systemExtensionsLocation ExtensionTypeSystem language
extensionsScanner extensionsScannerInputdevMode extensionsScanner systemExtensionsCachedScanner
result extensionsScannerextensionsScannerInput
logService resultlength
result
language checkControlFile IRelaxedScannedExtension
devSystemExtensionsList environmentServiceisBuilt productServicebuiltInExtensions
devSystemExtensionsListlength
logService
builtinExtensionControl checkControlFile
devSystemExtensionsLocations
devSystemExtensionsLocation pathpathFileAccessfsPath
extension devSystemExtensionsList
controlState builtinExtensionControlextensionname
controlState
devSystemExtensionsLocationsdevSystemExtensionsLocation extensionname
devSystemExtensionsLocationscontrolState
result devSystemExtensionsLocations location extensionsScanner location ExtensionTypeSystem language
logService resultlength
result
IBuiltInExtensionControl
content fileServiceextensionsControlLocation
contentvalue
error
location profile type ExtensionType language validate profileScanOptions IProfileExtensionsScanOptions productVersion IProductVersion ExtensionScannerInput
translations language platformlanguage
mtime location
applicationExtensionsLocation profile uriIdentityServiceextUrilocation userDataProfilesServicedefaultProfileextensionsResource userDataProfilesServicedefaultProfileextensionsResource
applicationExtensionsLocationMtime applicationExtensionsLocation applicationExtensionsLocation
location
mtime
applicationExtensionsLocation
applicationExtensionsLocationMtime
profile
profileScanOptions
type
validate
productVersionversion
productVersiondate
productServicecommit
environmentServiceisBuilt
language
translations
location
stat fileServicelocation
statmtime
statmtime
err
IProductVersion
version productServiceversion
date productServicedate
location
mtime
applicationExtensionslocation
applicationExtensionslocationMtime
profile
profileScanOptions IProfileExtensionsScanOptions
type ExtensionType
validate
productVersion
productDate
productCommit
devMode
language
translations Translations
input ExtensionScannerInput NlsConfiguration
language inputlanguage
pseudo inputlanguage
devMode inputdevMode
translations inputtranslations
a ExtensionScannerInput b ExtensionScannerInput
alocation blocation
amtime bmtime
aapplicationExtensionslocation bapplicationExtensionslocation
aapplicationExtensionslocationMtime bapplicationExtensionslocationMtime
aprofile bprofile
objectsaprofileScanOptions bprofileScanOptions
atype btype
avalidate bvalidate
aproductVersion bproductVersion
aproductDate bproductDate
aproductCommit bproductCommit
adevMode bdevMode
alanguage blanguage
Translationsatranslations btranslations
language
pseudo
devMode
translations Translations
productQuality
productBuiltInExtensionsEnabledWithAutoUpdates Set
extensionsProfileScannerService IExtensionsProfileScannerService
uriIdentityService IUriIdentityService
fileService IFileService
productService IProductService
environmentService IEnvironmentService
logService ILogService
productQuality productServicequality
productBuiltInExtensionsEnabledWithAutoUpdates productService environmentService
input ExtensionScannerInput IRelaxedScannedExtension
inputprofile
input
input
input ExtensionScannerInput IRelaxedScannedExtension
stat fileServiceinputlocation
statchildrenlength
extensions
statchildren c
cisDirectory
inputtype ExtensionTypeUser cresource
extensionScannerInput cresource inputmtime inputapplicationExtensionslocation inputapplicationExtensionslocationMtime inputprofile inputprofileScanOptions inputtype inputvalidate inputproductVersion inputproductDate inputproductCommit inputdevMode inputlanguage inputtranslations
extensionScannerInput
extensions
a b alocationpath blocationpath
input ExtensionScannerInput IRelaxedScannedExtension
profileExtensions inputlocation input
inputapplicationExtensionslocation uriIdentityServiceextUriinputlocation inputapplicationExtensionslocation
profileExtensions profileExtensionse emetadataisApplicationScoped
applicationExtensions inputapplicationExtensionslocation e emetadataisBuiltin emetadataisApplicationScoped input
profileExtensionsapplicationExtensions
profileExtensions
profileResource extensionInfo IScannedProfileExtension input ExtensionScannerInput IRelaxedScannedExtension
scannedProfileExtensions extensionsProfileScannerServiceprofileResource inputprofileScanOptions
scannedProfileExtensionslength
extensions
scannedProfileExtensions extensionInfo
extensionInfo
extensionScannerInput extensionInfolocation inputmtime inputapplicationExtensionslocation inputapplicationExtensionslocationMtime inputprofile inputprofileScanOptions inputtype inputvalidate inputproductVersion inputproductDate inputproductCommit inputdevMode inputlanguage inputtranslations
extensionScannerInput extensionInfo
extensions
input ExtensionScannerInput IRelaxedScannedExtension
fileServiceinputlocation
extension input
extension extension
input
error
logService error
input ExtensionScannerInput IRelaxedScannedExtension
input ExtensionScannerInput scannedProfileExtension IScannedProfileExtension IRelaxedScannedExtension
input ExtensionScannerInput scannedProfileExtension IScannedProfileExtension IRelaxedScannedExtension
validations Severity
isValid
manifest IScannedExtensionManifest
manifest inputlocation
e
scannedProfileExtension
validationsSeverityError e
isValid
publisher name scannedProfileExtensionidentifierid
manifest
name
publisher
version scannedProfileExtensionversion
engines vscode
inputtype ExtensionTypeSystem
logServicee
manifestpublisher
manifestpublisher
metadata Metadata
scannedProfileExtension
metadata
scannedProfileExtensionmetadata
size manifest__metadatasize
manifest__metadata
metadata
installedTimestamp manifest__metadatainstalledTimestamp
size manifest__metadatasize
targetPlatform manifest__metadatatargetPlatform
manifest__metadata
id manifestpublisher manifestname
identifier metadataid id uuid metadataid id
type metadataisSystem ExtensionTypeSystem inputtype
isBuiltin type ExtensionTypeSystem metadataisBuiltin
manifest inputlocation manifest ExtensionScannerInputinput
error
logService error
extension IRelaxedScannedExtension
type
identifier
manifest
location inputlocation
isBuiltin
targetPlatform metadatatargetPlatform TargetPlatform
publisherDisplayName metadatapublisherDisplayName
metadata
isValid
validations
preRelease metadatapreRelease
forceAutoUpdate productBuiltInExtensionsEnabledWithAutoUpdatesid productQuality
inputvalidate
extension extension input
manifestenabledApiProposals
manifestoriginalEnabledApiProposals manifestenabledApiProposals
manifestenabledApiProposals manifestenabledApiProposals
extension
extension IRelaxedScannedExtension input ExtensionScannerInput IRelaxedScannedExtension
isValid extensionisValid
validations inputproductVersion inputproductDate inputlocation extensionmanifest extensionisBuiltin
severity message validations
severity SeverityError
isValid
logServiceinputlocation message
extensionisValid isValid
extensionvalidations extensionvalidations validations
extension
extensionLocation IScannedExtensionManifest
manifestLocation extensionLocation
content
content fileServicemanifestLocationvalue
error
error FileOperationResult
logServiceextensionLocation manifestLocationpath errormessage
error
manifest IScannedExtensionManifest
manifest content
err
errors ParseError
content errors
e errors
logServiceextensionLocation manifestLocationpath eoffset elength eerror
err
manifest
errorMessage extensionLocation manifestLocationpath
logServiceerrorMessage
errorMessage
manifest
extensionLocation extensionManifest IExtensionManifest nlsConfiguration NlsConfiguration IExtensionManifest
localizedMessages extensionLocation extensionManifest nlsConfiguration
localizedMessages
errors ParseError
defaults localizedMessagesdefault errors
errorslength
errorserror
logServiceextensionLocation localizedMessagesdefaultpath errorerror
extensionManifest
localizedMessages
logServiceextensionLocation localizedMessagesdefaultpath
extensionManifest
localized localizedMessagesvalues Object
logService extensionManifest localized defaults
error
extensionManifest
extensionLocation extensionManifest IExtensionManifest nlsConfiguration NlsConfiguration LocalizedMessages
defaultPackageNLS extensionLocation
reportErrors localized errors ParseError
errorserror
logServiceextensionLocation localizedpath errorerror
reportInvalidFormat localized
logServiceextensionLocation localizedpath
translationId
translationPath nlsConfigurationtranslationstranslationId
translationPath
translationResource translationPath
content fileServicetranslationResourcevalue
errors ParseError
translationBundle TranslationBundle content errors
errorslength
translationResource errors
values defaultPackageNLS
translationBundle
translationResource
values defaultPackageNLS
values translationBundlecontents translationBundlecontentspackage
values values defaultPackageNLS
error
values defaultPackageNLS
exists fileServicedefaultPackageNLS
exists
messageBundle
messageBundle extensionLocation nlsConfiguration
error
messageBundlelocalized
values messageBundleoriginal
messageBundleContent fileServicemessageBundlelocalizedvalue
errors ParseError
messages MessageBag messageBundleContent errors
errorslength
messageBundlelocalized errors
values messageBundleoriginal
messages
messageBundlelocalized
values messageBundleoriginal
values messages messageBundleoriginal
error
values messageBundleoriginal
originalMessageBundle errors ParseError key
originalMessageBundle
originalBundleContent fileServiceoriginalMessageBundlevalue
originalBundleContent errors
error
extensionLocation nlsConfiguration NlsConfiguration localized original
c e
loop locale
toCheck extensionLocation
fileServicetoCheckexists
exists
localized toCheck original extensionLocation
index locale
index
localized extensionLocation original
locale locale index
locale
nlsConfigurationdevMode nlsConfigurationpseudo nlsConfigurationlanguage
localized extensionLocation original
nlsConfigurationlanguage
extensionLocation message
input ExtensionScannerInput
result IRelaxedScannedExtension
input ExtensionScannerInput
cacheValidatorThrottler ThrottledDelayer
_onDidChangeCache
onDidChangeCache _onDidChangeCacheevent
currentProfile IUserDataProfile
userDataProfilesService IUserDataProfilesService
extensionsProfileScannerService IExtensionsProfileScannerService
uriIdentityService IUriIdentityService
fileService IFileService
productService IProductService
environmentService IEnvironmentService
logService ILogService
extensionsProfileScannerService uriIdentityService fileService productService environmentService logService
override input ExtensionScannerInput IRelaxedScannedExtension
cacheFile input
cacheContents cacheFile
input input
cacheContents cacheContentsinput ExtensionScannerInputcacheContentsinput input
logService inputtype ExtensionTypeSystem inputlocation
cacheValidatorThrottler
cacheContentsresultextension
extensionlocation extensionlocation
extension
result input
cacheFile input result
result
cacheFile IExtensionCacheData
cacheRawContents fileServicecacheFile
extensionCacheData IExtensionCacheData cacheRawContentsvalue
result extensionCacheDataresult input extensionCacheDatainput
error
error FileOperationResult
logService cacheFilepath error
cacheFile cacheContents IExtensionCacheData
fileServicecacheFile VSBuffercacheContents
error
logService cacheFilepath error
input
cacheFile input
cacheContents cacheFile
cacheContents
actual cacheContentsresult
expected input
objectsexpected actual
logService actual expected
fileServicecacheFile
_onDidChangeCache
error
logServiceerror
input ExtensionScannerInput
profile input
uriIdentityServiceextUriprofilecacheHome inputtype ExtensionTypeSystem
input ExtensionScannerInput IUserDataProfile
inputtype ExtensionTypeSystem
userDataProfilesServicedefaultProfile
inputprofile
userDataProfilesServicedefaultProfile
uriIdentityServiceextUriinputlocation currentProfileextensionsResource
currentProfile
userDataProfilesServiceprofilesp uriIdentityServiceextUriinputlocation pextensionsResource currentProfile
extension IScannedExtension isUnderDevelopment IExtensionDescription
id extensionmanifestpublisher extensionmanifestname
id
identifier id
isBuiltin extensiontype ExtensionTypeSystem
isUserBuiltin extensiontype ExtensionTypeUser extensionisBuiltin
isUnderDevelopment
extensionLocation extensionlocation
uuid extensionidentifieruuid
targetPlatform extensiontargetPlatform
publisherDisplayName extensionpublisherDisplayName
preRelease extensionpreRelease
extensionmanifest
translationsPromise Translations
systemExtensionsLocation
userExtensionsLocation
userHome
currentProfile IUserDataProfile
userDataProfilesService IUserDataProfilesService
extensionsProfileScannerService IExtensionsProfileScannerService
fileService IFileService
logService ILogService
environmentService IEnvironmentService
productService IProductService
uriIdentityService IUriIdentityService
instantiationService IInstantiationService
systemExtensionsLocation
userExtensionsLocation
userHome
currentProfile
userDataProfilesService extensionsProfileScannerService fileService logService environmentService productService uriIdentityService instantiationService
translationsPromise
platformtranslationsConfigFile
content fileServiceplatformtranslationsConfigFile
contentvalue
err
Object
language Translations
translationsPromise