Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to open a file with a custom scheme using the NotebookEditor #97764

Closed
DonJayamanne opened this issue May 14, 2020 · 0 comments
Closed
Assignees

Comments

@DonJayamanne
Copy link
Contributor

DonJayamanne commented May 14, 2020

  • VSCode Version:
  • OS Version:

Steps to Reproduce:

  1. Register *.ipnb files to be opened with Notebook Editor
  2. Open NB as follows:
const fileName = 'untitled.ipynb';
const fileUri = Uri.file(fileName);
const uri = fileUri.with({ scheme: 'untitled', path: fileName });
commands.executeCommand('vscode.open', uri);

Note:

  • Changing scheme to something else fixes this issue.

Error displayed
Screen Shot 2020-05-13 at 16 56 04

@rebornix /cc

rebornix added a commit that referenced this issue May 15, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jun 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants