Repository navigation
Add support for EmEditor external editor - #5406
killerwife wants to merge 1 commit into
Conversation
| subKey: | ||
| 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{D03753CD-7F12-4281-9709-DDE30EFF8D6D}', | ||
| }, | ||
| // 32-bit version of EmEditor - TODO: Find registry |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
@killerwife there's a limitation with EmEditor that means it's not suitable for use in GitHub Desktop currently:
Unless I've missed something here, I don't think I can take in this PR because of the mismatch between our "Open in External Editor" and what EmEditor currently supports. |
303ae74 to
42589a8
Compare
|
@shiftkey how about this: "/rr *.*" |
|
Also I would like to express the frustration for the propably most used editor not being supported (Notepad++) due to that limitation. All of this editor stuff considerably hampers usability. Can't there be a switch that open in external editor would only show up for select files, instead of whole repository? I personally do not see the usecase, since I use development tools for that. Maybe I am missing the big picture though. |
This will open all the files, which was the Notepad++ behaviour we realised wasn't desirable.
Historically we've been focused on two flows:
For the "open a file in an external program" flow we defer to your OS choice here because you may configure different editors for different file extensions, and it didn't seem worth reimplementing that in Desktop (and not covering all potential scenarios). For the "open a folder in an external program" flow we felt this was better to address within Desktop because there isn't equivalent functionality in your OS already setup.
Remember my comment from a while ago?
I think this is the core of your issue with how "Open in external program" is currently working in Desktop. I went through these steps and it seems to work for me:
If you're satisfied with that behaviour and able to see the same thing on your end, we can revisit #4753 and figure out what's left to do. |
|
On my end, Open with Default Program does not work. I have almost all text based files set to emeditor, and it doesnt use it, and instead opens it in notepad. Any way I can troubleshoot that? |
Thanks for the extra context. I poked at And when I right-click on a Note that Edit is emphasised as the default behaviour. This means when I double-click or choose Edit it'll choose EmEditor, but when I click Open it will launch Notepad. That's the core of the issue here, and Desktop is continuing to try and Open the file, which I don't seem to be able to workaround completely. |
|
Okay and how is "Open" changable in windows 10. I can't seem to be able to find a solution for that. |
I had to do this in the registry, and I was fine with ruining my machine, so some warnings:
|
|
I'm going to close this out because we can't merge in EmEditor external editor support in it's current form, and we have #4753 which is tracking the related issue about Open in External Program and |
|
Thx for the thorough explanations, sadly the regedit did not work for me. It seems to have smth to do with mysql though. |
Yep, and at this point I'm going to have to stop trying to debug an unknown configuration and registry setup for fear of breaking things. |









Solving issue #4753
Done through instructions on https://github.com/desktop/desktop/blob/master/docs/technical/editor-integration.md
Missing part: Registry for 32-bit emeditor since I do not know it.
Should there be need for assistance with merging, happy to do anything so that this is merged asap.