How to prevent files from opening automatically while using Live Share on VS Code? - visual-studio-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?

Related

VS Code opens a new editor group for data viewer

I'm using two editor groups in VS Code to write Python code. The left group has open files, and the right group has an interactive Jupyter-like window to test code and also displays data frames with the data viewer.
Alas, since a few days ago, VS Code always opens a third editor group to the right when I open the data viewer (subsequent data frames will also be displayed in this group). This, of course, needs space and everything is reshuffled and it's driving me nuts.
I must have changed something inadvertently so that VS Code is no longer limited to opening 2 editor groups, but I can't find the setting. How do I turn this back?
I have looked through the settings (global and workspace) and can't find anything remotely indicating how to configure it.

Avoid multiple instances of QGIS on a shared drive

Is it possible to prompt an error/warning box when opening a QGIS-file that is already opened by another user on a shared drive?
At work we are using QGIS to more and more tasks meaning more and more people are using the different QGIS-files. We are starting to see an issue of multiple people opening the same QGIS-file at the same time and are making changes. My thougt is that ot would work the same way AutoCAD, Word, Excel and other programs work where when you attempt to open a shared file that is already opened by another user, you will be warned. Often you will be able to open a "read only"-version but that won't be neccesary in QGIS, in my opinion. It will be sufficient to be advised that the file is already open in another instance in some form of dialog box.
Anyone having had the same issue and perhaps have come up with a solution?

VS Code shows multiple copies of the same file when browsing

I keep having this problem that VS Code is showing me multiple copies of the same file in my recently opened section. And I don't know how to get rid of this again 🙃
I've tried enabling workbench.editor.revealIfOpen to no effect.
Any inputs on how to only show one copy of the same file in recently opened?
Turns out this was because the extra copies where opened with a wrong path, it had ./ as a prefix. And vscode treats these as unique copies. It's been fixed for the ReScript extension in this pull request.

VSCode: Any possibility to have a second, workspace-independent file explorer in the side panel?

I am looking for a way to open files in vscode that do not belong to the currently active workspace (and should not belong to it, this is not about multi-root-workspaces).
The ideal solution I could imagine would be a second explorer-panel that allows to browse the whole filesystem-tree and open files from it just like the built in explorer.
Is there maybe an extension for that I haven't found yet?

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

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.