You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use a mix of Visual Studio and VS Code, I've missed the Open in Visual Studio option from the old app.
An Open in External Diff Tool type option would also be nice as sometimes viewing a diff in Beyond Compare is better than the existing diff (for instance with a docx or a refactor with a lot of whitespace changes which BC can easily ignore).
Default to Atom if we can find it installed to keep things in the GitHub brand.
Allow the user to specify their default editor in the options.
For repos: have this open the options for you to specify your editor?
For files: If Atom is not installed then have just open the default Edit verb if available, otherwise open the file normally with openFile, or would we want it to open the options to specify the editor too?
Future work: Make it file type based? You could have atom as the default, then specify say photoshop for images. Perforce's client does this and it's VERY useful.
I changed the title to make it clearer that the scope is specifically about opening repositories in an external editor. We already have the "Open with External Editor" contextual menu item for changed files.
Well, what do we need here, I don't have any tools on me right now so I can't mock this up, but
Is there design in this area for Open with External Editor for changed files yet? This should be right below it in the preferences and look similar.
Here's what I think we want for the preferences:
External Editor to open repositories with:
" (Icon) Current selected editor | none " "Options like passing %1 for the folder path?" [x]
[Reset to Atom (if installed)] [browse]
Current selected editor can be the icon, and 'pretty name' of the executable/application if one is selected, if it's not then "None selected" or something like that is probably ideal. The options/ x button can be hidden or greyed out if none is selected.
[x] removes the current editor, resetting it to none.
[Reset to Atom] scans the usual paths to see if atom is installed. If it is then it selects it.
[browse] opens the standard platform browse dialog to select the exe/app.
You need to let users know about the special keys available in the options, I.E. %1 or what ever for the folder name. It would probably be best to put that option by default, and maybe have '?' with a tooltip at the end that explains it?
Well, what do we need here, I don't have any tools on me right now so I can't mock this up, but
I put this in our Design Review project for @desktop/design to work on.
Is there design in this area for Open with External Editor for changed files yet?
Not yet, but for this particular issue, we're only looking at opening repositories. Opening files is somewhat handled by the OS already, and customizing file associations is a larger, more complex task.
This is one of my most used features of the old app, so I'm glad to see it coming back.
My only worry after reading the above scope, and looking at the design of the new app, is how to open the current repository in your editor. I wouldn't want to have to click on the repo name, then find the same repo in the list of repos before being able to open it in an editor.
So maybe a right click on the top left located current repo block could also provide the option to Open in XXXX
I've code that will find where the app is installed for osx. You first find the default handler for an extension and then you find the location of the app. It's possible in Windows but a little more complicated
@joshaber a keyboard shortcut would be useful. Even just adding it in the Repository menu would help then we can assign our own shortcuts as well if needed;
There is an open in terminal already, can probably add "Open in editor" to that list?
Activity
xt0rted commentedon Jun 15, 2017
I use a mix of Visual Studio and VS Code, I've missed the Open in Visual Studio option from the old app.
An Open in External Diff Tool type option would also be nice as sometimes viewing a diff in Beyond Compare is better than the existing diff (for instance with a docx or a refactor with a lot of whitespace changes which BC can easily ignore).
rlabrecque commentedon Jun 15, 2017
Pulling this in from #1554:
Open in external program/editor/Atom
joshaber commentedon Jun 16, 2017
#2023 added the "Open with External Editor" menu item for changed files 🤘
[-]Open in External Editor[/-][+]Open Repository in External Editor[/+]joshaber commentedon Jul 24, 2017
I changed the title to make it clearer that the scope is specifically about opening repositories in an external editor. We already have the "Open with External Editor" contextual menu item for changed files.
joshaber commentedon Jul 24, 2017
We need some design around how one chooses their preferred editor in Preferences.
rlabrecque commentedon Jul 24, 2017
Well, what do we need here, I don't have any tools on me right now so I can't mock this up, but
Is there design in this area for Open with External Editor for changed files yet? This should be right below it in the preferences and look similar.
Here's what I think we want for the preferences:
Current selected editor can be the icon, and 'pretty name' of the executable/application if one is selected, if it's not then "None selected" or something like that is probably ideal. The options/ x button can be hidden or greyed out if none is selected.
[x] removes the current editor, resetting it to none.
[Reset to Atom] scans the usual paths to see if atom is installed. If it is then it selects it.
[browse] opens the standard platform browse dialog to select the exe/app.
You need to let users know about the special keys available in the options, I.E. %1 or what ever for the folder name. It would probably be best to put that option by default, and maybe have '?' with a tooltip at the end that explains it?
joshaber commentedon Jul 24, 2017
I put this in our Design Review project for @desktop/design to work on.
Not yet, but for this particular issue, we're only looking at opening repositories. Opening files is somewhat handled by the OS already, and customizing file associations is a larger, more complex task.
shimpossible commentedon Jul 24, 2017
20 remaining items
adamreisnz commentedon Aug 3, 2017
This is one of my most used features of the old app, so I'm glad to see it coming back.
My only worry after reading the above scope, and looking at the design of the new app, is how to open the current repository in your editor. I wouldn't want to have to click on the repo name, then find the same repo in the list of repos before being able to open it in an editor.
So maybe a right click on the top left located current repo block could also provide the option to
Open in XXXXshimpossible commentedon Aug 3, 2017
I've code that will find where the app is installed for osx. You first find the default handler for an extension and then you find the location of the app. It's possible in Windows but a little more complicated
joshaber commentedon Aug 7, 2017
@adamreisnz Would a keyboard shortcut alleviate those concerns?
adamreisnz commentedon Aug 7, 2017
@joshaber a keyboard shortcut would be useful. Even just adding it in the Repository menu would help then we can assign our own shortcuts as well if needed;
There is an open in terminal already, can probably add "Open in editor" to that list?
rlabrecque commentedon Aug 7, 2017
I think that's on the list under as "Repository menu item"
joshaber commentedon Aug 7, 2017
Yup, I think it should definitely have a shortcut 👍
shiftkey commentedon Aug 7, 2017
For reference, #2407 covers both scenarios:
lewispg228 commentedon Jan 5, 2018
Hi there, I just submitted a feature request that is related to this. I would love your thoughts. If you have a sec, please check it out here:
#3731
Thanks!
gingerbeardman commentedon Mar 15, 2018
This is closed but the feature is not in the app. What is the status of this? Thanks.
I still just see “Open in Atom” (which I do not have installed).
macOS: 10.13.3
GHD: Hasty Things Done Hastily (223)
edit: ah, I’m in the wrong repo (using classic GHD app) I was not aware there was a newer one!