-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
Provide access to current editor column #1835
Comments
Also @jrieken fyi |
I like |
tho, there are cases where an editor is embedded inside a 'large' editor - the find reference et al experience. unsure how to handle those... |
@bpasero Are there events when editors get rearranged et al? |
@jrieken currently not, but I can add such an event to the collection of editor events. |
jrieken
added a commit
that referenced
this issue
Jan 21, 2016
there is now |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want to open a document right side of current editor according to the following logic:
If current editor is on column 1, side editor must be on column 2,
If current editor is on column 2, side editor must be on column 3,
if current editor is on column 3, side editor must be on column 1.
Also, if the target document to open is already opened in any of the existing editors, then no new editor shall be opened but the editor with the target document opened shall get the focus.
window has the showTextDocument with an argument to indicate the column. This can be used when the new document is still not opened, but if the target document is already opened, you have no way to know in which column.
I've tried a loop over all editors and that doesn't work because the order of the editors array does not follow the same order as the column numbers.
I've found no satisfactory solution for this problem and having access to every editor column might help a lot.
The text was updated successfully, but these errors were encountered: