question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Output tab cannot be pinned to the second column

See original GitHub issue

Description: When running a query in the VsCode (using Shift+Enter in MacOs), the output tab opens in the second column, when rerunning the same query for the second time the output tab opens in the first column.

https://user-images.githubusercontent.com/4527650/148527967-3879508d-b59b-4f0f-ac6b-3afae32dfd18.mov

Expected outcome

Every time a query is run the output tab must open in the column it was opened before, instead of opening the tab in the first column.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
bparkin1283commented, Jan 21, 2022

This is fixed with the nightly vscode 1.64 build via microsoft/vscode#138914 via 57e2ed6.

2reactions
Borvikcommented, Jan 7, 2022

I can replicate this…

The problem comes from a editor.reveal() call that is used to focus the existing query result window to the foreground of it’s respective panel in case it isn’t already visible.

This used to work fine, the recent vscode update I think changed something.

Even though it’s being called to reveal in the same ViewColumn it’s already in it appears to be switching, which I agree is highly annoying.

Still investigating, but this may be an issue with vscode and not the extension.

Read more comments on GitHub >

github_iconTop Results From Across the Web

visual studio code - Multirow Tabs for VSCode - Stack Overflow
I do the following for multirow tabs in visual-studio-code (until there ... There is some hope for a second row of tabs -...
Read more >
Pinning a Tab - DbVisualizer 10.0 Users Guide
In the right-click menu for a tab you find a Pin Tab toggle to accomplish this. You can also click on the icon...
Read more >
Query results | DataGrip Documentation - JetBrains
Open settings by pressing Ctrl+Alt+S , navigate to Database | Query Execution | Output and Results. In the Treat text as title after...
Read more >
Customize window layouts and personalize document tabs
Pinned tabs will show in a separate row from unpinned tabs. To change these options, navigate to Tools > Options > Environment >...
Read more >
Output Excel
To define which input pin is written to which Excel worksheet, and where within the worksheet the data is to be output, add...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found