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 type { CancellationToken, NotebookCell, NotebookDocument, Uri } from 'vscode';
import { getLanguage } from '../../../util/common/languages';
import { isUri } from '../../../util/common/types';
import { findLast } from '../../../util/vs/base/common/arraysFind';
import { EndOfLine, NotebookCellKind, Position } from '../../../vscodeTypes';
import { BaseAlternativeNotebookContentProvider } from './alternativeContentProvider';
import { AlternativeNotebookDocument }
getCellIdMap getDefaultLanguage LineOfCellText LineOfText summarize SummaryCell
StartDelimter
StartEmptyCellDelimter
EndDelimter
id
cell SummaryCell
text
textStartDelimter textEndDelimter textStartEmptyCellDelimter
text cellOffsetMap offset cell NotebookCell notebook NotebookDocument
text notebook
override cell NotebookCell position Position Position
cellSummary cell
cellMarker cellSummary
eolLength celldocumenteol EndOfLine
alternativeContentText
offsetInCell celldocumentposition
offset alternativeContentTextcellMarker cellMarkerlength eolLength offsetInCell
offset
override position Position cell NotebookCell position Position
offset position
cell cellOffsetMap cell celloffset offset
cell
cellPosition cellcelldocumentoffset celloffset
cell cellcell position cellPosition
text
lines text
lineslength linesStartDelimter linesStartEmptyCellDelimter
lines
lineslength lineslineslength EndDelimter
lineslineslength lineslineslength lineslineslength EndDelimter
lines
override notebook NotebookDocument cellsToInclude NotebookCell existingCodeMarker
lines
existingCodeMarkerWithComment
notebookcell
cellsToIncludecell
cellSummary cell
linescellSummary
cellSummarysourcelength cellSummarysourcelength
linescellSummarysource
linesexistingCodeMarkerWithComment
cellSummarysourcelength cellSummarysourceline linelength
cellSummarysource existingCodeMarkerWithComment cellSummarysourceline linelength existingCodeMarkerWithComment
linesexistingCodeMarkerWithComment
linesEndDelimter
lineslength lineslineslength existingCodeMarkerWithComment
linesexistingCodeMarkerWithComment
lines
async notebookOrUri NotebookDocument Uri inputStream AsyncIterableLineOfText token CancellationToken AsyncIterableLineOfCellText
isNotebook notebookOrUri
cellIdMap isNotebook notebookOrUri
index
endDelimiterSeen
cellIdsSeen
previousLineEndedWithEndCellMarker
previousLine LineOfCellText
defaultLanguage isNotebook notebookOrUrilanguageId
lineOfText inputStream
tokenisCancellationRequested
line lineOfTextvalue
lineStartDelimter lineStartEmptyCellDelimter index endDelimiterSeen previousLineEndedWithEndCellMarker previousLine
endDelimiterSeen previousLineEndedWithEndCellMarker previousLine
previousLineline previousLineline previousLinelineEndDelimter
previousLine
type index previousLineindex
previousLineEndedWithEndCellMarker
previousLine
index
endDelimiterSeen
lineOfCellText LineOfCellText type index uri language kind NotebookCellKindCode
cellParts line defaultLanguage
cellPartsid cellIdMapcellPartsiddocumentlanguageId cellPartslanguage
cellIdsSeencellPartsid
cellPartsid
cellIdsSeencellPartsid
cellPartsid
cell cellIdMapcellPartsiddocumentlanguageId cellPartslanguage cellIdMapcellPartsid
lineOfCellTextid cellPartsid
lineOfCellTextlanguage cellPartslanguage
lineOfCellTexturi celldocumenturi
lineOfCellTextkind cellkind lineOfCellTextlanguage NotebookCellKindMarkup NotebookCellKindCode
lineOfCellText
lineEndDelimter
previousLineEndedWithEndCellMarker previousLine
previousLine
endDelimiterSeen
previousLineEndedWithEndCellMarker
previousLine
type index
index
previousLineEndedWithEndCellMarker previousLine
previousLine
previousLine
previousLineEndedWithEndCellMarker lineEndDelimter
previousLineEndedWithEndCellMarker
previousLine type index line
type index line
override text notebook NotebookDocument AlternativeNotebookDocument
cellIdMap notebook
cellOffsetMap offset cell NotebookCell
lines text
currentOffset
i i lineslength i
line linesi
lineStartDelimter lineStartEmptyCellDelimter
cellParts line
cell cellIdMapcellPartsid notebookc
cdocumentlanguageId cellPartslanguage
cellOffsetMapentry entrycell c
cell
eolLength length
offset currentOffset linelength eolLength
cellOffsetMap offset cell
currentOffset linelength length
text cellOffsetMap notebook
override notebook NotebookDocument excludeMarkdownCells AlternativeNotebookDocument
cells notebookcell excludeMarkdownCells cellkind NotebookCellKindMarkup cell cell
cellContent cellscell
cellMarker cell
prefix
content prefix cell notebookcellindex
content cellContentcell cellcontent
cellOffsetMap cellContentcellContent offset contentcellContentcontent cellContentprefixlength cell cellContentcell
content cellOffsetMap notebook
line defaultLanguage id language
idMatch line
languageMatch line
languageMatch
line defaultLanguage
id idMatch idMatch language defaultLanguage
id idMatch idMatch language languageMatch