Это 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{ outdent }from'outdent';import{ afterAll, expect, suite, test }from'vitest';import{
_dispose,
_getNodeToDocument
}from'../../node/parserImpl';import{ WASMLanguage }from'../../node/treeSitterLanguages';import{ srcWithAnnotatedNodeToDoc }from'./getNodeToDocument.util';suite('getNodeToDocument - typescript',()=>{afterAll(()=>
annotatedSrc
WASMLanguageTypeScript
annotatedSrc
result
WASMLanguageTypeScript
startIndex
endIndex
result
result
result
result
result
result
WASMLanguageTypeScript
result
result
result
result
outdent
result
result
outdent
result
result
outdent
result
`
"/**
* This is a comment
*/
<LEXICAL_DECLARATION>const <IDENT>foo</IDENT> = 1;</LEXICAL_DECLARATION>"
`
)
;
}
)
;
test
(
'should return the whole program - function'
,
async
(
)
=>
{
const
=
await
run
(
`
/**
* This is a comment
*/
<<function>> add(a: number, b: number): number {
return a + b;
}
`
,
)
;
expect
(
)
.
toMatchInlineSnapshot
(
`
"/**
* This is a comment
*/
<FUNCTION_DECLARATION>function <IDENT>add</IDENT>(a: number, b: number): number {
return a + b;
}</FUNCTION_DECLARATION>"
`
)
;
}
)
;
test
(
'should return the whole program - class'
,
async
(
)
=>
{
const
=
await
run
(
`
/**
* This is a comment
*/
<<class>> MyClass {
constructor() {}
}
`
,
)
;
expect
(
)
.
toMatchInlineSnapshot
(
`
"/**
* This is a comment
*/
<CLASS_DECLARATION>class <IDENT>MyClass</IDENT> {
constructor() {}
}</CLASS_DECLARATION>"
`