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 * as ts from 'typescript';
import lazy from 'lazy.js';
import eventStream from 'event-stream';
import File from 'vinyl';
import sm from 'source-map';
import path from 'path';
import { sort } from './gulp/facade.ts';
import { type ISpan, analyzeLocalizeCalls, TextModel, parseLocalizeKeyOrValue } from './nls-analysis.ts';
type FileWithSourcemap = File & { sourceMap smRawSourceMap
options preserveEnglish NodeJSReadWriteStream
base
input eventStream
output input
eventStream f FileWithSourcemap
fsourceMap
source fsourceMapsources
source
root fsourceMapsourceRoot
root
source pathroot source
typescript fsourceMapsourcesContent
typescript
base fbase
_nlsf typescript options
file
contents Buffer
keys _nlsmoduleToNLSKeys
messages _nlsmoduleToNLSMessages
base
path
contents Buffer_nlsallNLSMessages
base
path
contents Buffer_nlsallNLSModulesAndKeys
base
path
contents Buffer
base
path
file
eventStreaminput output
_nls
moduleToNLSKeys name ILocalizeKey
moduleToNLSMessages name
allNLSMessages
allNLSModulesAndKeys
allNLSMessagesIndex
key
javascript
sourcemap smRawSourceMap
nlsMessages
nlsKeys ILocalizeKey
span ISpan
content
file File contents path filepath
contents Buffercontents
base filebase
cwd filecwd
path path
source lc tsLineAndCharacter smMappedPosition
source line lcline column lccharacter
position smPosition tsLineAndCharacter
line positionline character positioncolumn
patches IPatch contents
model contents
patchesp pspan pcontent
model
patches IPatch rsm smRawSourceMap smc smSourceMapConsumer smRawSourceMap
smg
file rsmfile
sourceRoot rsmsourceRoot
patches patches
currentLine
currentLineDiff
source
smcm
patch patchespatcheslength
original line moriginalLine column moriginalColumn
generated line mgeneratedLine column mgeneratedColumn
currentLine generatedline
currentLineDiff
currentLine generatedline
generatedcolumn currentLineDiff
patch mgeneratedLine patchspanendline mgeneratedColumn patchspanendcharacter
originalLength patchspanendcharacter patchspanstartcharacter
modifiedLength patchcontentlength
lengthDiff modifiedLength originalLength
currentLineDiff lengthDiff
generatedcolumn lengthDiff
patches
source rsmsourceRoot pathrsmsourceRoot msource msource
source source
smg source name mname original generated
smSourceMapConsumer
source
smgsource smcsource
smg
typescript javascript sourcemap smRawSourceMap options preserveEnglish INlsPatchResult
localizeCalls typescript
localize2Calls typescript
localizeCallslength localize2Callslength
javascript sourcemap
nlsKeys localizeCallslc lckeylocalize2Callslc lckey
nlsMessages localizeCallslc lcvalue localize2Callslc lcvalue
smc sourcemap
positionFrom sourcemapsources
toPatch c range ISpan content IPatch
start smccrangestart
end smccrangeend
span start end content ccontent
localizePatches localizeCalls
lc
optionspreserveEnglish
range lckeySpan content
range lckeySpan content
range lcvalueSpan content
toPatch
localize2Patches localize2Calls
lc
range lckeySpan content
toPatch
patches localizePatcheslocalize2Patchesa b
aspanstartline bspanstartline
aspanstartline bspanstartline
aspanstartcharacter bspanstartcharacter
aspanstartcharacter bspanstartcharacter
javascript patches javascript
sourcemap patches sourcemap smc
javascript sourcemap nlsKeys nlsMessages
javascriptFile File typescript options preserveEnglish File
moduleId javascriptFilerelative
javascript sourcemap nlsKeys nlsMessages
typescript
javascriptFilecontents
javascriptFilesourceMap
options
result javascriptFile javascript
resultsourceMap sourcemap
nlsKeys
moduleToNLSKeysmoduleId nlsKeys
allNLSModulesAndKeysmoduleId nlsKeysnlsKey nlsKey nlsKey nlsKeykey
nlsMessages
moduleToNLSMessagesmoduleId nlsMessages
allNLSMessagesnlsMessages
result
moduleToNLSKeys
moduleToNLSMessages
allNLSMessages
allNLSModulesAndKeys
patchFile