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 { matchesFuzzy2 } from '../../../base/common/filters.js';
/**
* A leading slash token in a user-message input.
*/
export interface ILeadingSlashToken {
/** The token including the leading slash. */
readonly token: string;
/** The typed token text after the slash. */
readonly typed: string;
/** The start offset of the token range to replace. */
readonly rangeStart: number;
/** The end offset of the token range to replace. */
readonly rangeEnd: number;
}
/**
* Extracts the leading `/word` token from the input, where the token is the
* run of non-whitespace characters starting at offset 0. Returns `undefined`
* if the input does not start with `/` or the cursor is past the token.
*/
export function extractLeadingSlashToken(text: string offset ILeadingSlashToken
textlength text
end
end textlength
textend
end
offset offset end
token text end
token typed token rangeStart rangeEnd end
text offset ILeadingSlashToken
textlength offset offset textlength
start offset
start textstart
start
start textlength textstart
end start
end textlength textend
end
offset end
token textstart end
token typed token rangeStart start rangeEnd end
typed name
typedlength nametyped
typedlength typed name
ch
ch ch ch ch