Skip to content

fix: show the DAP settings under Build, Execution, Deployment > Debugger - #2081

Merged
lagergren merged 1 commit into
redhat-developer:mainfrom
muescha:fix/settings-parentid
Nov 22, 2026
Merged

lagergren merged 1 commit into
redhat-developer:mainfrom
muescha:fix/settings-parentid

Conversation

@muescha

@muescha muescha commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The "Debug Adapter Protocol" settings page shows up under Settings | Tools. It belongs next to the other debugger settings, under Settings | Build, Execution, Deployment | Debugger.

The page is registered with groupId="debugger":

<projectConfigurable
        groupId="debugger"
        id="debugAdapterDescriptorFactories"
        ...

groupId="debugger" shows that the page was always meant to be in the Debugger section. But no settings group has the id debugger, so IntelliJ puts the page under Tools (the screenshot in docs/dap/UserGuide.md shows it at the top level of the settings tree instead). The IntelliJ sources from 2017.3 to 2026.3 show:

  • The groups are appearance, editor, project, build, language, tools and other (plus build.tools, profiler, proofread and, on master, ai). There was never a debugger group.
  • The Debugger page is always registered with groupId="build" and id="project.propDebugger".

The settings guide of the IntelliJ Platform SDK says parentId is the attribute to use and that groupId is deprecated. parentId can also name another settings page: the Java plugin puts "Async Stack Traces" under the Debugger page with parentId="project.propDebugger".

Changes

  • plugin.xml: the "Debug Adapter Protocol" page uses parentId="project.propDebugger" instead of groupId="debugger". Its id stays debugAdapterDescriptorFactories.
  • plugin.xml: the "Language Servers" page uses parentId="language" instead of the deprecated groupId="language". It stays under Languages & Frameworks.
  • docs/dap/UserGuide.md: the "DAP settings" section names the settings path, and DAP_settings.png is a new screenshot of the page under Debugger.

Release notes

Users who know the page under Tools will look for it there, so the move may be worth a line in the release notes of the next version (0.30.2), for example:

The "Debug Adapter Protocol" settings page moved from Tools to Build, Execution, Deployment | Debugger | Debug Adapter Protocol.

If you want, I can add it to the <change-notes> in plugin.xml in this PR.

Screenshot

The "Debug Adapter Protocol" page under Build, Execution, Deployment | Debugger (the new DAP_settings.png):

Debug Adapter Protocol settings under Build, Execution, Deployment > Debugger

How to test

  1. Run ./gradlew runIde and open a project (the page needs a project, nonDefaultProject="true").
  2. Open Settings.
  3. Check that Build, Execution, Deployment | Debugger | Debug Adapter Protocol shows the DAP servers, and that Tools no longer has a "Debug Adapter Protocol" entry.
  4. Check that Languages & Frameworks | Language Servers (LSP4IJ) is still there.

Tested with IntelliJ IDEA Community 2024.2 (runIde): the DAP page shows under Debugger, after "Async Stack Traces", and "Language Servers (LSP4IJ)" is still under Languages & Frameworks.

Pair-programmed with ❤️ by @muescha and ⚙️ by 🤖 Claude Code

The "Debug Adapter Protocol" settings page used groupId="debugger". No settings
group has that id, so IntelliJ put the page under Tools (older versions: at the
top level). It now uses parentId="project.propDebugger", the id of the
Debugger settings page, like the Java plugin does for "Async Stack Traces".

The "Language Servers" page moves from the deprecated groupId="language" to
parentId="language"; it stays under Languages & Frameworks.

The DAP user guide names the new settings path and shows a new screenshot.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Documentation
    • The DAP settings guide now gives the full navigation path to the settings page.
  • Improvements
    • Language Servers and Debug Adapter settings now appear nested under their corresponding project settings sections. This makes the settings hierarchy clearer and aligns the guide’s navigation details with the settings layout.

Two project configurable declarations now use parentId to specify their settings-page parents. The DAP guide now gives the full settings-page path.

Changes: Settings navigation

Layer / File(s) Summary
Settings hierarchy and guide path
src/main/resources/META-INF/plugin.xml, docs/dap/UserGuide.md
The LanguageServers and debugAdapterDescriptorFactories configurables now use parentId values. The guide names the full DAP settings-page path.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Suggested reviewers: angelozerr, lagergren

Merge Risk: Minimal · up to a5bd9

This change moves the Debug Adapter Protocol settings page under Debugger and keeps Language Servers under Languages & Frameworks. It also updates the guide with the full settings path. It is a small, reversible declaration change and appears safe to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title states the main change: the DAP settings page is moved under Build, Execution, Deployment > Debugger. The changeset does this by replacing groupId="debugger" with parentId="project.propDebug…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description is clearly related to the changeset. It explains that the Debug Adapter Protocol settings page is registered with groupId="debugger", which matches no settings group, so it appears und…
Full details: Title check

Explanation

The title states the main change: the DAP settings page is moved under Build, Execution, Deployment > Debugger. The changeset does this by replacing groupId="debugger" with parentId="project.propDebugger" in plugin.xml and updating the DAP user guide. The title is specific and matches the changeset.

Full details: Description check

Explanation

The description is clearly related to the changeset. It explains that the Debug Adapter Protocol settings page is registered with groupId="debugger", which matches no settings group, so it appears under Tools. It states the fix: parentId="project.propDebugger" for the DAP page and parentId="language" for the Language Servers page. It also lists the user guide update, the test steps, and the tested IDE version.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7d599182-1fc2-4f9d-83f5-9d8e96fe39d8
Commits

Reviewing files that changed from the base of the PR and between c076544 and a5bd995.

Files ignored due to path filters: 1

  • docs/dap/images/DAP_settings.png is excluded by !**/*.png
Files selected for processing: 2

  • docs/dap/UserGuide.md
  • src/main/resources/META-INF/plugin.xml

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

@codecov

codecov Bot commented Nov 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.21%. Comparing base (c076544) to head (a5bd995).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2081      +/-   ##
==========================================
+ Coverage   50.20%   50.21%   +0.01%     
==========================================
  Files         814      814              
  Lines       33614    33614              
  Branches     5249     6919    +1670     
==========================================
+ Hits        16875    16880       +5     
+ Misses      14104    14094      -10     
- Partials     2635     2640       +5     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lagergren lagergren added this to the 0.30.2 milestone Nov 22, 2026
@lagergren
lagergren merged commit f680eb2 into redhat-developer:main Nov 22, 2026
12 checks passed
@lagergren lagergren added bug Something isn't working dap Debugging Adapter Protocol UI labels Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working dap Debugging Adapter Protocol UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants