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, Position, 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 } from '../../../vscodeTypes';
import { BaseAlternativeNotebookContentProvider } from './alternativeContentProvider';
import { AlternativeNotebookDocument }
getCellIdMap getDefaultLanguage LineOfCellText LineOfText summarize SummaryCell
cell SummaryCell lineComment
cellIdStr cellid
line
line
text cellOffsetMap offset sourceOffset cell NotebookCell notebook NotebookDocument
text notebook
override cell NotebookCell position Position Position
cellSummary cell
lineCommentStart notebook
cellMarker cellSummary lineCommentStart
eolLength celldocumenteol EndOfLine
blockComment notebook
alternativeContentText
offsetInCell celldocumentposition
markdownOffset cellkind NotebookCellKindMarkup blockCommentlength eolLength
offset alternativeContentTextcellMarker cellMarkerlength eolLength markdownOffset offsetInCell
offset
override position Position cell NotebookCell position Position
offset position
cell cellOffsetMap cell cellsourceOffset offset
cell
cellPosition cellcelldocumentoffset cellsourceOffset
cell cellcell position cellPosition
text
lines text
lineslength lines
lines
lines
text
override notebook NotebookDocument cellsToInclude NotebookCell existingCodeMarker
blockComment notebook
lineCommentStart notebook
existingCodeMarkerWithComment
lines
notebookcell
cellsToIncludecell
cellSummary cell
cellSummarysourcelength cellSummarysourcelength
cellSummarysource cellSummarysource existingCodeMarkerWithComment
cellSummarysourcelength cellSummarysourceline linelength
cellSummarysource existingCodeMarkerWithComment cellSummarysourceline linelength existingCodeMarkerWithComment
cellSummarysource existingCodeMarkerWithComment
linescellSummary lineCommentStart blockCommentcontent
lineslength lineslineslength existingCodeMarkerWithComment
linesexistingCodeMarkerWithComment
lines
override async notebookOrUri NotebookDocument Uri inputStream AsyncIterableLineOfText token CancellationToken AsyncIterableLineOfCellText
isNotebook notebookOrUri
cellIdMap isNotebook notebookOrUri
inMarkdownCell
isInTripleQuotes
pendingTripleQuotes
emittedStart
cellIndex
lineCommentStart isNotebook notebookOrUri
blockComment isNotebook notebookOrUri
defaultLanguage isNotebook notebookOrUrilanguageId
cellIdsSeen
lineOfText inputStream
tokenisCancellationRequested
line lineOfTextvalue
isLineCommentForEmptyCellWithoutCellMarker line line
isLineCommentWithCellMarker line
cellParts isLineCommentWithCellMarker isLineCommentForEmptyCellWithoutCellMarker line defaultLanguage
isLineCommentWithCellMarker isLineCommentForEmptyCellWithoutCellMarker cellPartslanguage
pendingTripleQuotes
pendingTripleQuotes
lineOfCellText LineOfCellText emitted Boolean index uri language kind NotebookCellKindCode emitted type
lineOfCellTextindex cellIndex
lineOfCellTextemitted
cellPartsid cellIdMapcellPartsiddocumentlanguageId cellPartslanguage
cellIdsSeencellPartsid
cellPartsid
cellIdsSeencellPartsid
cellPartsid
cell cellIdMapcellPartsid
lineOfCellTextid cellPartsid
lineOfCellTextlanguage cellPartslanguage
lineOfCellTexturi celldocumenturi
lineOfCellTextkind cellkind lineOfCellTextlanguage NotebookCellKindMarkup NotebookCellKindCode
inMarkdownCell lineOfCellTextlanguage
isInTripleQuotes
emittedStart
index cellIndex type
emittedStart
lineOfCellText
emittedStart
inMarkdownCell
isInTripleQuotes
line blockComment
isInTripleQuotes
index cellIndex line type
line blockComment
isInTripleQuotes
pendingTripleQuotes
index cellIndex line type
index cellIndex line type
emittedStart
index cellIndex type
override text notebook NotebookDocument AlternativeNotebookDocument
blockComment notebook
lineCommentStart notebook
cellIdMap notebook
cellOffsetMap offset sourceOffset cell NotebookCell
lines text
currentOffset
i i lineslength i
line linesi
isLineCommentForEmptyCellWithoutCellMarker line line
isLineCommentWithCellMarker line
isLineCommentWithCellMarker isLineCommentForEmptyCellWithoutCellMarker
cellParts line
cellParts
cell cellIdMapcellPartsid notebookc
cdocumentlanguageId cellPartslanguage
cellOffsetMapentry entrycell c
cell
offset currentOffset
eolLength length
isMarkdown cellPartslanguage
sourceOffset offset linelength eolLength isMarkdown blockCommentlength eolLength
cellOffsetMap offset sourceOffset cell
currentOffset linelength length
text cellOffsetMap notebook
override notebook NotebookDocument excludeMarkdownCells AlternativeNotebookDocument
cells notebookcell excludeMarkdownCells cellkind NotebookCellKindMarkup cell cell
blockComment notebook
lineCommentStart notebook
cellContent cellscell cell lineCommentStart blockComment cell notebookcellindex
content cellContentcell cellcontent
cellOffsetMap cellContentcellContent
offset contentcellContentcontent
sourceOffset offset cellContentprefixlength
offset sourceOffset cell notebookcellContentcellindex
content cellOffsetMap notebook
cell SummaryCell lineCommentStart blockComment content prefix
cellMarker cell lineCommentStart
src cellsource
prefix celllanguage
content celllanguage
content prefix
notebook NotebookDocument
notebook
language notebook
languageblockComment
notebook NotebookDocument
notebook
language notebook
languagelineCommentstart
line defaultLanguage id language
idMatch line
languageMatch line
languageMatch
line defaultLanguage
id idMatch idMatch language defaultLanguage
id idMatch idMatch language languageMatch