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

[editor] Support editing the same file in multiple editors? #3857

Closed
paul-marechal opened this issue Dec 18, 2018 · 4 comments · Fixed by #9369
Closed

[editor] Support editing the same file in multiple editors? #3857

paul-marechal opened this issue Dec 18, 2018 · 4 comments · Fixed by #9369
Assignees
Labels
editor issues related to the editor enhancement issues that are enhancements to current functionality - nice to haves help wanted issues meant to be picked up, require help ui/ux issues related to user interface / user experience
Milestone

Comments

@paul-marechal
Copy link
Member

paul-marechal commented Dec 18, 2018

VS Code can open the same file in multiple editors:

VS Code can open the same file in multiple editors

What about supporting this in Theia as well?

@paul-marechal paul-marechal added enhancement issues that are enhancements to current functionality - nice to haves editor issues related to the editor ui/ux issues related to user interface / user experience labels Dec 18, 2018
@paul-marechal paul-marechal changed the title Support editing the same file in multiple editors? [editor] Support editing the same file in multiple editors? Dec 18, 2018
@phaumer
Copy link

phaumer commented Jul 16, 2019

This is essential for our audiences that edit very large program files and want to see different parts of a file next to each other. So more than two splits is also desired.

I assume that the editor manager would need to be extended to index different instances of the same file with some extended URI scheme (e.g. by adding a number).

@akosyakov akosyakov added the help wanted issues meant to be picked up, require help label Oct 17, 2019
@dannaf
Copy link

dannaf commented Oct 21, 2019

For me this would also be a useful feature.

The closest thing I found is the 'Compare With...' feature, which views two different versions of a file side by side. But that feature locks the scroll of the two editor tabs together, and also shows different versions of the file. Maybe a quick implementation can be made by having a 'Compare With...'-like version that just doesn't lock the two tabs' scrolling, and compares against the same version of the file?

@vince-fugnitto
Copy link
Member

cc @marcdumais-work

@akosyakov
Copy link
Member

It should be feasible to implement by adding a counter in editor widget options. URI should not be changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor issues related to the editor enhancement issues that are enhancements to current functionality - nice to haves help wanted issues meant to be picked up, require help ui/ux issues related to user interface / user experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants