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 { Constants } from '../../../../base/common/uint.js';
import { EditOperation, ISingleEditOperation } from '../../../common/core/editOperation.js';
import { Position } from '../../../common/core/position.js';
import { Range } from '../../../common/core/range.js';
import { Selection } from '../../../common/core/selection.js';
import { ICommand ICursorStateComputerData IEditOperationBuilder
ITextModel
ILanguageConfigurationService
BlockCommentCommand
ignore
commentStrOffset
ignore
commentStr
commentStrOffset
commentStrLength
supported
shouldRemoveComments
lines ILinePreflightData
supported
IPreflightDataSupported IPreflightDataUnsupported
lineNumber
Type
Toggle
ForceAdd
ForceRemove
_selection Selection
_indentSize
_type Type
_insertSpace
_ignoreEmptyLines
_selectionId
_deltaColumn
_moveEndPositionDown
_ignoreFirstLine
languageConfigurationService ILanguageConfigurationService
selection Selection
indentSize
type Type
insertSpace
ignoreEmptyLines
ignoreFirstLine
_selection selection
_indentSize indentSize
_type type
_insertSpace insertSpace
_selectionId
_deltaColumn
_moveEndPositionDown
_ignoreEmptyLines ignoreEmptyLines
_ignoreFirstLine ignoreFirstLine
model ITextModel startLineNumber endLineNumber languageConfigurationService ILanguageConfigurationService ILinePreflightData
modeltokenizationstartLineNumber
languageId modelstartLineNumber
config languageConfigurationServicelanguageIdcomments
commentStr config configlineCommentToken
commentStr
lines ILinePreflightData
i lineCount endLineNumber startLineNumber i lineCount i
linesi
ignore
commentStr commentStr
commentStrOffset
commentStrLength commentStrlength
lines
type Type insertSpace model ISimpleModel lines ILinePreflightData startLineNumber ignoreEmptyLines ignoreFirstLine languageConfigurationService ILanguageConfigurationService languageId IPreflightData
onlyWhitespaceLines
config languageConfigurationServicelanguageIdcomments
lineCommentNoIndent configlineCommentNoIndent
shouldRemoveComments
type TypeToggle
shouldRemoveComments
type TypeForceAdd
shouldRemoveComments
shouldRemoveComments
i lineCount lineslength i lineCount i
lineData linesi
lineNumber startLineNumber i
lineNumber startLineNumber ignoreFirstLine
lineDataignore
lineContent modellineNumber
lineContentStartOffset stringslineContent
lineContentStartOffset
lineDataignore ignoreEmptyLines
lineDatacommentStrOffset lineCommentNoIndent lineContentlength
onlyWhitespaceLines
offset lineCommentNoIndent lineContentStartOffset
lineDataignore
lineDatacommentStrOffset offset
shouldRemoveComments BlockCommentCommandlineContent lineDatacommentStr offset
type TypeToggle
shouldRemoveComments
type TypeForceAdd
lineDataignore
shouldRemoveComments insertSpace
commentStrEndOffset lineContentStartOffset lineDatacommentStrLength
commentStrEndOffset lineContentlength lineContentcommentStrEndOffset CharCodeSpace
lineDatacommentStrLength
type TypeToggle onlyWhitespaceLines
shouldRemoveComments
i lineCount lineslength i lineCount i
linesiignore
supported
shouldRemoveComments shouldRemoveComments
lines lines
type Type insertSpace model ITextModel startLineNumber endLineNumber ignoreEmptyLines ignoreFirstLine languageConfigurationService ILanguageConfigurationService IPreflightData
lines LineCommentCommandmodel startLineNumber endLineNumber languageConfigurationService
languageId modelstartLineNumber
lines
supported
LineCommentCommandtype insertSpace model lines startLineNumber ignoreEmptyLines ignoreFirstLine languageConfigurationService languageId
model ISimpleModel builder IEditOperationBuilder data IPreflightDataSupported s Selection
ops ISingleEditOperation
datashouldRemoveComments
ops LineCommentCommanddatalines sstartLineNumber
LineCommentCommandmodel datalines sstartLineNumber _indentSize
ops datalines sstartLineNumber
cursorPosition spositionLineNumber spositionColumn
i len opslength i len i
builderopsirange opsitext
Rangeopsirange RangeopsirangecursorPosition
lineContent modelcursorPositionlineNumber
lineContentlength cursorPositioncolumn
_deltaColumn opsitext length
_selectionId builders
model ITextModel s Selection startToken endToken ISingleEditOperation
startLineNumber sstartLineNumber
endLineNumber sendLineNumber
startTokenAllowedBeforeColumn endTokenlength Math
modelsstartLineNumber
sstartColumn
startTokenIndex modelstartLineNumberstartToken startTokenAllowedBeforeColumn
endTokenIndex modelendLineNumberendToken sendColumn startTokenlength
startTokenIndex endTokenIndex
endTokenIndex modelstartLineNumberendToken startTokenIndex startTokenlength
endLineNumber startLineNumber
startTokenIndex endTokenIndex
startTokenIndex modelendLineNumberstartToken endTokenIndex
startLineNumber endLineNumber
s startTokenIndex endTokenIndex
startTokenIndex modelstartLineNumberstartToken
startTokenIndex
endTokenIndex modelstartLineNumberendToken startTokenIndex startTokenlength
startTokenIndex modelstartLineNumberstartTokenIndex startTokenlength CharCodeSpace
startToken
endTokenIndex modelendLineNumberendTokenIndex CharCodeSpace
endToken endToken
endTokenIndex
startTokenIndex endTokenIndex
BlockCommentCommand
startLineNumber startTokenIndex startTokenlength endLineNumber endTokenIndex startToken endToken
model ITextModel builder IEditOperationBuilder s Selection
modeltokenizationsstartLineNumber
languageId modelsstartLineNumber
config languageConfigurationServicelanguageIdcomments
config configblockCommentStartToken configblockCommentEndToken
startToken configblockCommentStartToken
endToken configblockCommentEndToken
ops model s startToken endToken
ops
s
lineContent modelsstartLineNumber
firstNonWhitespaceIndex stringslineContent
firstNonWhitespaceIndex
firstNonWhitespaceIndex lineContentlength
ops BlockCommentCommand
sstartLineNumber firstNonWhitespaceIndex sstartLineNumber lineContentlength
startToken
endToken
_insertSpace
ops BlockCommentCommand
sstartLineNumber modelsstartLineNumber sendLineNumber modelsendLineNumber
startToken
endToken
_insertSpace
opslength
_deltaColumn startTokenlength
_selectionId builders
op ops
builderoprange optext
model ITextModel builder IEditOperationBuilder
s _selection
_moveEndPositionDown
sstartLineNumber sendLineNumber _ignoreFirstLine
builder sstartLineNumber modelsstartLineNumber sstartLineNumber sstartLineNumber model
_selectionId builders
sstartLineNumber sendLineNumber sendColumn
_moveEndPositionDown
s ssendLineNumber modelsendLineNumber
data LineCommentCommand
_type
_insertSpace
model
sstartLineNumber
sendLineNumber
_ignoreEmptyLines
_ignoreFirstLine
languageConfigurationService
datasupported
model builder data s
model builder s
model ITextModel helper ICursorStateComputerData Selection
result helper_selectionId
_moveEndPositionDown
result resultresultendLineNumber
resultselectionStartLineNumber
resultselectionStartColumn _deltaColumn
resultpositionLineNumber
resultpositionColumn _deltaColumn
lines ILinePreflightData startLineNumber ISingleEditOperation
res ISingleEditOperation
i len lineslength i len i
lineData linesi
lineDataignore
resEditOperation
startLineNumber i lineDatacommentStrOffset
startLineNumber i lineDatacommentStrOffset lineDatacommentStrLength
res
lines ILinePreflightData startLineNumber ISingleEditOperation
res ISingleEditOperation
afterCommentStr _insertSpace
i len lineslength i len i
lineData linesi
lineDataignore
resEditOperation startLineNumber i lineDatacommentStrOffset lineDatacommentStr afterCommentStr
res
currentVisibleColumn indentSize isTab columnSize
isTab
currentVisibleColumn indentSize currentVisibleColumn indentSize
currentVisibleColumn columnSize
model ISimpleModel lines IInsertionPoint startLineNumber indentSize
minVisibleColumn Constants
j
lenJ
i len lineslength i len i
linesiignore
lineContent modelstartLineNumber i
currentVisibleColumn
j lenJ linesicommentStrOffset currentVisibleColumn minVisibleColumn j lenJ j
currentVisibleColumn LineCommentCommandcurrentVisibleColumn indentSize lineContentj CharCodeTab
currentVisibleColumn minVisibleColumn
minVisibleColumn currentVisibleColumn
minVisibleColumn MathminVisibleColumn indentSize indentSize
i len lineslength i len i
linesiignore
lineContent modelstartLineNumber i
currentVisibleColumn
j lenJ linesicommentStrOffset currentVisibleColumn minVisibleColumn j lenJ j
currentVisibleColumn LineCommentCommandcurrentVisibleColumn indentSize lineContentj CharCodeTab
currentVisibleColumn minVisibleColumn
linesicommentStrOffset j
linesicommentStrOffset j