Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>SwaggerFoldNew to Visual Studio Code? Get it now.
SwaggerFold

SwaggerFold

Skogkatt

|
199 installs
| (0) | Free
Effortlessly collapse and expand PHP Laravel L5-Swagger annotations in VS Code. This extension helps keep your workspace neat by focusing only on the code that matters, hiding verbose Swagger documentation blocks with a simple command.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SwaggerFold for Visual Studio Code

Introduction

SwaggerFold is a dedicated extension for Visual Studio Code designed specifically for developers working with PHP Laravel L5-Swagger. It enhances the code editing experience by providing a clean and focused environment. This extension allows users to effortlessly collapse and expand Swagger annotations, maintaining a neat workspace focused on the most crucial parts of the code.

Features

  • Collapse Swagger Annotations: Quickly hide detailed Swagger API documentation to reduce visual clutter.
  • Expand Swagger Annotations: Easily expand all collapsed annotations when details of the API are needed.
  • Ease of Use: Toggle the collapsing and expanding of annotations with a simple command.

Installation

  1. Open Visual Studio Code.
  2. Go to the Extensions view by clicking on the Extensions icon in the sidebar, or use the shortcut (Ctrl+Shift+X on Windows/Linux, Cmd+Shift+X on macOS).
  3. In the search bar, type "SwaggerFold".
  4. Find the extension and click on 'Install'.

Usage

  1. Open any PHP Laravel file containing Swagger annotations.

  2. Use the following commands to collapse or expand Swagger annotations:

    • To Collapse: Execute the SwaggerFold: Fold Swagger Comments command.
    • To Expand: Re-execute the above command to unfold the annotations.

    Commands can be run by opening the Command Palette with Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS) and typing the command name.

Contributing

Your contributions make SwaggerFold better! If you have suggestions for features or have found bugs, please feel free to open issues or pull requests on the GitHub repository.

License

This extension is released under the MIT License. For more details, please see the LICENSE file.

Contact

For any questions or suggestions, please reach out to me via my GitHub.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft