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.
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
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.
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.
Open Visual Studio Code.
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).
In the search bar, type "SwaggerFold".
Find the extension and click on 'Install'.
Open any PHP Laravel file containing Swagger annotations.
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.
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.
This extension is released under the MIT License. For more details, please see the LICENSE file.
For any questions or suggestions, please reach out to me via my GitHub.