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 { basename } from '../../../../../base/common/resources.js';
import { URI } from '../../../../../base/common/uri.js';
import { linesDiffComputers } from '../../../../../editor/common/diff/linesDiffComputers.js';
import { ILanguageService } from '../../../../../editor/common/languages/language.js';
import { tokenizeToString } from '../../../../../editor/common/languages/textToHtmlTokenizer.js';
interface IFileDiffLike {
readonly originalURI: URI | undefined;
readonly modifiedURI: URI | undefined
Record
languageService ILanguageService diff IFileDiffLike
uri diffmodifiedURI difforiginalURI
uri
guessed languageServiceuri
guessed guessed
guessed
name uri
ext name namename
ext
languageService ILanguageService text languageId
text
html languageService text languageId
inner html
inner
html
openTag
closeTag
htmlopenTag htmlcloseTag
htmlopenTaglength htmllength closeTaglength
html
lines
line lines
line line
start
end
kind RegexTokenKind
Record LangFamily
javascript javascriptreact
typescript typescriptreact
java csharp go rust
cpp c swift kotlin dart php ruby
python
css scss less
html xml
json jsonc
shellscript powershell
s
s
kind RegexTokenKind text
kind text
text
line lang LangFamily
tokens IRegexToken
pos
len linelength
pos len
matched
commentPfx lang lang
linecommentPfx pos lang line pos
tokens start pos end len kind
pos len
matched
matched lang lang line pos
end line pos
tokenEnd end len end
tokens start pos end tokenEnd kind
pos tokenEnd
matched
matched lang linepos
i pos
i len
linei i
linei i
i
tokens start pos end i kind
pos i
matched
matched linepos linepos
q linepos
i pos
i len
linei i
linei q i
i
tokens start pos end i kind
pos i
matched
matched linepos
m linepos
m
tokens start pos end pos mlength kind
pos mlength
matched
matched linepos
m linepos
m
word m
keywords lang
kind RegexTokenKind keywordsword
tokens start pos end pos wordlength kind
pos wordlength
matched
matched
prevTok tokenstokenslength
prevTok prevTokkind
prevTokend pos
tokens start pos end pos kind
pos
tokenst tkind linetstart tend
text languageId
text
lang LangFamily languageId
textline line lang
type
lineNum
text
header
lines IDiffLine
original modified IDiffHunk
origLines original
modLines modified
result linesDiffComputersorigLines modLines
ignoreTrimWhitespace
maxComputationTimeMs
computeMoves
resultchangeslength
origStart origEnd modStart modEnd
subs Sub
groups Group
change resultchanges
sub Sub
origStart changeoriginalstartLineNumber
origEnd changeoriginalendLineNumberExclusive
modStart changemodifiedstartLineNumber
modEnd changemodifiedendLineNumberExclusive
last groupsgroupslength
lastSub lastsubslastsubslength
lastSub suborigStart lastSuborigEnd
lastsubssub
groups subs sub
hunks IDiffHunk
group groups
first groupsubs
last groupsubsgroupsubslength
origLeading Math firstorigStart
modLeading Math firstmodStart
origTrailing MathorigLineslength lastorigEnd
modTrailing MathmodLineslength lastmodEnd
lines IDiffLine
i origLeading i firstorigStart i
lines type lineNum i text origLinesi
s s groupsubslength s
sub groupsubss
i suborigStart i suborigEnd i
lines type lineNum i text origLinesi
i submodStart i submodEnd i
lines type lineNum i text modLinesi
next groupsubss
next
i suborigEnd i nextorigStart i
lines type lineNum i text origLinesi
i lastorigEnd i origTrailing i
lines type lineNum i text origLinesi
origCount origTrailing origLeading
modCount modTrailing modLeading
hunks
header
lines
hunks