Is there a tabbed view for VSCode? - visual-studio-code

Just wondering if there is a way to get a tabbed view in VS Code (editor), and if not, is that feature yet to be added?

Update
Yes! VS Code 1.3.0 added this feature.
Original
Not as of v0.3.0, as far as I know.
Feature requests: http://visualstudio.uservoice.com/forums/293070-visual-studio-code
Issue reporting: https://code.visualstudio.com/Issues/List

Yes to both of your questions.
It recently became available, if you are on the nightly Insiders release. This will soon be introduced into the product itself as well, most likely in early July.
First, download the Insiders release.
In VS Code Insider's top application menu, open Preferences >
User Settings, and then add the following setting "workbench.editor.showTabs": true
You then will have tabs enabled in your editor as shown below

The closest thing to the tabs concept tha i found is using Ctrl+Tab to navigate in the history of opened files.

VS Code v1.3.0 has tabs similar to that of sublime text.
But Tab switching is still the same as the previous version.

Related

How to get rid of GitLen+ Pro screen in VS Code?

I installed GitLens in VS Code. Then it asked if I wanted to try the GitLens+ features. I clicked "Yes". Now I am stuck at the welcome screen and can't get past it. Any ideas how to get rid of this annoying screen?
Uninstall gitlens extension. Productivity extensions shouldn't reduce productivity by putting up adds that can't easily be closed.
I had the same problem, but I was able to solve it by following the steps below.
Open the sidebar extension
Click the down arrow to the right of the uninstall
Install another version
Install 11.7.0
Reload
But there was no Gitlens in the sidebar
So next
"git lens: show welcome view" in the command palette
Select "git lenses layout" in "view" of "quick setup"
Gitlens is displayed in the sidebar
Then install the latest version
Gitlens is displayed in the sidebar
I hope it helps you even a little.
Go to VS Code command Pallete and select GitLens+: Sign out of Gitlens+
that should get you to the previous experience.
you can also use the the VSCode Command Pallete to display the views you want, such as
I think I had the same issue on Windows (now I'm on my mac) so I went back to Windows, created a new account, and started the trial since logging off of my account on Windows didn't result in that scenario.
I couldn't reproduce it on Windows either.
I'm thinking that might be a glitch, I'm sure you already tried to close VSCode and open again, so, maybe try to sign out and sign in again.
If you want to remove the "home" view, use the elipses on the top right and untick it. Also, check if the other views are enabled.
The problem here is that when we install GitLens extension then all the GitLens features and buttons are added under the generic source control tab (Ctrl+shift+G). Even though GitLens creates a new tab of its own and it looks like all features and buttons are hiding behind the welcome screen. This is not the case and everything but the welcome screen is under the generic source control tab. Poor design choice indeed.
Hide GitLens+ Features from the Command Palette GitLens+: Hide GitLens+ Features
To restore from the Command Palette GitLens+: Restore GitLens+ Features
Step 1. Uninstall GitLens
This avoids fiddling with settings to try to stop it being nag-ware.
Step 2. Install Git Graph
This has the nicest "railway-track" display of commits that I have come across, although the dev seems to be not responding to contact during 2022.
An alternative is Git History, which remains under active development, although its railway-track display is less compact and efficient.

How to show breadcrumbs on Visual studio Code?

I made this window disappear. How do I recover it?
Those are called breadcrumbs in most IDEs. In VSCode, it's no different.
Find the setting by going to your settings and searching "Breadcrumbs".
If you choose to not use the fancy settings editor, you can manually add this to your configuration:
"breadcrumbs.enabled": true
Update
As of May 2019 (version 1.35), breadcrumbs are enabled by default in VSCode. They can still be toggled using the steps outlined above.
Beware that even if you have breadcrumbs turned on in settings and the Language is selected, you will have to save the file in order to get breadcrumbs in VS Code 1.52.1
I'd like to add one more thing to Ian MacDonalds answer:
You can simply toggle them within the "View"-menu View > Toggle Breadcrumbs :

Enabling auto scroll in Visual Studio Code

Is there any way that we can enable auto scroll in Visual Studio Code? I have been looking in the settings but could not find anything(unless i missed something).
I am reviewing a log file and as it gets updated, its refreshed on my side. But it is not showing the latest logs but just stays where my cursor was and highlights everything that gets populated after that.
Had the same problem but did not find a setting within VS Code.
However there is an extension for VS Code:
https://marketplace.visualstudio.com/items?itemName=pejmannikram.vscode-auto-scroll
Works quite well for me.
There's now a built in VSCode setting - you can untick Smart Scroll option (output.smartScroll.enabled).
As described here:
VSCode: Turn auto scrolling permanently ON
"An option to turn off the smart scroll feature was included in one of the recents update (probably in the March 2020 update, I didn't found this on the changelog), see more: issue #69480
Since then, I've been able to "save" the scroll state, try this:
Go to File > Preferences > Settings (or Ctrl + ,)
In Features > Output, disable Smart Scroll option (or search output.smartScroll.enabled)"

Latest VS code insiders right pannel

I have updated VS code insiders for the latest version.
Now it shows below kind of new panel right side of the editor.Can you tell me what is that and how to remove it?
Open setting.json and set "editor.minimap.enabled" to false.
The mini-map provides a summary of your code for a quick navigation.
It is a feature!
the mini-map shows you the entire file/page you are working on. You
can quickly navigate it via the mini-map

VS Code Scroll Map (Minimap)

I am searching for something like this extension for VS Code. Any suggestion?
Finally, we have the code mini-map feature in the February 2017 release (1.10)!
To enable it, open your editor settings and add the following
"editor.minimap.enabled": true
This is a top request in User Voice. Currently not implemented in product nor as an extension.
Additional settings in Minimap (For love of Minimap):
1) to render blocks instead of characters for better visualization on the Minimap:
"editor.minimap.renderCharacters":false
2) highlight slider on the map:
"editor.minimap.showSlider": "always"
Finally! Version 1.10 brings this long missing feature.
Official announcement
No need to edit any settings! It's enabled by default.
You can track an open issue here. They recently launched a beta version of the minimap with the last insider release. Have a look, it looks great! Link to visual studio code