Skip to content

Added "open in code editor" option to asset browser#660

Merged
adriengivry merged 2 commits intomainfrom
feature/open_in_code_editor
Apr 6, 2026
Merged

Added "open in code editor" option to asset browser#660
adriengivry merged 2 commits intomainfrom
feature/open_in_code_editor

Conversation

@adriengivry
Copy link
Copy Markdown
Member

@adriengivry adriengivry commented Apr 6, 2026

Description

Simple open in code editor implementation:

  • Allow the user to enter a custom command
  • Defaults to Visual Studio Code (code)

Also added SystemCalls::ExecuteCommand to properly hide the cmd.exe when running a command (common issue with std::system)

Tested on both Windows 11 and Linux Mint.

Inspired by #659, co-authored by @Gopmyc

Related Issue(s)

Fixes #389

Review Guidance

Write here.

Screenshots/GIFs

image

Default code editor command (vscode)

image image

Example setup to use nvim through ghostty

image

Available on all files and folders

Checklist

  • My code follows the project's code style guidelines
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • My changes don't generate new warnings or errors

@adriengivry adriengivry self-assigned this Apr 6, 2026
@adriengivry adriengivry added QoL Quality of Life : Something that can improve users productivity Editor Something relative with the editor labels Apr 6, 2026
@adriengivry adriengivry closed this Apr 6, 2026
@adriengivry adriengivry reopened this Apr 6, 2026
@adriengivry adriengivry marked this pull request as ready for review April 6, 2026 23:09
@adriengivry adriengivry merged commit 6816c7b into main Apr 6, 2026
5 checks passed
@adriengivry adriengivry deleted the feature/open_in_code_editor branch April 6, 2026 23:24
@Gopmyc
Copy link
Copy Markdown
Contributor

Gopmyc commented Apr 7, 2026

I admit it’s cleaner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Editor Something relative with the editor QoL Quality of Life : Something that can improve users productivity

Development

Successfully merging this pull request may close these issues.

Add a button to the menu bar to open the project in VS code

3 participants