Redesign GDScript settings page#582
Conversation
dc58289 to
cd647c1
Compare
… Rename plugins: GdScript -> Godot, Godot support -> Godot.NET (cherry picked from commit ae4e3a8)
23b77df to
73c4d13
Compare
There was a problem hiding this comment.
Pull request overview
This PR updates the Godot/GDScript settings UI, reorganizing the GDScript settings page into clearer sections and simplifying LSP port configuration, while also adjusting several user-facing display names (“Godot Engine” → “Godot.NET” and “GDScript Settings” → “Godot Settings”).
Changes:
- Rebuilt the GDScript settings UI using the IntelliJ UI DSL and grouped options into LSP/Documentation/Completion/Other sections.
- Simplified LSP port configuration by removing the “dynamic port” setting and making dynamic-port behavior depend on the selected connection mode.
- Updated various display names/labels in plugin descriptors and resource bundles.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| rider/src/main/resources/META-INF/plugin.xml | Renames the Rider settings page display name to “Godot.NET”. |
| rider/src/main/resources/messages/GodotPluginBundle.properties | Updates the localized configurable name to “Godot.NET”. |
| resharper/src/Application/UI/Options/GodotOptionsPage.cs | Renames the ReSharper options page title constant to “Godot.NET”. |
| resharper/godot-support.sln.DotSettings | Updates solution-level ReSharper naming rules/settings. |
| gdscript/src/main/resources/META-INF/plugin.xml | Changes the settings configurable display key to use a “Godot” plugin name key. |
| gdscript/src/main/resources/messages/GdScriptBundle.properties | Adds new section labels and updates settings page strings to match the redesigned UI. |
| gdscript/src/main/kotlin/gdscript/settings/GdSettingsConfigurable.kt | Removes persistence/apply/reset handling for the removed dynamic-port setting. |
| gdscript/src/main/kotlin/gdscript/settings/GdSettingsComponent.kt | Rebuilds the settings UI, replaces port text field with an int spinner, and updates enable/visibility logic. |
| gdscript/src/main/kotlin/gdscript/settings/GdSearchableOptionContributor.kt | Adjusts settings search indexing tokens/display name key. |
| gdscript/src/main/kotlin/gdscript/settings/GdProjectState.kt | Removes the persisted lspUseDynamicPort setting. |
| gdscript/src/main/kotlin/gdscript/settings/GdLspSettingsFlowService.kt | Removes the dynamic-port flow and related updates. |
| gdscript/src/main/kotlin/gdscript/lsp/GodotLspServerSupportProvider.kt | Removes dynamic-port setting subscription and derives dynamic behavior from connection mode. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| var lspRemoteHostPort: Int | ||
| get() = lspRemoteHostPortTf.text.toIntOrNull() ?: 6005 | ||
| get() = lspRemoteHostPortSpinner.number | ||
| set(newStatus) { | ||
| lspRemoteHostPortTf.text = newStatus.toString() | ||
| } | ||
|
|
||
| var lspUseDynamicPort: Boolean | ||
| get() = lspUseDynamicPortCheck.isSelected | ||
| set(newStatus) { | ||
| lspUseDynamicPortCheck.isSelected = newStatus | ||
| updateLspControlsState() | ||
| lspRemoteHostPortSpinner.value = newStatus | ||
| } |
martin_tomanek (Finishxx)
left a comment
There was a problem hiding this comment.
I wonder what the rationale is for removing the option for a dynamic free port when not using headless?
| settings.configurable.name.gdscript.settings=Godot Settings | ||
| settings.separator.completion=Completion | ||
| settings.separator.lsp=GDScript Language Server | ||
| settings.label.lsp.connection.mode=Connecting to language server |
There was a problem hiding this comment.
Maybe "Language Server Connection" or "Connection Type" or just "Connection"?
Dynamic port is possible, when we control both godot port and rider port. We control Godot port only when we start it. We start it and pass port in the command line argument. |
73c4d13 to
474ac53
Compare
Uh oh!
There was an error while loading. Please reload this page.