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
@adamreisnz Thank you for reporting. When you say “VS Code is now my default editor”, do you mean that it's your default editor on the system level (e.g., default for opening *.js files), or that you've set it as your editor from GitHub Desktop under “Preferences…” > “Advanced”?
There are some known issues around Desktop detecting that the availability of editors on the system has changed (being installed/uninstalled), but the setting in Preferences might help you manually choose one. One thing you could also check is whether restarting Desktop changes anything re: available editors. Thank you!
Looked into this a bit while fixing #8315. It looks like we're using resolvedExternalEditor for the button copy, and we're using selectedExternalEditor when the button is clicked. Seems like resolvedExternalEditor isn't getting updated properly.
And the more I dig into this code, the more I think it's worth considering dropping selectedExternalEditor because the two seem pretty redundant anyhow. I can't imagine a scenario where the desired state would be for these two values to differ.
I'm going to hold off on refactoring and investigating this further until we've shipped our onboarding tutorial feature, as that's top priority right now. This incorrect button wording is certainly confusing and irksome, and I've added this issue to our backlog so that I can revisit it later.
On Wed, Sep 25, 2019, 07:16 Katrina Uychaco ***@***.***> wrote:
Looked into this a bit while fixing #8315
<#8315>. It looks like we're
using resolvedExternalEditor for the button copy, and we're using
selectedExternalEditor when the button is clicked. Seems like
resolvedExternalEditor isn't getting updated properly.
And the more I dig into this code, the more I think it's worth considering
dropping selectedExternalEditor because the two seem pretty redundant
anyhow. I can't imagine a scenario where the desired state would be for
these two values to differ.
I'm going to hold off on refactoring and investigating this further until
we've shipped our onboarding tutorial feature, as that's top priority right
now. This incorrect button wording is certainly confusing and irksome, and
I've added this issue to our backlog so that I can revisit it later.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8322?email_source=notifications&email_token=AADXYQWX7KHHMSRKNA3WPX3QLJRQPA5CNFSM4IZ6RMLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7PP3XI#issuecomment-534707677>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADXYQUTRD3D4B74LLIFTG3QLJRQPANCNFSM4IZ6RMLA>
.
Activity
niik commentedon Sep 24, 2019
Possibly related to #8315, cc @kuychaco
mislav commentedon Sep 24, 2019
@adamreisnz Thank you for reporting. When you say “VS Code is now my default editor”, do you mean that it's your default editor on the system level (e.g., default for opening
*.jsfiles), or that you've set it as your editor from GitHub Desktop under “Preferences…” > “Advanced”?There are some known issues around Desktop detecting that the availability of editors on the system has changed (being installed/uninstalled), but the setting in Preferences might help you manually choose one. One thing you could also check is whether restarting Desktop changes anything re: available editors. Thank you!
adamreisnz commentedon Sep 24, 2019
It's probably irrelevant, I was merely pointing out that the tooltip mentions "Your default editor", whereas in the button it mentions "Atom".
To top it off, when I right click a repo, it mentions VS Code:
So it seems to me that the button where it says "Atom" it's simply hardcoded and may need to be updated.
And yes, VS Code is my default editor in Github desktop:
kuychaco commentedon Sep 24, 2019
Looked into this a bit while fixing #8315. It looks like we're using
resolvedExternalEditorfor the button copy, and we're usingselectedExternalEditorwhen the button is clicked. Seems likeresolvedExternalEditorisn't getting updated properly.And the more I dig into this code, the more I think it's worth considering dropping
selectedExternalEditorbecause the two seem pretty redundant anyhow. I can't imagine a scenario where the desired state would be for these two values to differ.I'm going to hold off on refactoring and investigating this further until we've shipped our onboarding tutorial feature, as that's top priority right now. This incorrect button wording is certainly confusing and irksome, and I've added this issue to our backlog so that I can revisit it later.
adamreisnz commentedon Sep 24, 2019