The Image Comments
extension for Visual Studio Code allows you to add images, such as sketches or diagrams, directly into your source code. This helps to improve documentation and understanding, especially for complex algorithms. By visualizing code concepts, it makes them easier to comprehend and track over time.
[]
within the comment.// Image in the same folder [image.png]
// Image in a subfolder [images/image.png]
// Image in a parent folder [../image.png]
/*
You can also use multi-line comments [../image.png]
*/
Or just install the extension from marketplace.
Due to the limitations of Visual Studio Code, it is not possible to display images directly in the code. Therefore, this extension uses the solution of visualization via tooltips. The usage and styling of tooltips are also severely restricted. We do our best to always utilize all possibilities provided by Microsoft.
If you encounter any problems or have suggestions, please open an issue on our GitHub repository.
We encourage contributions to this project and welcome collaborators who are interested in enhancing its functionality and features. Instead of forking and creating redundant versions, please consider submitting pull requests with your improvements. By working together, we can maintain a single, robust version of the project and ensure that all users benefit from the collective effort. Your contributions are highly valued and can make a significant impact on the project’s success. Thank you for supporting the open-source community!
Maximilian Giesen
https://github.com/mgiesen