gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

Feature Request: Support setting Any Editor as Default Code Editor

Open refreshcoder opened this issue 5 months ago • 2 comments

Could we add support for allowing users to set any editor as their default code editor? My primary editor (Trae) isn't currently on the supported list, which means I can't use the dropdown "open in ...". Enabling this would streamline workflows for users who prefer less common or niche editors, letting us open files directly in our tool of choice without extra steps. Thanks for considering!

refreshcoder avatar Jul 15 '25 04:07 refreshcoder

Thanks a lot for bringing this up!

By the looks of it, adding a new editor currently takes a single line here, which is probably why people kept adding to it.

https://github.com/gitbutlerapp/gitbutler/blob/0c82f7a1ac972ea1a67bd50226ce3f67c0782baf/apps/desktop/src/components/profileSettings/GeneralSettings.svelte#L49-L56

However, this clearly doesn't scale, and supporting every editor under the sun might cumbersome, while supporting custom tooling that way is impossible.

Definitely CC @krlvi to see if or when this has a chance. Maybe help is wanted on this one?

Byron avatar Jul 15 '25 12:07 Byron

+1

Would love to see either custom tooling or IntelliJ IDEA integration.

aviadpines avatar Nov 20 '25 21:11 aviadpines