forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Implement the changes necessary to use the new custom editor #12188
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
bb5e0ad
Turn on custom editor again
rchiodo 66ea1dd
Fix copy problem
rchiodo d27e2f6
Fix copy problem again
rchiodo 08c0760
Merge remote-tracking branch 'origin/master' into rchiodo/renable_cus…
rchiodo e49e9ad
Get undo/redo to work
rchiodo d167a10
Merge remote-tracking branch 'origin/master' into rchiodo/renable_cus…
rchiodo 0f48e1e
Some fixes for synching more than one editor
rchiodo d92a98b
Merge remote-tracking branch 'origin/master' into rchiodo/renable_cus…
rchiodo cc921af
Fix untitled. Fix timeouts
rchiodo c3a470c
fix command manager to not be used. Not necessary with temp path.
rchiodo ed58c18
Fix functional test
rchiodo 80b881f
Merge remote-tracking branch 'origin/master' into rchiodo/renable_cus…
rchiodo d101156
Add experiment
rchiodo 6b3d3b6
Merge remote-tracking branch 'origin/master' into rchiodo/renable_cus…
rchiodo 2922e7c
Since package json is enabling proposed api, turn of notebooks with e…
rchiodo 384e38c
Turn off proposed api
rchiodo a6a9479
Upgrade VS code to 1.45 so can use new api outside of insiders
rchiodo a115152
Update package.json dynamically
rchiodo 7861c7d
Fix merge code to handle arrays
rchiodo 4715a36
Fix unit tests. Backup happens at the provider level now
rchiodo b48c8d9
Fix hygiene
rchiodo 23329a6
Fix untitled to work for old provider too
rchiodo 496b8be
Some feedback and attempt to fix URI problem on linux/mac
rchiodo 615caf5
Review feedback
rchiodo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"activationEvents": [ | ||
"onCustomEditor:ms-python.python.notebook.ipynb" | ||
], | ||
"contributes": { | ||
"customEditors": [ | ||
{ | ||
"viewType": "ms-python.python.notebook.ipynb", | ||
"displayName": "Jupyter Notebook", | ||
"selector": [ | ||
{ | ||
"filenamePattern": "*.ipynb" | ||
} | ||
], | ||
"priority": "default" | ||
} | ||
] | ||
} | ||
} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Enable the use of the custom editor for native notebooks. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually this was on purpose. Otherwise experiments won't load from the json file.