Modify default workbench view setting at vscode startup - visual-studio-code

I am attempting to remove Extensions view from vscode Activity Bar, immediately at code . start.
Is there a way to toggle it off (change default behavior) at launch?
I don't see that workbench.view.extensions is exposed as configurable parameter in settings.json.
Another thought I had, was to instead use keybindings for command workbench.view.extensions.
But there is "no key" equivalent that responds to starting vscode.

You can't do that in Visual Studio Code.
From my knowledge, it's impossible to remove or hide the Extensions view from Activity Bar at code . start.

Related

How to add an icon in Activity bar of Visual Studio Code that will trigger a keyboard shortcut

Is it possible to add an icon in Activity bar of Visual Studio Code that will trigger a keyboard shortcut like Ctrl+Shift+P. Or executing a command from Command Palette.
Only extensions can add an icon in the activity bar (officially called a "views container"). They cannot trigger a command, though. See the official documentation here:
https://code.visualstudio.com/api/extension-capabilities/extending-workbench
https://code.visualstudio.com/updates/v1_23#_custom-activity-bar-views
However, maybe these extensions might fit your needs, they allow creation of custom commands in the status bar or the editor menu bar:
https://marketplace.visualstudio.com/items?itemName=seunlanlege.action-buttons
https://marketplace.visualstudio.com/items?itemName=jerrygoyal.shortcut-menu-bar

New to VSCode, can't disable sidebar

I am new to VSCode, long been a holdout with Powershell ISE. I am in a situation where I am doing more with PS7, so have no choice but to use it. The one thing that I cannot seem to find is a way to permanently disable the sidebar. Every time I run a script the stupid thing pops up, and I have to hit CTRL+B to close it. I have tried going into Powershell language specific settings, but the only option I see is sidebar.location.
Is there any way to permanently stop this from popping up?
Here is the solution:
go to settings
search for Debug: Open Debug
choose never open
Allow me just say this. I too use VSCode, Sapien's PS Studio, and the ISE more than the previous two, but also use PowerShell v7.
So, FYI... You do have a choice, You can use PowerShell v7 from the ISE. I do this every day. Well, it's a workaround to do so, but it works just fine.
Here is one of the ways to use PowerShell v7 in the ISE.
Using PowerShell Core 6 and 7 in the Windows PowerShell ISE
The other way I use it is just shelling/branching out to it as needed.
Yet, your question is really a duplicate of this Q&A.
Is there a shortcut to hide the sidebar in Visual Studio Code?
And these potential answers...
you can hide the activity bar by setting up your own keybinding
(code.visualstudio.com/docs/customization/keybindings) for
workbench.action.toggleActivityBarVisibility
and or
In the VS code version 1.43, you can hide or show the side menu or
activity bar by going under the 'VIEW' tab in the nav bar in the top
margin of VS CODE(called the 'Menu Bar'). Go to View => Appearance,
there you can check or uncheck different nav bars to show/hide each
one.
If you have the top bar (Menu Bar) currently hidden press 'alt' key to
bring it back then follow above instructions to check it to keep it
there permanently if desired.
The thing to remember though is, that sidebar is your file/project explorer and as such critical for normal development. It's how you get to all your files. Sure, you can still get to them using F1 and type a name, but that's kind of painful, vs scrolling to find what you need or opening multiple files in a project at once.

How can I set the default option in Visual Studio Code's Quick Open View?

Up until now I've been using Ctrl+Q to trigger View: Quick Open View. The first option was Explorer, so if I Ctrl+Shift+F to search something I return the Explorer back to the sidebar by Ctrl+Q only.
Today, the first option changed and I have no idea why. It's set to an extension's sidebar view.
If I disable it the first option becomes Bookmarks. How can I tell VS Code I want Explorer to be the first option, like it's always been?
See https://github.com/microsoft/vscode/issues/90232
It was a regression in v1.42 that is due to be fixed in the v1.42.1 recovery update.

spyder editor is it possible to set autocomplete to Tab?

I'm trying to set autocomplete functionality in spyder editor to Tab via
Tools --> preference --> KeyBoardShortcuts.
in the popup, window tab is used as the toggle switch. so i cant set the Tab as shortcut key. please help to set Tab as autocomplete key.
(Spyder maintainer here) The Tab key is defined by default to get completions in the Editor, so you don't need to set it through our Preferences.
Besides, this functionality is hard-coded in our source code, so you can't reassign Tab to something else.

VSCode: How to turn off auto select in File Explorer when changing window tabs?

In VSCode, if I have an editor window tab open and I click anywhere in that editor window, the selected file in the File Explorer changes to the file being edited. I would like to prevent that behavior. This is possible in Visual Studio, but I can't seem to find a similar setting in the preferences file of VSCode.
Can anyone provide some suggestions?
This has been added, see https://github.com/Microsoft/vscode/issues/14745.
Configuration is "explorer.autoReveal": false
You can't, at least not today. The only thing you can do, is keeping the scroll position when switching tabs. See this answer for the setting: VSCode prevent file Explorer from jumping
And here is the feature request on Github: https://github.com/Microsoft/vscode/issues/14745
(Feel free to add a "Thumbs Up" via Github Reaction at the top so the request gets more attention in the future, this increases the chances that it gets implemented sooner)