Skip to content

Resolve the current editor after loading the selected editor - #8380

Merged
outofambit merged 2 commits into
developmentfrom
resolved-or-preferred-whats-the-difference-really
Oct 1, 2019
Merged

outofambit merged 2 commits into
developmentfrom
resolved-or-preferred-whats-the-difference-really

Conversation

@niik

@niik niik commented Oct 1, 2019

Copy link
Copy Markdown
Member

Overview

Closes #8322

Description

The resolved editor (resolvedExternalEditor) is a function of what editors are installed on the user's machine and which editor they prefer (selectedExternalEditor). If their preferred editor isn't available the resolved editor will be the first editor we find on the user's machine or none if we can't find any editors.

As such the resolved editor can't be determined until after the selected editor has been determined. This PR changes the order of things to ensure that the resolved editor is updated after the selected editor value has been loaded from the localStorage.

Release notes

Notes: no-notes

@niik niik added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Oct 1, 2019
@outofambit outofambit self-assigned this Oct 1, 2019
@outofambit
outofambit merged commit a78cea1 into development Oct 1, 2019
@outofambit
outofambit deleted the resolved-or-preferred-whats-the-difference-really branch October 1, 2019 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change wording on "Open in Atom" button

3 participants