дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 19:25:54 +02:00
feat(php): mark source and test roots from composer.json autoload (#1602)
Folders in composer.json's autoload.psr-4 become Sources Roots and those in autoload-dev.psr-4 Test Sources Roots (string or array values; paths into vendor/ or outside the folder are skipped). It runs before the package.json case, so a Laravel app's tests/ is credited to composer.json, and editing composer.json reruns detection.
Цей коміт міститься в:
1 джерело
2e9a637158
коміт
98268106b8
8 files changed
+90
-8
No files matched your search
@@ -2,7 +2,7 @@
|
||||
* Settings › Project Structure (IDEA's module "Sources" tab): the content
|
||||
* root's Sources / Tests / Resources / Test Resources / Excluded folders.
|
||||
* Roots detected from build files (`pom.xml`, `build.gradle`, `Cargo.toml`,
|
||||
* `go.mod`, `pyproject.toml`, `package.json`) apply until the user marks or
|
||||
* `go.mod`, `pyproject.toml`, `package.json`, `composer.json`) apply until the user marks or
|
||||
* unmarks the folder (`projectStructure.*`, project scope). Roots drive the
|
||||
* project tree icons, package inference for new classes, the "Project
|
||||
* Production / Test Files" scopes, and Excluded folders are skipped by the
|
||||
@@ -330,7 +330,7 @@ export function ProjectStructurePage() {
|
||||
<div className={styles.note}>
|
||||
<T>
|
||||
{
|
||||
"Folders are detected from build files (pom.xml, build.gradle, Cargo.toml, go.mod, pyproject.toml, package.json); marking or unmarking a folder overrides detection. Excluded folders are skipped by the Project view, Find in Files and the index (reopen the project to re-index)."
|
||||
"Folders are detected from build files (pom.xml, build.gradle, Cargo.toml, go.mod, pyproject.toml, package.json, composer.json); marking or unmarking a folder overrides detection. Excluded folders are skipped by the Project view, Find in Files and the index (reopen the project to re-index)."
|
||||
}
|
||||
</T>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Заблокувати користувача