Enhancement: Improve Maven multi-module support and Projects view to match VSCode-like unified project management
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- java
- Lĩnh vực
- build-system, developer-experience, tooling
Hướng nghiên cứu
Bắt đầu với các điểm vào của Maven project provider và Projects view, sử dụng một pom.xml cha có các module được khai báo làm trường hợp tái hiện. So sánh Projects và Files view đối với các submodule chưa mở và các file ở root. Được xem là hoàn tất khi các submodule được tự động tải và lồng vào nhau, các file nhận được hỗ trợ Java và các file root được yêu cầu xuất hiện trong unified view.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
Affected Version
All
Project Type
Maven multi-module project
Component
Maven support / Projects view / Project UI
What happened (current behavior)
- Maven multi-module project loading
- When opening a Maven parent project, NetBeans does not auto-detect and load all declared submodules in the Projects view.
- Each submodule must be opened individually; once opened, submodules appear as top-level siblings with the parent project (flat list), not nested under the parent.
- With 20+ submodules, the Projects view becomes cluttered, unstructured, and hard to navigate.
- Unopened submodules break IDE features
- Unopened submodules are visible in the Files view (physical file system) but not in the Projects view.
- Opening Java files from unopened modules treats them as plain text files: no code completion, static analysis, error checking, breakpoint debugging, or refactoring support.
- Projects view missing root files
- Key root files (README.md, .gitignore, LICENSE, docker-compose.yml, .gitlab-ci.yml, etc.) are not shown in the Projects view.
- Users must switch back and forth between Projects and Files views to view/edit these files, which is disruptive and inefficient.
Steps to reproduce
- Open a standard Maven multi-module project (parent pom.xml with
>list). - Observe the Projects view: only the parent project is loaded; submodules are not auto-imported.
- Open several submodules: they appear as top-level entries, not nested under parent.
- Open a Java file from an unopened submodule via Files view: no IDE intelligence.
- Check root directory: README.md and other config files are missing in Projects view.
What you would like to happen (expected behavior)
- Auto‑detect & nest all Maven submodules
- Open parent pom.xml → automatically recognize and load all submodules declared in pom.xml.
- Display submodules hierarchically nested under their parent module in Projects view (not flat list).
- Support large multi‑module projects (20+ modules) with clean, collapsible tree structure.
- Full IDE support without manually opening submodules
- Any file from any submodule (opened via Projects or Files view) gets full Java intelligence: completion, linting, debugging, goto definition, refactoring.
- No need to manually “open” a submodule to use IDE features.
- Unified Projects view = logical structure + physical files
- Show root project files (README.md, .gitignore, config files) directly in Projects view, under parent/module root nodes.
- Eliminate constant switching between Projects and Files views.
- Deliver a unified, VSCode‑like project explorer that combines logical Maven structure and physical file visibility.
Use case/motivation
This improvement is critical for enterprise Java development with large Maven multi‑module projects.
Current behavior:
- Slows down daily navigation and file lookup
- Breaks debugging and coding assistance for unopened modules
- Forces context switching between two views
- Scales poorly for teams with many modules
A unified, hierarchical Projects view matching modern IDE ergonomics will greatly improve productivity and make NetBeans more competitive for professional Maven‑based development.
Proposal
Redesign the Maven project provider and Projects view to:
- Parse full multi‑module tree at project open time
- Render parent‑module hierarchy natively
- Enable full language server/debugger support for all submodules by default
- Show configurable root files (README, configs) in Projects view
- Merge logical project structure and physical file visibility into one coherent view
Related issues
No response
Are you willing to submit a pull request?
No
- Ngôn ngữ chính
- Java
- Star
- 3.1k
- Fork
- 942
- Merge trung bình
- 2 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 38
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của apache/netbeans
-
Contribution welcome kind:feature Platform
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
apache/netbeans#9614 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
kind:bug LSP needs:triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
apache/netbeans#9548 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Editor Java kind:feature needs:triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
The main Options dialog window has buttons with OK on the left instead of on the right on LinuxĐang mởkind:bug needs:triage os:linux os:macos Platform UI
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Incorrect DTD for wstcref-FilesĐang mởkind:bug needs:triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của apache/netbeans
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
521xueweihan/HelloGitHub#4105 ·
-
Awaiting further input from submitter
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Regression in 5.9.0: CuratorCache fails with ClassCastException when the client is not a CuratorFrameworkBaseCó thể đã có người làm @sftwnd đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày