CodeSnapShot is a VSCode plugin that enables users to capture selected code snippets from their current document and convert them into image snapshots with just a few clicks.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
This VSCode plugin allows you to convert selected code snippets into images. Simply select the code in the editor, right-click, and choose "Convert to Image" from the context menu to generate an image containing the code.
Installation
Search and install the CodeSnapshot plugin in VSCode, or download and install directly from the VSCode Marketplace.
Usage
Select the code you want to convert in the editor.
Right-click the selected code and choose "Convert to Image" from the context menu.
Select the style for the image (Light or Dark).
The plugin will automatically convert the selected code into an image and save it to the system's Downloads folder.
Notes
Ensure that the selected code is not empty.
The image dimensions will adjust based on the selected code.
The image will be saved to the system's Downloads folder with the current timestamp as the file name.
Contribution
If you encounter any issues or have any suggestions, feel free to submit an issue or pull request on GitHub.