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

from [vscode-cpptools]: "Switch header/source" in split view opens file always in left view. #18730

Closed
bad-ed opened this issue Jan 18, 2017 · 2 comments
Assignees
Labels
api *duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality

Comments

@bad-ed
Copy link

bad-ed commented Jan 18, 2017

Redirected from here: microsoft/vscode-cpptools#444

Example: editor is split into two views. In the left view I have "file.h" opened, "file.cpp" is opened in right view. Issuing "C_Cpp.SwitchHeaderSource" command in "file.h" tab creates new tab "file.cpp" in left view. Seems like it should focus already opened "file.cpp" tab in right view. If there is no tab with corresponding source (or header) it should be created in the same view side by side with tab from which command has been issued.

vscode

@bpasero
Copy link
Member

bpasero commented Jan 19, 2017

C++ asks for the revealIfVisible editor option to be available as API when opening a document.

@jrieken jrieken added the feature-request Request for new features or functionality label Jan 19, 2017
@jrieken
Copy link
Member

jrieken commented Jan 19, 2017

dupe of #13639

@jrieken jrieken closed this as completed Jan 19, 2017
@jrieken jrieken added the *duplicate Issue identified as a duplicate of another issue(s) label Jan 19, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api *duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

4 participants