Repository navigation
fix: show the DAP settings under Build, Execution, Deployment > Debugger - #2081
Merged
Merged
Conversation
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]>
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The "Debug Adapter Protocol" settings page shows up under
Settings | Tools. It belongs next to the other debugger settings, underSettings | Build, Execution, Deployment | Debugger.The page is registered with
groupId="debugger":groupId="debugger"shows that the page was always meant to be in the Debugger section. But no settings group has the iddebugger, so IntelliJ puts the page under Tools (the screenshot indocs/dap/UserGuide.mdshows it at the top level of the settings tree instead). The IntelliJ sources from 2017.3 to 2026.3 show:appearance,editor,project,build,language,toolsandother(plusbuild.tools,profiler,proofreadand, on master,ai). There was never adebuggergroup.groupId="build"andid="project.propDebugger".The settings guide of the IntelliJ Platform SDK says
parentIdis the attribute to use and thatgroupIdis deprecated.parentIdcan also name another settings page: the Java plugin puts "Async Stack Traces" under the Debugger page withparentId="project.propDebugger".Changes
plugin.xml: the "Debug Adapter Protocol" page usesparentId="project.propDebugger"instead ofgroupId="debugger". ItsidstaysdebugAdapterDescriptorFactories.plugin.xml: the "Language Servers" page usesparentId="language"instead of the deprecatedgroupId="language". It stays underLanguages & Frameworks.docs/dap/UserGuide.md: the "DAP settings" section names the settings path, andDAP_settings.pngis a new screenshot of the page under Debugger.Release notes
Users who know the page under
Toolswill 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:If you want, I can add it to the
<change-notes>inplugin.xmlin this PR.Screenshot
The "Debug Adapter Protocol" page under
Build, Execution, Deployment | Debugger(the newDAP_settings.png):How to test
./gradlew runIdeand open a project (the page needs a project,nonDefaultProject="true").Settings.Build, Execution, Deployment | Debugger | Debug Adapter Protocolshows the DAP servers, and thatToolsno longer has a "Debug Adapter Protocol" entry.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