Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use a single notebook beetween multiple native editors #10514

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

Merged
merged 6 commits into from
Mar 12, 2020

Conversation

DonJayamanne
Copy link

@DonJayamanne DonJayamanne commented Mar 11, 2020

When opening same ipynb more than once, we need to ensure we share the notebook object.
This PR makes this possible.

Added separate issue #10515

@DonJayamanne DonJayamanne added the no-changelog No news entry required label Mar 11, 2020
@codecov-io
Copy link

codecov-io commented Mar 11, 2020

Codecov Report

Merging #10514 into ds/custom_editor will decrease coverage by 0.04%.
The diff coverage is 3.44%.

Impacted file tree graph

@@                 Coverage Diff                  @@
##           ds/custom_editor   #10514      +/-   ##
====================================================
- Coverage             60.82%   60.78%   -0.05%     
====================================================
  Files                   580      580              
  Lines                 31326    31339      +13     
  Branches               4457     4460       +3     
====================================================
- Hits                  19054    19049       -5     
- Misses                11307    11323      +16     
- Partials                965      967       +2     
Impacted Files Coverage Δ
.../datascience/interactive-common/interactiveBase.ts 5.52% <0.00%> (-0.02%) ⬇️
src/client/datascience/jupyter/jupyterServer.ts 7.21% <0.00%> (-0.32%) ⬇️
...atascience/jupyter/liveshare/guestJupyterServer.ts 11.11% <0.00%> (-0.66%) ⬇️
...datascience/jupyter/liveshare/hostJupyterServer.ts 10.52% <14.28%> (+0.61%) ⬆️
src/datascience-ui/react-common/arePathsSame.ts 75.00% <0.00%> (-12.50%) ⬇️
src/client/common/utils/platform.ts 64.70% <0.00%> (-11.77%) ⬇️
src/client/linters/pydocstyle.ts 86.66% <0.00%> (-2.23%) ⬇️
src/client/datascience/debugLocationTracker.ts 76.56% <0.00%> (-1.57%) ⬇️
src/client/common/process/proc.ts 14.49% <0.00%> (-0.73%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d8de159...f2a215c. Read the comment docs.

@sonarqubecloud
Copy link

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
No Duplication information No Duplication information

@DonJayamanne DonJayamanne merged commit cc9458a into microsoft:ds/custom_editor Mar 12, 2020
@DonJayamanne DonJayamanne deleted the syncExecution branch March 12, 2020 22:50
@DonJayamanne DonJayamanne restored the syncExecution branch March 13, 2020 17:45
DonJayamanne added a commit that referenced this pull request Mar 17, 2020
* master:
  Fix merge issue
  Move redux logging to a different file (#10605)
  Disable custom editor API (#10604)
  Ensure local host only if connection not available (#10600)
  Delegate management of notebooks (creation and disposing) to I… (#10568)
  Refactor to accommodate upstream VSCode API changes (#10569)
  Use a single notebook beetween multiple native editors (#10514)
  Add support for synchronising edits between two nb editors of… (#10189)
  Fix tests in ds/custom_editor branch (#10512)
  Fix linter
  Reimplement custom editor using new API
@lock lock bot locked as resolved and limited conversation to collaborators Mar 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
no-changelog No news entry required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants