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

Use openWith command to open notebooks #12104

Merged
merged 1 commit into from
Jun 2, 2020

Conversation

DonJayamanne
Copy link

For #10496 #10744

Use vscode.openWith when opening a notebook.

@@ -28,9 +28,9 @@ export class CustomEditorService implements ICustomEditorService {
}
}

public async openEditor(file: vscode.Uri): Promise<void> {
public async openEditor(file: vscode.Uri, viewType: string): Promise<void> {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rchiodo I've tested this with customEditor changes (new API) & it works.
Also works with untitled notebooks.

@sonarcloud
Copy link

sonarcloud bot commented Jun 2, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@DonJayamanne DonJayamanne added the no-changelog No news entry required label Jun 2, 2020
Copy link

@rchiodo rchiodo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@DonJayamanne DonJayamanne merged commit 730c223 into microsoft:master Jun 2, 2020
@DonJayamanne DonJayamanne deleted the useOpenWith branch June 2, 2020 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog No news entry required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants