Skip to content

Add Copy Version command to the Editor#10019

Open
trulybeardless wants to merge 9 commits intoFacepunch:masterfrom
trulybeardless:editor/copy-version
Open

Add Copy Version command to the Editor#10019
trulybeardless wants to merge 9 commits intoFacepunch:masterfrom
trulybeardless:editor/copy-version

Conversation

@trulybeardless
Copy link

@trulybeardless trulybeardless commented Feb 12, 2026

Summary

This PR adds a Copy Version button to the Launcher as well as the Editor.
This should make it easier for users to file bug reports, since they don't have to hunt down the version every time (especially on staging).

Motivation & Context

I believe this will make bug reporting easier for the vast majority of users.
I had to ask where to find the version info the first time I wanted to file a report.

Fixes: #10014

Implementation Details

The layout of the button in the launcher was a tad clunky. I am not sure my solution is ideal. It works tho.

Screenshots / Videos (if applicable)

Version Button in the S&box-Launcher (next to the logo)
image

Copy Version button in the S&box-Editor (titlebar)
image

Checklist

  • Code follows existing style and conventions
  • No unnecessary formatting or unrelated changes
  • Public APIs are documented (if applicable)
  • Unit tests added where applicable and all passing
  • I’m okay with this PR being rejected or requested to change 🙂

Copilot AI review requested due to automatic review settings February 12, 2026 12:09
Copy link
Contributor

Copilot AI left a comment

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 adds a "Copy Version" button to both the S&box Launcher and Editor to simplify the process of copying version information for bug reports. Previously, users had to manually locate and open the .version file in the engine install folder.

Changes:

  • Added "Copy Version Info" menu option to the Editor's Help menu
  • Added version button to the Launcher's sidebar that displays and copies the version on click
  • Implemented version file parsing logic in the Launcher (since Sandbox.Application.Version is not accessible there)

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 10 comments.

File Description
engine/Sandbox.Tools/Utility/Utility.cs Added unused import for Sandbox.UI
engine/Sandbox.Tools/Editor/EditorMainWindow.cs Added "Copy Version Info" menu item to Help menu
engine/Launcher/StandaloneTest/Widgets/StartupWindow.cs Added version loading, display, and copy functionality with UI layout changes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

[Launcher/Editor] Add "Copy Version" command

1 participant