About 1,980,000 results
Open links in new tab
  1. Collapse all methods in Visual Studio Code - Stack Overflow

    Mar 8, 2017 · In Visual Studio Professional, we have a shortcut key, Ctrl + M Ctrl + O to collapse all methods and properties in a class. How can I do a similar thing in Visual Studio Code?

  2. How do I fold/collapse/hide sections of code in Visual Studio Code?

    Folding has been rolled out and is now implemented since Visual Studio Code version 0.10.11. There are these keyboard shortcuts available: Fold folds the innermost uncollapsed region at …

  3. How to Collapse All in VS Code - Alphr

    Sep 29, 2023 · To fold all top-level and child elements of your code: Enter the command >fold and hit Enter. Or use keyboard shortcuts: Windows and Linux: Ctrl+K or Ctrl+O (the letter) Mac: …

  4. Visual studio code - keyboard shortcuts - expand/collapse all

    Sep 27, 2016 · Go to File --> Preferences --> Keyboard Shortcuts (or Ctrl+K Ctrl+S) Search for the word fold all. The ones you need are: Set your custom keyboard shortcut. This does …

  5. VS Code: How to Collapse/Expand Blocks of Code - Kindacode

    In case you want to collapse all code blocks in the current file: You’ve learned how to fold and unfold sections of code in VS Code. These actions are simple and quick but can keep your …

  6. Collapse all code in VS Code? : r/learnprogramming - Reddit

    Jun 11, 2021 · Ctrl+K Ctrl+0. Ctrl+K Ctrl+J to unfold all. VS Code and Visual Studio are not the same. They are similar only in name and styling (as well as origin), but are otherwise …

  7. How to expand and collapse source code sections in Visual Studio Code ...

    This tutorial shows source code sections folded and unfolded all in Visual Studio code with shortcut commands. There are below shortcut commands to do it. You can still update the …

  8. Mastering Code Folding in VS Code with Shortcuts

    Pressing Ctrl+K, 0 collapses all foldable regions in your code at once. To use it: 1. Hold down Ctrl and press K. 2. Then, press 0. Your code structure will instantly fold, leaving a clean and …

  9. Expand/Collapse All - Visual Studio Tips

    Where you see braces or regions in code, you can collapse or expand them with the keyboard shortcut Ctrl + M, P to expand or Ctrl + M, O to collapse.

  10. How To Collapse All Functions In Visual Studio Code? - YouTube

    Jan 31, 2025 · How To Collapse All Functions In Visual Studio Code? Are you looking to streamline your coding workflow in Visual Studio Code? In this video, we’ll guide you...

  11. Some results have been removed
Refresh