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 * as fs from 'fs';
import * as path from 'path';
import { join } from 'path';
import * as ts from 'typescript';
const VS_ROOT = join(__dirname, '../../../../src');
const TARGET = join(__dirname, '../../src/util/vs');
/**
* Returns the absolute file path where the given file should be placed.
*/
function determineTargetPath(absoluteVSCodeFilePath: string
vsRelative path absoluteVSCodeFilePath
segements vsRelativepathsep
segements segements
segements
segementspathsep
currentFilePath importedFilePath
relativePath pathpathcurrentFilePath importedFilePath
result relativePath relativePath relativePath
result
filepaths
fspromises
process
fspromises recursive
tsTextRange newText
sourceFilePath targetFilePath contents
filepath importTrajectory
seen
stack StackElement filepathsp filepath p importTrajectory
stacklength
stackElement stack
importTrajectory stackElementimportTrajectory
importTrajectorystackElementfilepath
filepath stackElementfilepath
seenfilepath
edits Edit
source
source fspromisesfilepath
e
filepath filepath
source fspromisesfilepath
e
e
destinationFilePath filepath
info tssource
importedFile infoimportedFiles
absolutePath
importedFilefileName
absolutePath filepath importedFilefileName
importedFilefileName
absolutePath importedFilefileName
absolutePath
stack filepath absolutePath importTrajectory
edits
importedFile
newText destinationFilePath absolutePath
newSource source
edit editsa b bpos apos
newSource newSource editpos editnewText newSourceeditend
newSource newSource
seenfilepath
sourceFilePath filepath
targetFilePath destinationFilePath
contents newSource
_ file seen
targetFilepath filetargetFilePath
fspromisestargetFilepath recursive
fspromisestargetFilepath filecontents
error
error