ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Aura Kotlin — shadow-проект для Java Language Server.
*
* jdtls (Eclipse JDT) работает по модели Eclipse-проекта: ему нужны .project/.classpath рядом
* с исходниками. Чтобы НЕ мусорить в репозитории пользователя (в отличие от redhat.java,
* который пишет .classpath прямо в проект), метаданные создаются в globalStorage, а исходники
* подключаются linked-папками: Eclipse разрешает их по реальному пути, поэтому диагностика и
* переходы указывают на настоящие файлы.
*
* Classpath берём из уже посчитанного резолва Gradle (этап 1 ТЗ). Особенность Android:
* большинство зависимостей — это .aar, который Eclipse не понимает, поэтому из каждого .aar
* достаётся classes.jar (своим zip-читателем, без внешних утилит).
*-------------------------------------------------------------------------------------------*/
import * as vscode from 'vscode';
import * as fs from 'node:fs';
import * as path from 'node:path';
import { extractZipMember } from './zipMember';
export interface JavaProjectSource { readonly dir: string; }
export interface JavaProjectResult {
/** Каталог shadow-проекта: внутри .project и .classpath. */
projectDir
jars
sourceDirs
exploded
skipped
sourced
value
fsvalue
value
hash
index index valuelength index
hash hash valueindex
hash
moduleDir limit
found
pending dir depth dir pathmoduleDir depth
pendinglength foundlength limit
current pending
entries fsDirent
entries fscurrentdir withFileTypes
entry entries
full pathcurrentdir entryname
entry
currentdepth entryname entryname
pending dir full depth currentdepth
entryname foundcurrentdir
foundcurrentdir
found
aarPath cacheDir
mtime
mtime fsaarPathmtimeMs
target pathcacheDir
target target
aarPath target target
jars
moduleDirs
workspaceRoot
sources Map
context vscodeExtensionContext options PrepareJavaProjectOptions JavaProjectResult
storage contextglobalStorageUrifsPath
projectDir pathstorage
aarCache pathstorage
fsprojectDir recursive
fsaarCache recursive
jars
sourceFor
attach jar original
jarsjar
source optionssourcesoriginal
source source sourceForjar source
skipped
exploded
entry optionsjars
extension pathentry
extension
entry entry entry
extension
classes entry aarCache
classes classes entry exploded skippedpathentry
sourceDirs
moduleDir optionsmoduleDirs
relative
dir pathmoduleDir relative
dir sourceDirsdir sourceDirsdir
generated moduleDir
sourceDirsgenerated sourceDirsgenerated
sourceDirslength
fallback pathoptionsworkspaceRoot
fallback sourceDirsfallback
signature jars sourceDirs sourceForjar source
signatureFile pathprojectDir
signatureFile fssignatureFile signature
links sourceDirsdir index
fspathprojectDir
sourceEntries sourceDirs_ index
libEntries jarsjar
source sourceForjar
attachment source
fspathprojectDir
fssignatureFile signature
projectDir jars sourceDirs exploded skipped sourced sourceForsize
value
value
value
value