Can i change VSCode Terminal Icon to the original one? - visual-studio-code

the question and picture is described as following:
maybe i clicked somewhere else, i don't know what happend, the icon of the terminal choose changed, after it changed, i feel bad. is there sombody can help me change the icon to the original one?
https://i.stack.imgur.com/lOXqw.png

By mistake, changed from list to icon (tab), but I managed to change it back. This is how I did:
Click the drop down button next to the "plus icon"
A drop down list with option will appear
Choose "Configure Terminal Settings"
The Settings will open in the Editor Area
Navigate down to the feature "Terminal > Integrated > Tabs: Focus Mode"
Uncheck this feature and it's done
Now, if you just want to change the icon for CMD, then you just need to:
Click the icon (the CMD icon you indicated on the image you sent)
A drop down list with options will appear
Choose the option "Change Icon..."
Near the top of your window, a drop down list will appear
Simply type 'terminal' and a lot of icons will be shown
Choose the icon you want

Related

Way to enable Quick Open search box in Command Center

I downloaded the latest version (1.75.1) of Visual Studio Code.
Enabled Command Center by setting window.commandCenter option to true.
After that I disabled Quick Open search box by right clicking and unchecking hide quick open option.
Couldn't find any direct method to turn it back on.
Just right click the "go back" or "go forward" buttons and click the entry that says "quick open" in the right click menu that pops up. That will cause the quick open input to be shown again, and if you right click again, you'll see that same entry with a check mark beside it to indicate that it is shown.
In fact, the "hide <X>" entry that appears at the top of the menu is just a shortcut to clicking the entry below it for that specific input of the command center.
The handy thing is that VS Code will prevent you from hiding all three of the "go back", "go foward", and "quick open" inputs of the command center, so you always have some part of the command center visible, and something you can right click on to get that popup menu.

VSCode "Open Editors" panel not showing

I don't know what I have done but I cannot see the "Open Editors" panel in the Explorer view
I note also that clicking on the three dots (Views and More Actions...) to the right of the word Explorer at the top of the explorer panel the word Folders is greyed out
Can anyone point me to the setting I need to change in order to rectify this situation?
Just in case anyone else has the same problem here is how I resolved my issue. I won't bore you with how I discovered the solution.
Right-click in the activity bar, this will bring up a context menu with the entry for Open Editors listed but not marked with a tick
Activity bar context menu.
Clicking on "Open Editors" in this context menu brings up a new icon in the activity bar that looks like an open book
Open Editor icon
Right-clicking on this new icon reveals another context menu that includes the option to reset the location of the Open Editors panel.
Open Editor context menu
Selecting this option resolves the problem.
How I got into the problem in the first place is still difficult to ascertain. With the activity bar in its default configuration I must have dragged the "Open Editors" header to somewhere on the activity bar, that clearly removes it from the Explorer side bar but how I inadvertently right clicked this new icon and selected "Hide 'Open Editors'" without realising remains a mystery.
Go to view and click on Open View and the on Open Editors.
3 dots on extreme right hand side has an option - keep editors open --> set it to default view. Once done the open editor will be be visible on the left.
This is considering you have default vs code layout...
I am currently using version: 1.68.1
In VS Code, go to Settings and in the search box, type explorer.openEditors.visible. Set the value in the dialogue box to any number greater than 0 and you are good to go. Refer to the image below.

How to remove the vertical line on VS CODE

I went into the settings.json, but the "editor.rulers":[] array is already empty. I still have the line in the middle. Please advise step by step to remove this. Thank you in advance!
You appear to be looking at the default settings JSON (not your actual settings JSON), which should contain nothing in that array (did you reach this via the command palette)?
Try the following:
Open the settings menu by clicking the Gear icon in the bottom left and selecting Settings, or by the keyboard shortcut Ctrl + ,.
In the top right of the settings menu, click the ellipsis in the top right and select "Show modified settings."
See if the "Editors: Rulers" setting is in your list of settings after filtering on modified settings. If it is, click the "Edit in settings.json" link for it, and delete the setting from your JSON.

Hide file drop down menu in editor

I'm working in VS Code and (I think I used a wrong shortcut) the following feature appeared: When having a file opened in a tab, there appears a bar below the header of the tab and above the first line of the file. When clicking on it, a dropdown menu opens up, where one can select the other files of the current folder (see picture below). When clicking on one of them, this file is opened in a new tab.
How can i remove this menu? I already searched through my user and workspace settings, but didn't find an appropriate option.
Picture
Thanks for your answers
You have enabled VSCode's breadcrumb feature. To disable it:
Press Ctrl+Shift+P to open the command pallete.
Type "Toggle Breadcrumbs" and press enter.
Alternatively, you can disable the breadcrumbs from the settings menu:

VS Code - toggle search icon in Activity Bar, move from panel or back

I accidentally removed search icon in Activity Bar and don't know how to add it there again. If I click on Activity Bar, I don't see this option any more.
Update: v1.44 you can now simply drag many of the views, including "Search" from the sidebar to the panel and back. See https://code.visualstudio.com/updates/v1_44#_increased-view-placement-flexibility and https://stackoverflow.com/a/55981465/836330
Update: v1.42 added a context menu option
Move to Panel/Move to Sidebar
to certain typically sidebar views like Search, Outline and custom views. So you wouldn't have to use a setting to move the Search view back to the sidebar. Here is a demo:
Also notice that you no longer right-click in the empty space below the search inputs in the sidebar but on/near the Search header itself to bring up the toggle option.
As part of the v1.42 release the search.location setting mentioned below will be deprecated.
Your setting should migrate automatically, but you will need to use
the new generalized method to move the Search view going forward. You
do not need to enable the experimental preview setting above in order
to move the Search view with the new context menu entry.
So I don't think there is a setting anymore, you just right-click on the header text "Search" whether it is in the Panel or active in the Sidebar to move it. See the demo below.
Right-click on the "Search" header if you have it in the sidebar to "Move to Panel".
If Search is in the panel, right-click on the word Search to "Move to Sidebar".
To enable moving the Output view at this point, you need to enable workbench.view.experimental.allowMovingToNewContainer.
There is a new unbound command workbench.view.search.moveView which you can use to toggle the search position between the panel and sidebar. But note that in my testing it only works a couple of times because it focuses the panel when you move search to the sidebar - I'll file a bug.
Previous Answer::
You may have modified the setting:
"search.location": "sidebar",
which is the default to the alternative
"search.location": "panel",
which would put the search widget into the terminal panel as another tab.
As of vscode v1.35 or so, you can now right-click in the empty space below the search view (i.e., in the sidebar under the open search inputs) and you will get an option to Toggle Search View Position.
This context menu switch of the search view is persistent. It will automatically add this setting to your settings.json:
"search.location": "panel",
The only way at present (but see edit just below) to move the icon back to the activity bar (and thus the search across files functionality to the sidebar) is to change that setting to the sidebar option. Or look for this setting in the settings editor:
Search: Location
Controls whether the search will be shown as a view
in the sidebar or as a panel in the panel area for more horizontal
space.
EDIT: More recently, vscode added the abilty to right-click in the search area when it is in the panel to toggle it back to the sidebar.
In windows
file--> preferences-->settings
In mac
preferences -> settings
vs-code version 1.30.2
Step 1: Click on Edit from Navbar
Step 2: Find in Files
.
.
You can easily search for anything in the side paanel
or else if you want anything to search inside files then
Step 1: Click "Ctrl+F"