Skip to content

Redesign GDScript settings page#582

Merged
Ivan Šachov (van800) merged 2 commits into
masterfrom
shakhov/settings
Jun 3, 2026
Merged

Redesign GDScript settings page#582
Ivan Šachov (van800) merged 2 commits into
masterfrom
shakhov/settings

Conversation

@van800

@van800 Ivan Šachov (van800) commented Jun 2, 2026

Copy link
Copy Markdown
Member
image image

… Rename plugins: GdScript -> Godot, Godot support -> Godot.NET

(cherry picked from commit ae4e3a8)

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment on lines 157 to 161
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
}

@Finishxx martin_tomanek (Finishxx) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe "Language Server Connection" or "Connection Type" or just "Connection"?

@van800

Ivan Šachov (van800) commented Jun 2, 2026

Copy link
Copy Markdown
Member Author

I wonder what the rationale is for removing the option for a dynamic free port when not using headless?

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.

@van800 Ivan Šachov (van800) merged commit daf132b into master Jun 3, 2026
6 checks passed
@van800 Ivan Šachov (van800) deleted the shakhov/settings branch June 3, 2026 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants