Repository navigation
"open file in external editor" should provide the full path - #4381
Merged
Merged
Conversation
niik
requested changes
Apr 3, 2018
| * Opens a path (can either be a folder representing a repository or the | ||
| * path to a file) in the external editor selected by the user. | ||
| */ | ||
| public async openInExternalEditor(path: string): Promise<void> { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
shiftkey
force-pushed
the
open-should-specify-full-path
branch
from
April 3, 2018 21:05
86482fa to
3ea4f71
Compare
Member
Author
|
🍎 |
niik
approved these changes
Apr 4, 2018
This was referenced Apr 5, 2018
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found this one while trying to address a merge conflict by editing the file and VS Code would continue to show me a file without merge conflicts. Relates to #4030.
Repro steps:
desktopas an example)Changeslist. For this repro, I've deleted all the lines intslint.json.Open in [External Editor]Expected:
Actual:
If you break into in the
launchExternalEditorfunction inapp/src/lib/editors/launch.tsyou'll see the relative file path is passed through to thespawnAPI:It looks like VS Code and Atom are smart enough to find a workspace containing the file, but because it lacks the repository directory it keeps choosing the wrong workspace - leading me to be very confused.