Theia: [editor] Support editing the same file in multiple editors?

Created on 18 Dec 2018  路  4Comments  路  Source: eclipse-theia/theia

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?

editor enhancement help wanted uux

All 4 comments

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).

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?

cc @marcdumais-work

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pwFoo picture pwFoo  路  3Comments

jankeromnes picture jankeromnes  路  3Comments

akosyakov picture akosyakov  路  3Comments

tetchel picture tetchel  路  3Comments

cekvenich picture cekvenich  路  3Comments