[vscode] Error message with vscode.open command with option to create missing file #8
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.
What it does
Adds user feedback when attempting to open a file that does not exist.
Partial implementation of 6568.
Closes 5667
How to test
Open Some File
command.Additional Information
The list below are some interesting things that were found during testing and more detail regarding the testing file
open-some-file-0.0.9
.Open Wrong
command passes two location. One of a file and one of a folder, both with the same name. Theia creates a empty folder while VS Code prompts the user to create a file.Open Nothing
attempts to open a file with undefined URI.Open Not Folder
attempts to open a file with a URI that has an empty string as path.Open Folder As File
will open a folder as if it was a file.Review checklist
Reminder for reviewers