Possible to collapse / expand code blocks in Visual Studio Code when doing select for compare and compare with selected? - visual-studio-code

I know how to collapse/expand code blocks in Visual Studio code, which is the usual ctrl +k ctrl+0 and ctrl+k ctrl+j ....... but it doesn't seem to work when you are comparing 2 files by using select for compare and compare with selected ..is there a way to do this?
I can't see one online.
Any help greatly appreciated

Related

Cannot type upper case E in VS Code and Python [duplicate]

I would like to change the keyboard shortcut for quick fix in Visual Studio 2013, so that it matches the ReSharper equivalent (which I only use on my office machine). How can I do it?
One way to do it is to enter on the menu 'Tools', 'Customize' and click on the 'Keyboard...' button near the 'Close' button.
Inside this option you can search for the commands by name (I couldn't find the Quick Fix here), maybe you want the Edit.FormatDocument one, that makes the indentation for the documents automatically.
If you can't find this option, tell me your quick fix actual keyboard shortcut, so I'll be able to check which function it calls.
I did some research on the R# QuickFix option and maybe what you want is this is the option you want: View.ShowSmartTag.
Look at this doc: Identify and customize keyboard shortcuts in Visual Studio

Visual Studio "Create Collapsible Region (Ctrl+M+H)" Equivalent in VS Code?

In Visual Studio there is a user defined collapsible region creation shortcut Ctrl+M+H. I really love this shortcut.
I am aware of this question regarding foldings. However I really wish there was a way to collapse / fold the selected text section of the code in VS Code. Is there any way of doing this?
EDIT:
I see the feature request on VSCode.
To fold selected text, use this command, new as of Insiders v1.70:
Create Manual Folding Range from Selection
editor.createFoldingRangeFromSelection
There is also this related command:
Fold All Regions Except Selected
editor.foldAllExcept

How do I insert the cursor exactly into the mouse position?

I want exactly the same behavior as VisualStudio's Alt+Click and Drag selecting
But, vscode's Alt+Shift+Click or MiddleButton Click is different working.
vscode's behavior does not insert taps/spaces to the clicked position!
please help me T.T
I already know the following:
Multiple cursors in Visual Studio Code
I'll just assume you're talking about Virtual Space.
It's not implemented in vscode.
Open Issue: #13960

How i can filter suggestion hint content in Visual Studio Code by moving arrow keys (Left and Right)

I can cause suggestion manually, just putted cursor on some word and pressed "Ctrl+Space"
Visual Studio Code Suggestion on existing word
But if I use the left or right arrow keys, the suggestion-tooltip will hide. In many other IDE (eg QtCreator) - i can filtering suggestion content by moving arrows keys left and right on the word.
How to achieve similar behavior tips in Visual Studio Code?

Convert TagName into <TagName></TagName> with a shortcut in Visual Studio Code

I've encountered this behaviour several times when using ctrl+c and ctrl+v in VS Code, but never could figure out what exactly I've pressed.
I misspressed the buttons and got this.
There's a combination that converts a selection like TagName (should be selected)
into .
I've looked through the list of shortcuts and wasn't able to find one.
Any ideas?
You can press tab to use it. So for example, you have ul, press tab and get <ul></ul>.
For more informations, look here.