![Visual Studio Code Keyboard Shortcut Visual Studio Code Keyboard Shortcut](/uploads/1/2/4/2/124215778/704806236.png)
Program information. Program name: Visual Studio Code (Windows) (Developer tools) Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux and macOS. It has features such as debugging, Git control, syntax highlighting, smart code completion, snippets and refactoring. Running Only Selected Code. In the PowerShell ISE, you can select a block of text and hit F8, and the ISE runs only that code. Or you can position your cursor at the end of a line and hit F8, and the ISE runs only the code on that line. Next we’ll enable the exact same behavior in Visual Studio Code. Go To File > Preferences > Keyboard Shortcut.
![Visual studio 2017 keyboard shortcuts Visual studio 2017 keyboard shortcuts](http://www.devacron.com/wp-content/uploads/2017/10/Visual_Studio_Code_Keyboard_Shortcuts_Linux.png)
Re:What are shortcuts for expand / collapse all regions in Visual Studio? I'd be far more interested in how to disable this feature all together.
It causes so many problems. When you enter a file, unless you know specifically what you need to change and the change is small. It might help. But if you have to search, have any questions, or do any general editing. You have to waist your time expanding all these regions somebody thought was a good idea to put in. It's incredibly irritating.
Or VSCode, is an open-source code editor. This guide targets VSCode v1.19.