VSCode: Preview file in tab/panel - visual-studio

When previewing a file by clicking on it once in VSCode, is it possible to preview other files in the explorer by using the arrow keys, similar to Visual Studio? When I do it, it just selects the file, but doesn't preview it (unless I use my mouse). I'd provide a picture, but the upload isn't working right now, sadly. :(
I feel like that used to be a thing and I broke it at some point, but I could also just imagine it due to VS.

https://stackoverflow.com/a/66237216/12903844 has exactly what I was looking for!
Short summary: Up/Down + Space will enable you to preview a file, but you can also use 'multi-command' to macro it to just Up/Down (without having to press Space when selecting files this way).
Credit goes to Mark for answering it in the comments, just adding it here so the solution is marked. <3

Related

What does this Visual Studio (2013 professional) magnify glass icon mean?

In the bottom of my Visual Studio there is a little icon (see image)
It is a moving magnify glass (I think it's a magnify glass, I'm sure it's moving)
It's moving all the time (it's moving, in a circle shape, and the background 'block' shape is growing larger and smaller), but there is no hover text, nor can I click it...
I'm afraid of moving icons when I don't know what they do.....
Anyone know what it means/does?
EDIT:
when I click on F5, it's shown besides the VS build icon:
That's the predefined SBAI_Find icon in Visual Studio's Status Bar Animation Region. Any extension could be triggering it (or even Visual Studio itself). There's more information here: http://msdn.microsoft.com/es-es/library/microsoft.visualstudio.shell.interop.ivsstatusbar.animation(v=vs.100).aspx
There's no way to tell what is triggering it by your question only. To find the culprit, I'd try disabling all extensions and enabling them one-by-one.
Notice it shows when using the standard Find in Visual Studio (if you want a lengthy operation to check it, use Find In Files)
In Simple Words , It Is a Search Engine Build By VB.net To Find Content According To The User's Requirement Needed And The Section Selected
Note: Different Section Will Lead To Different Search Result
It simply means, it is trying to find and link all the files. You should not be too much bothered about it and it is not from any of the third party extension.

Remove strange blue box in visual studio

This blue rectangle is fixed on the screen. Sometimes growing, shrinking and changing place.
tried the answer to this question:
In the Visual Studio SQL editor, how do I get rid of the boxes?
as I thought it might be related but didn't help.
How to get rid of it?
The box is drawn by Windows' Narrator feature for people with low vision. I recently accidentally toggled this myself by hitting winkey+enter. Hitting it again and moving the mouse cursor seems to toggle it back off again as well.
As mentioned below, depending on the narrator shortcuts configured on your system one of the following may work:
winkey+enter.
caps lock+esc
Full overview of narrator hot keys can be found here.
For some reason Winkey + Enter didn't work for me. However I found Caps Lock + Esc did the trick. See Narrator Shortcuts for more info
It looks like you have an extension installed which is adding that box. Try disabling extensions until you find the one that is causing this
Tools -> Options -> Extension Manager

visual studios 2012 after opening one file, I cant find the previous file I had open in the Document Well

Anyone know how to make the document well act like vs2010? Every time I open a file in the solution I lose the previous file unless I pin it. I want it to act like a stack.
Thanks
Nick
I you double click a file you have the same behavior as in VS10. You can deactivate the preview function in solution explorer (i believe one of the right buttons - unfortunately I have no VS12 by the hand at the moment, so I can tell the exact position).

How to Navigate / Move Cursor by code block in VisualStudio

I want to be able to move the cursor (not move the line of code) in the text editor up a block or down a block by pressing <ctrl>+<uparrow> or <ctrl>+<downarrow>. In jEdit, Leafpad, etc, this just works out of the box. I do not want to move an entire page at a time, just simply go to the start or end of the text block that I happen to be on.
Specifically, I want this, but for VS 2012 (which no longer has macros):
keyboard shortcut to move from one code block to another in VS2008
I've seen these posts, and they are not what I'm after; I do not want to move code, I want to move the cursor to the top or bottom of the block I happen to be on.
Visual Studio: hotkeys to move line up/down and move through recent changes
Visual Studio - Scroll AND move cursor
I have checked in ReSharper as well, and cannot seem to find an answer there.
Does anyone know of an add-in that provides this functionality?
Bind them to Edit.PreviousMethod and Edit.NextMethod in the Options->Environment->Keyboard?
I removed everything that was bound to these shortcuts, then bound it to Edit.PreviousMethod and Edit.NextMethod. This put the focus on the method box in the editor, but then you have to press enter to get it to navigate to that method.
The best I could find was using ReSharper, which I was trying to avoid. However, I'm a minimalist and ReSharper got in my way, I was leaving it toggled off almost all the time, so I uninstalled it.
I believe it was ReSharper.MoveToNextMethod or .NavigateToNextMethod, but I have uninstalled it so I'm going on memory. Using it, it would jump to the beginning of the previous or next method, which was not quite what I was looking for, but better than nothing.
Edit: I gave up. I moved to .Net Core for c# code and do all my editing outside of Code, using text editors that employ common keyboard shortcuts like Geany, jEdit, etc.

What's the easiest way to use vertical and horizontal splitting in Visual Studio at the same time?

As seen on the screenshot below, marked by red arrows:
If I use Vertical Tab Split subwindow, I lose the ability to split insert another tab and split it horizontally. Is there any addon or setting I can change to be able to put my code tabs in sort of rectangle-grid?
Just to clarify - I don't want to see the same file contents twice. I want every tab to show a different file. I can't find the reason why such an oversimplification to ide was introduced.
I know it can be solved by opening many standalone windows, but that's hardly an answer for me.
Here's the example of how it looks like in Sublime 2
As you have discovered it's not a feature of the VS shell. For reference, it wasn't possible in VS2010 either.
You can vote for this feature on the Visual Studio Developer Community site - there's a specific request for it here

Resources