How to get rid of an empty panel in Visual Studio Code - visual-studio-code

I'm trying out Visual Studio Code. Yesterday, I opened a file outside of the git directory I was working in. I eventually moved and renamed the file and somewhere along the line, I ended up with the empty panel shown in the attached screenshot. I tried clicking every GUI element and every menu item and I could not get rid of it. I could close that file and it would go away, but once I re-opened it, it would come back, so it seemed to be associated specifically with that file.
I could split the view and add more tabs, but there was no way to get rid of it. I selected view > editor layout > single many times and it would not go away. All I could do was make it smaller by dragging the vertical divider.
This morning, I closed it and re-opened it, and it was gone. Unfortunately, despite trying to reproduce the steps that lead to that empty panel, I could not make that panel show up again.
Does anyone know what that panel was, why it was appearing with that file, and how to make it go away if it happens again?

That file basically shows you all the edits you've made since you last saved the file in git. By clicking on the source control button on the activity bar on the left side you can view your changes on the files you're working on. You can't actually edit it, it just shows the changes you've made.
To actually open the file and edit it you can either go back to the top left button called explorer on the activity bar or click on the little file button next to the name of the file (next to the + sign and the arrow).
Checkout this video by vscode which explains it

Related

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

VSCode bring back something that was removed from sidebar

I had a bunch of projects open in VSCode and to clean up my left sidebar, I right clicked on them and clicked "Remove from Sidebar"
This removed the folders that I wanted to be removed from my sidebar. When I tried to re-open any of these folders, however, VSCode does nothing. I can open folders that I have not previously removed from the sidebar, but for ones that I have removed, they will not open.
Any help would be appreciated!
If you right clicked and "hide from side bar" something in visual studio code, you can get it back.
Simply right click the name of the side bar, at the top. A list of every panel in the side bar is displayed with checkmarks next to it.
Select the one without a checkmark and it comes back.
This also works if you have accidentally hidden the call stack panel from the debug side bar, for example.

eclipse perspective messed up, reset not helping

I somehow messed up my perspective then I clicked reset perspective. This gives me back the package manager on the left. problems/javadoc/declarations on the bottom. Task list and outline as 2 separate windows on the right and a big empty space in the middle where the code is supposed to be. When I open up some code it ends up in the bottom window and there's that big hole where the code window used to go. I can drag and drop the code into that empty space, but when I try to drag the code window bigger to fill up the entire space it won't let me past a certain point. I'm left with a gap above the coding window that's bothering me. It seems Eclipse is leaving that space for me to drag other perspectives into, however dragging more perspectives into that empty space doesn't make it go away, it's still the same size. How do I get rid of this space?
Close eclipse if it's open
Navigate to your workspace folder
Further navigate down into .metadata then .plugins (These are hidden files, use terminal or look up how to show hidden files in your OS)
Delete the org.eclipse.e4.workbench folder
Restart Eclipse
If it still doesn't look right click Window > New Window
If it still isn't fixed please let me know in the comments (it might be time to reinstall Eclipse)

How to save bookmarks in Eclipse?

I had added bookmarks to my eclipse program so that I remember to come back to those the next day. I like using bookmarks for this because I can just click on the green rectangle next to the scrollbar to quickly go to that location in my code. This is what is mean:
The problem however is that once I close eclipse and reopen it, all the bookmarks are gone. They don't show green rectangle anymore. Is there a way to keep these bookmarks until I manually delete them?

how to change the view of open files list in netbeans 7.3.1

When I open, say a 10 or more file in Netbans 7.3.1 (windows 7), Netbeans puts each opened file's name in a a tab and all tabs are listed horizontally above the code eduitor. And at the end of that horizontal list, Netbeans provides clickable arrows (>,<,V ) to kind of navigate that list.
Since many times, the file that I want to get into is not visible in that horizontal tab list, and I need to navigate to the left or right, I usually end up clicking on the down arrow (v) and that gives me the full list of all the open files. At that time, it's a simple click to go to that file. I wish that list was available to me in a vertical fashion without an extra step.
Is there a way to see that vertical list at all times? For example, where the HTML navigator is...
I don't believe NetBeans can do this as you describe.
However, what you may find useful is Ctrl-Tab - pressing this once brings up the open file list and pressing Tab repeatedly iterates through these files. Ctrl-Shift-Tab iterates in the other direction. Letting go of Ctrl selects the currently selected file. This is similar to the Alt-Tab feature in Windows.
Hope this is useful.