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.
*--------------------------------------------------------------------------------------------*/
/**
* Extracts extension point names from TypeScript source files by parsing the AST
* to find all calls to `ExtensionsRegistry.registerExtensionPoint(...)`.
*
* Handles:
* - Inline string literals: `{ extensionPoint: 'foo' }`
* - Enum member values passed via function parameters
* - Imported descriptor variables where the `extensionPoint` property is in another file
*
* This module can be used standalone (`node build/lib/extractExtensionPoints.ts`)
* to regenerate the extension points file, or imported for use in gulp build tasks.
*/
import ts from 'typescript';
import path from 'path';
import fs from 'fs';
/**
* Extract extension point names registered via `registerExtensionPoint` from
* a single TypeScript source file's AST. No type checker is needed.
*/
export function extractExtensionPointNamesFromFile(sourceFile: ts.SourceFile): string[] {
const results: string[] = [];
sourceFile
results
node tsNode
tsnode
expr nodeexpression
tsexpr exprnametext
node
tsnode visit
call tsCallExpression
arg callarguments
arg
tsarg
call arg
tsarg
arg
call tsCallExpression obj tsObjectLiteralExpression
epProp obj
epProp
tsepPropinitializer
resultsepPropinitializertext
tsepPropinitializer
call epPropinitializertext
registerCall tsCallExpression paramName
current tsNode registerCallparent
current tscurrent tscurrent tscurrent
current currentparent
current
fn current tsFunctionDeclaration tsFunctionExpression tsArrowFunction
paramIndex fnparameters
p tspname pnametext paramName
paramIndex
fnName tsfn fnname fnnametext
fnName
tssourceFile node
tsnode tsnodeexpression nodeexpressiontext fnName
callArg nodeargumentsparamIndex
callArg
value callArg
value
resultsvalue
tsnode findCalls
identifier tsIdentifier
name identifiertext
stmt sourceFilestatements
tsstmt stmtimportClausenamedBindings
tsstmtimportClausenamedBindings
element stmtimportClausenamedBindingselements
elementnametext name tsstmtmoduleSpecifier
modulePath stmtmoduleSpecifiertext
resolvedPath path
pathsourceFilefileName
modulePath
content fsresolvedPath
importedFile tsresolvedPath content tsScriptTargetLatest
originalName elementpropertyNametext elementnametext
value importedFile originalName
value
resultsvalue
node tsNode
tsnode
nodetext
tsnode tsnodeexpression
enumName nodeexpressiontext
memberName nodenametext
stmt sourceFilestatements
tsstmt stmtnametext enumName
member stmtmembers
tsmembername membernametext memberName
memberinitializer tsmemberinitializer
memberinitializertext
obj tsObjectLiteralExpression tsPropertyAssignment
prop objproperties
tsprop tspropname propnametext
prop
sourceFile tsSourceFile varName
stmt sourceFilestatements
tsstmt
decl stmtdeclarationListdeclarations
tsdeclname declnametext varName
declinitializer tsdeclinitializer
epProp declinitializer
epProp tsepPropinitializer
epPropinitializertext
rootDir pathmetadirname
srcDir pathrootDir
outputPath pathsrcDir
dir
names
entry fsdir withFileTypes
fullPath pathdir entryname
entry
namesfullPath
entryname
content fsfullPath
content
sourceFile tsfullPath content tsScriptTargetLatest
namessourceFile
names
s
s
names pathsrcDir
names
output names
existing fsoutputPath
existing output
fsoutputPath output
metamain