Integrate terminal back to bottom panel in VSCode - visual-studio-code

I moved my terminal window out of the bottom panel on VSCode where it used to sit next to problems, output, debug console, etc. to the side panel on the right.
I want it to go back to where it used to be as default at the bottom as I've artistically drawn in the photo. Please could someone help me do this? I have tried Google and playing with the appearance settings.

Related

Netlogo on Windows - pop-ups in GUI open beyond screen and can't be closed

I was curious if anybody had experienced the same issue: when opening a pop-up in the GUI (e.g., inspect patch, inspect turtle), that pop-up open on the top of the screen in a way that I can't grab the menu bar, this can't close or move it which can be really frustrating at times - see screenshot. The small grey bar on the top-left is an old pop-up that I resized to get it out of the way.
Anyone got an idea how that could be fixed?
I use NetLogo 6.1.1 on an Asus laptop running Windows 10. I tried right-clicking, resizing, etc. but to no avail.

I am not able to preview the icons on vscode while browsing?

As seen in the picture I'm browsing the icons but none of them are shown.
Is there a change in a new update or am I missing something here> it used to show the icons while I browsed.
There should be an arrow appearing when you hover on the right side of the tooltip stating "read more". Simply click once and therefore the icons preview should always appear.
Pressing the Ctrl + space in windows can show and hide the icon
press ctrl+space two times,
1)to open icon menu
2)to preview the icon
go to preferences settings and search for "previewlsp" its a dart setting change it to true and restart VsCode then you will be able to preview icons.
I had the same issue. I maximized the VSCode editor, closed the navigation pane on left, and aligned the line most left then icon preview comes into the screen as you can see in the picture.
I don't know the root cause of the problem but the above scenario fixed my issue and it works now. It might be a Flutter/Dart extension-related topic.
If I would find the real root cause and proper solution, I will update my answer. I hope this workaround works for you too.
screenshot
It works for me with setting Dart Preview Flutter Ui Guides setting
Go to Setting and search "preview"
Go to Dart part(see the left part)
check Dart:Preview Flutter Ui Guides
Setting image

How to detach Outline from Explorer

Problem: Detaching the Outline section from Explorer and moving it to the right side.
Tried: right-clicking, changing the settings - cannot find where and how the Outline section be detached from Explorer.
Question: is it possible to detach the Outline Panel from Explorer Panel?
Is there another extension, which the same functionality as Outline, which could be placed on the right side?
Thank you!
This should be supported directly in VSCode 1.64 (Jan. 2022), with the new side panel.
New Side Panel
This milestone, we introduce the Side Panel, a new surface in the workbench to house views from the Side Bar or the bottom Panel appearing opposite the Side Bar.
Unlike the historical ability to move the bottom Panel to the left or the right of the editor, the new Side Panel works in addition to the bottom Panel so you can see more sets of views at once.
To use the Side Panel, you'll need to move some views over to it.
Based on one of our most upvoted feature requests, you might want to move Outline from the Side Bar to Side Panel.
You can do this by dragging and dropping the view into the Side Panel.
If the Side Panel is not open, just like the bottom Panel, dragging a view to the edge of the editor area, will pop it open.
Alternatively, you can use the Move View command for something more keyboard friendly.
Moving Outline View to the Side Panel:
Yes you can, click on the Outline Title Bar and you can move it to any other panel, even the bottom Problems/Terminal panel.
You don't need any special extension for it. Almost all panels can be moved around in VSCode
You cannot have a Floating Window however.
You also Cannot have Two Sidebars
If you want to have the sidebar to the right go to View - Appearance - Move Side Bar Right
As of now, no you cannot have two sidebars, this is the issue tracking that feature.
I can suggest an alternative, you can move the outline to the bottom panel, where the terminal is so that you can have both at the same time but just not as a sidebar.
like this:
or like this but attaching two Bottom Panel tabs together.
Here is a Demo on how to do it
So after a lot of searching, I finally came up with my own solution. Apologies in advance for the poor screenshot quality. I used Microsoft's Steps Recording not realizing the image compression would be so poor.
First, open up a new terminal (Ctrl+Shift+`)
Make sure that the terminal tab is active in the panel. Right click the terminal name on the right-hand side and select "Move into editor area.
"
You can then right-click the now-tabbed Terminal in your editor space and select "Split down."
Your editor should look like the image below. However, we're not done yet! Here's where the magic happens. Open another terminal.
Things will look weird but this is going to work.
Click the "Outline" header in the sidebar and drag it into the bottom terminal panel:
Sidebar > (Outline) > Terminal Panel
Next, right-click on the tab bar of the bottom panel and select "Move Panel Right"
Et voila! You should how have a sidebar on the left, and Outline on the right, and a Terminal on the bottom!

How to move Output or Terminal back into the panel in the window layout?

Recently in VS Code, somewhere around v1.42 or v1.43, we gained the ability to move around the following windows/panels that used to be stuck in the panel:
Terminal
Output
Debug Console
Problems
They could be split into multiple items in the panel itself (side-by-side or top/bottom, depending on whether the panel was at the bottom or left/right), and even dragged into the side-bar.
This was great, but after moving all of these windows to the side-bar while experimenting, I can't find any way to move them back into the panel. The panel is now empty, except for 3 dots (an ellipsis) in the upper left corner. You can still hide/show the panel, and move it left, bottom, or right, but there is nothing in it, and you can't drag anything to it. Dragging the terminal into the panel shows an icon that looks like it will successfully move (it's not the icon with the circle/cross-out you get other places it won't drop), but when releasing the click-drag, nothing happens.
I had just upgraded to v1.45.0 when this happened. It appears to be a defect, unless I'm missing something. Does anyone have a way to put the terminal or one of these other windows back in the panel, or reset their position? I combed the settings, and tried to find default setting's files (system or user) that might hold info on what is in the panel vs. the sidebar, etc., but couldn't find anything via search or on my PC. Any ideas?
Note: This is NOT about moving the panel between the left/right/bottom positions, or selecting the terminal/output/etc. in the panel itself. That's "old news", this is a recent feature.
Here is a view with the Terminal, Output, Debug Console, and Problems put at the top of the sidebar toolbar, and Terminal focused. The Panel is just to the right of the sidebar window, set to the "left" position, completely blank and useless. The "welcome" window on the far right side:
And here are my current settings:
See this issue https://github.com/microsoft/vscode/issues/96117 (Empty panel behaves weird)
Suggested fix:
Run the command View: Reset View Locations in the command palette.
Please see: https://www.technipages.com/visual-studio-reset-window-layout
Menu Window / Reset Window Layout worked for me in VS 2019

Page down/up when clicking in the VSCode scrollbar

Is there a setting to change the click behavior in the scrollbar to page up/down instead of jumping to the location in the file? This is the usual scrollbar behavior in almost every other applications except maybe unix applications.
A suggestion could be:
Left click: page up/down
Right click: jump to location
There is a setting for this now:
Editor: Scroll by Page
Controls whether clicks scrolls by page or
jumps to click position.
With that setting enabled, the editor will scroll by one viewport page when clicking anywhere above or below the scrollThumb. With it not enabled (the default) it will scroll to the position in the scroll track where you clicked.
This behavior does not currently exist. I suggest opening a feature request on github.
If, like me, you've been brought to this page despite putting "Visual Studio" into your web search, you can modify this behaviour in the full blown Visual Studio as follows:
Tools > Options > Text Editor > All Languages > Scroll Bars
Under "Behavior", toggle between bar mode and map mode
More information can be found by reading the Microsoft Docs for this feature.