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 { homedir } from 'os';
import { NativeParsedArgs } from '../common/argv.js';
// This file used to be a pure JS file and was always
// importing `path` from node.js even though we ship
// our own version of the library and prefer to use
// that.
// However, resolution of user-data-path is critical
// and while our version of `path` is a copy of node.js
// one, you never know. As such, preserve the use of
// the built-in `path` lib for the time being.
// eslint-disable-next-line local/code-import-patterns
import { resolve, isAbsolute, join } from 'path';
const cwd = process.env['VSCODE_CWD'] || process.cwd();
/**
* Returns the user data path to use with some rules:
* - respect portable mode
* - respect VSCODE_APPDATA environment variable
* - respect --user-data-dir CLI argument
*/
cliArgs NativeParsedArgs productName
userDataPath cliArgs productName
pathsToResolve userDataPath
userDataPath
pathsToResolvecwd
pathsToResolve
cliArgs NativeParsedArgs productName
processenv
productName
portablePath processenv
portablePath
portablePath
appDataPath processenv
appDataPath
appDataPath productName
cliPath cliArgs
cliPath
cliPath
productName
productName
appDataPath
processplatform
appDataPath processenv
appDataPath
userProfile processenv
userProfile
appDataPath userProfile
appDataPath
appDataPath processenv
appDataPath productName