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 { StringText } from '../../../util/vs/editor/common/core/text/abstractText';
// TODO: This should probably be language specific
const continuations = [
// Brace control
'\\{',
'\\}',
'\\[',
'\\]',
'\\(',
'\\)',
].concat(
[
// Separators in a multi-line list
// ",", ";", "\\|",
// Multi-line comments
// None
// Keywords for same-level control flow
'then',
'else',
'elseif',
'elif',
'catch',
'finally',
// End keywords
s s
continuationRegex
line
continuationRegexline
line
match line
match match matchlength
matchlength
prev
current
next
doc StringText offset languageId ContextIndentation
docvalue offset languageId
source offset languageId ContextIndentation
prevLines source offset
nextLines sourceoffset
lines start direction
i start
ind
indIdx
ind i i lineslength
ind linesi
indIdx i
i direction
languageId direction
i
trimmedLine linesi
trimmedLine
isSingleLineDocString trimmedLine trimmedLine
isSingleLineDocString
i
i linesi
i
i
ind
i
ind i
ind linesi
indIdx i
i
ind indIdx
current currentIdx prevLines prevLineslength
prev
current currentIdx
i currentIdx i i
ind prevLinesi
ind ind current
ind
next nextLines
prev
current current
next
OfferNextLineCompletion
completion
contextIndentation ContextIndentation
previewText
completionLines completion
isContinuation previewText
lastLineOfPreview previewText
startLine
isContinuation
lastLineOfPreview completionLines
startLine
isContinuation OfferNextLineCompletion completionLines
startLine
isContinuation
startLine
completionLineslength startLine
breakIndentation MathcontextIndentationcurrent contextIndentationnext
i startLine i completionLineslength i
line completionLinesi
i lastLineOfPreview
line lastLineOfPreview line
ind line
ind ind breakIndentation ind breakIndentation line
completionLines ilength
contextIndentation ContextIndentation
previewText
completion
completion
res completion contextIndentation previewText
res res