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 { $ } from '../../../../../base/browser/dom.js';
import { appendEscapedMarkdownInlineCode, isPortableLinkTarget, isPortableMarkdownTarget } from '../../../../../base/common/htmlContent.js';
import * as marked from '../../../../../base/common/marked/marked.js';
import { IMarkdownEdit, markdownTokensToPlainText, rewriteMarkdownLinks } from '../../../../../base/common/markdownLinks.js';
/**
* Reads the target a rendered chat anchor points at. Clicks route through `data-href`, so that
* attribute carries the semantic target while `href` may be empty or a copy-safe duplicate.
*/
function getLinkTarget(element: Element): string {
return (element.getAttribute element
element Element label
label
element
code
codetextContent label
elementcode
fragment DocumentFragment
changed
anchor fragment
target anchor
target
anchor target
anchor
anchor anchortextContent
changed
image fragment
image
image image
changed
element fragment
element
changed
start end codeRanges start end
codeRangesrange start rangeend end rangestart
markdown
markdown
token
target tokenhref
target
label token markedTokensLinktokens tokentext
label label
tokenrawtarget
title tokentitle
source codeRanges definitionRanges unlocatable
edits IMarkdownEdit
token unlocatable
target tokenhref
target
needle
at sourceneedle at at sourceneedle at
at at needlelength codeRanges
edits start at end at needlelength replacement
editsdefinitionRangesrange range replacement
edits