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 fs from 'fs';
import path from 'path';
import ts from 'typescript';
class LanguageServiceHost implements ts.LanguageServiceHost {
files: ts.MapLike<ts.IScriptSnapshot> = {};
addFile(fileName: string, text: string) {
this.files[fileName] = ts.ScriptSnapshot.fromString(text);
}
fileExistspath
filespath
path
filespath filespath
ts
Objectfiles
_fileName
fileName filesfileName
process
options tsCompilerOptions tsoptions
defaults tsFormatCodeSettings
baseIndentSize
indentSize
tabSize
indentStyle tsIndentStyleSmart
newLineCharacter
convertTabsToSpaces
insertSpaceAfterCommaDelimiter
insertSpaceAfterSemicolonInForStatements
insertSpaceBeforeAndAfterBinaryOperators
insertSpaceAfterConstructor
insertSpaceAfterKeywordsInControlFlowStatements
insertSpaceAfterFunctionKeywordForAnonymousFunctions
insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis
insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets
insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces
insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces
insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces
insertSpaceAfterTypeAssertion
insertSpaceBeforeFunctionParenthesis
placeOpenBraceOnNewLineForFunctions
placeOpenBraceOnNewLineForControlBlocks
insertSpaceBeforeTypeAnnotation
getOverrides
cache
fileName
dir pathfileName
dir pathdir
tsfmtPath pathdir
cachetsfmtPath
cachetsfmtPath
fstsfmtPath
value fstsfmtPath
cachetsfmtPath value
value
dir pathdir
rootTsfmtPath pathmetadirname
cacherootTsfmtPath
cacherootTsfmtPath fsrootTsfmtPath
cacherootTsfmtPath
fileName text
host
hostfileName text
languageService tshost
edits languageServicefileName defaults fileName
edits
a b aspanstart bspanstart
edit
head text editspanstart
tail texteditspanstart editspanlength
text
text
fileName text
formatted fileName text
text formatted
metamain
args processargv
verify args
replace args
files argsarg arg
errorCount
file files
absolutePath pathfile
text fsabsolutePath
replace
formatted absolutePath text
text formatted
fsabsolutePath formatted
verify absolutePath replace fsabsolutePath text
errorCount
errorCount
process