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 { CharCode } from '../../../base/common/charCode.js';
import * as strings from '../../../base/common/strings.js';
import { IViewLineTokens, LineTokens } from '../tokens/lineTokens.js';
import { ILanguageIdCodec, IState, ITokenizationSupport, TokenizationRegistry } from '../languages.js';
import { LanguageId } from '../encodedTokenAttributes.js';
import { NullState, nullTokenizeEncoded } from './nullTokenize.js';
import { ILanguageService } from './language.js'
OmitITokenizationSupport
fallback IReducedTokenizationSupport
NullState
buffer hasEOL state IState LanguageIdNull state
languageService ILanguageService text languageId
text languageServicelanguageIdCodec TokenizationRegistrylanguageId fallback
languageService ILanguageService text languageId
languageId
text languageServicelanguageIdCodec fallback
tokenizationSupport TokenizationRegistrylanguageId
text languageServicelanguageIdCodec tokenizationSupport fallback
text viewLineTokens IViewLineTokens colorMap startOffset endOffset tabSize useNbsp
result
charIndex
width
prevIsSpace
tokenIndex tokenCount viewLineTokens tokenIndex tokenCount tokenIndex
tokenEndIndex viewLineTokenstokenIndex
partContent
charIndex tokenEndIndex charIndex endOffset charIndex
charCode textcharIndex
isTab charCode CharCodeTab
width stringscharCode isTab
charIndex startOffset
isTab
remainder width tabSize
width remainder tabSize tabSize remainder
charCode
CharCodeTab
remainder width tabSize
insertSpacesCount remainder tabSize tabSize remainder
width insertSpacesCount
spacesRemaining insertSpacesCount
spacesRemaining
useNbsp prevIsSpace
partContent
prevIsSpace
partContent
prevIsSpace
spacesRemaining
CharCodeLessThan
partContent
prevIsSpace
CharCodeGreaterThan
partContent
prevIsSpace
CharCodeAmpersand
partContent
prevIsSpace
CharCodeNull
partContent
prevIsSpace
CharCode
CharCode
CharCode
CharCode
partContent
prevIsSpace
CharCodeCarriageReturn
partContent
prevIsSpace
CharCodeSpace
useNbsp prevIsSpace
partContent
prevIsSpace
partContent
prevIsSpace
partContent StringcharCode
prevIsSpace
tokenEndIndex startOffset
result
tokenEndIndex endOffset charIndex endOffset startOffset endOffset
result
result
text languageIdCodec ILanguageIdCodec tokenizationSupport IReducedTokenizationSupport
result
lines stringstext
currentState tokenizationSupport
i len lineslength i len i
line linesi
i
result
tokenizationResult tokenizationSupportline currentState
LineTokenstokenizationResulttokens linelength
lineTokens tokenizationResulttokens line languageIdCodec
viewLineTokens lineTokens
startOffset
j lenJ viewLineTokens j lenJ j
type viewLineTokensj
endIndex viewLineTokensj
result
startOffset endIndex
currentState tokenizationResultendState
result
result