Does the Visual Studio code extension API allow the modification of tabs? - visual-studio-code

I would like to write an extension that allows you to group together multiple tabs that could be cycled through, perhaps just by repeatedly clicking. I find that when working on Angular components for example that I have the .ts, .html and .less files of the component open at once and I'd like to keep them together. In this case those 3 files could all be kept under 1 tab in the editor that you could just cycle through.
Does anyone with some experience writing VS code extensions know whether this can be done? Nothing I've seen in the docs seems to quite fit.

Related

How to prevent files from opening automatically while using Live Share on VS Code?

When multiple users are coding a project and one user opens a file, the same file is opened for all other users. This becomes really annoying as several files get stacked in your VS code app. Is there a way to disable this?

Disable the output window in Visual Studio Code

The output window in Visual Studio Code is extremely annoying when messages keep popping up, considering that the only tab I use is the Terminal tab. Is there an extension or built-in method that suppresses all messages to the output window or outright disables it? I've come across multiple questions and they all require disabling the bottom tabs entirely which is inconvenient for me, or requires tasks which I don't use. There's also multiple issues on the VSC github where it's extremely helpful and say something along the lines of: It's an extension problem, report it to the extension creator.

Visual Studio Code Automatic Preview Mode on Sidebar navigation?

I've recently moved to Visual Studio Code from Sublime Text.
Something that I'm missing is the "automatic preview mode" (I don't know the exact name): in ST, if I navigate the files in the sidebar with the keyboard, every file is automatically opened in a (static) preview editor.
I couldn't find anything similar in VSC. The most similar functionality requires me to single-click, but I have two problems with this:
I'm a "keyboard-prevalent" user, and (single-)clicking defeats the purpose;
in ST this happens automatically, so it's faster anyway.
Am I missing something?
I've been searching for a while, but can't find anything relevant. It seems there are references to this functionality from Search Files (Ctrl+P), but I'm looking this functionality on the sidebar, since I use this while working on files of a single directory.

Visual Studio Code extension for saving and reusing my own custom code snippets / boilerplate?

I am looking for VSC extensions that will let me save my own code snippets and reuse them in any future projects with shortcuts like when I type html I am able to pick an option that generates whole document example that I can then continue modifying.
Ideally it should also have an option to export all custom settings so I can move them to another machine or back them up if I need to format the system.
I realized this was one of my major efficiency issues when I kept copying code from old projects to be reused in my latest work. I did check the extension search in VSC but so far only found such that already include existing snippet shortcuts.
I found 1 viable method so far with native VSC but post if you know of an even better way.
Press Ctrl + P and > then type Preferences: Configure user snippets and then selecting a language. To generate json fast I used: https://snippet-generator.app/
It saves snippets in AppData\Roaming\Code\User\snippets folder so that is good for backuping or exporting.
To reorder snippets to have custom ones at the top of the suggestions box for faster use go to: Workspace Settings > Text Editor > Suggestions > Snippet Suggestions and set it to top.

How to find all references / peek definition / go to definition work across whole project

does anyone know how to make for example the "peek definition" feature of Visual Studio Code work in the entire project, hence across multiple files? Out of the box it only works when Stuff is in the same file.
Thank you :)
Also Intenseness do not seem to work across multiple files.