📃
tech-diary
  • Overview
  • Kubernetes & OCP
    • Useful Scripts
    • FAQs
  • Docker
    • FAQs
  • Java Development
    • Spring Boot 2 Tips & FAQ
    • Maven Tips & FAQ
    • JDKs and IDEs Tips & FAQ
    • Unit Test Tips & FAQ
  • Go Development
    • Cobra Walkthrough Guide
    • Go Template Walkthrough Guide
    • Logging in Golang
    • Code Walkthrough for Identified OSS Projects
  • Operating Systems
    • RHEL
    • Ubuntu
    • Centos
  • DevOps
    • Git & GitHub Tips
  • Communities
  • RDBMS
    • Contribution Record
    • MySQL
  • Tools
    • VS Code
Powered by GitBook
On this page

Was this helpful?

  1. Tools

VS Code

PreviousMySQL

Last updated 4 years ago

Was this helpful?

Folding & Unfolding

https://stackoverflow.com/questions/30067767/how-do-i-collapse-sections-of-code-in-visual-studio-code-for-windows

has been rolled out and is now implemented since Visual Studio Code . There are these keyboard shortcuts available:

  • Fold folds the innermost uncollapsed region at the cursor:

    • Ctrl + Shift + [ on Windows and Linux

    • ⌥ + ⌘ + [ on macOS

  • Unfold unfolds the collapsed region at the cursor:

    • Ctrl + Shift + ] on Windows and Linux

    • ⌥ + ⌘ + ] on macOS

  • Fold All folds all regions in the editor:

    • Ctrl + (K => 0) (zero) on Windows and Linux

    • ⌘ + (K => 0) (zero) on macOS

  • Unfold All unfolds all regions in the editor:

    • Ctrl + (K => J) on Windows and Linux

    • ⌘ + (K => J) on macOS

Folding
version 0.10.11