author avatar

ashwanikumarjha

Fri Mar 01 2024

While exploring a lengthy code file, we often need to see the available properties and methods without diving into their implementation. In VS Code, this is quite easy with "Fold Level 1" functionality. This feature collapses the code to display only the top-level structures, which makes it easier to understand the file's architecture without getting into the details.

To Use Fold Level 1:

  1. Open Command Palette: Ctrl+Shift+P (Windows) or Cmd+Shift+P (macOS).
  2. Select Fold Level 1: Now, only the main parts of our code will be visible. #vs-code, #coding