Developers frequently work with various image references in their code, but the string values don't show the actual images. A new feature in Visual Studio introduces an editor tooltip that previews images when hovered over, showing the original size capped at 500 pixels, along with the image's dimensions and file size. This feature currently supports common file types like PNG, JPG, and WebP, among others. Experiment feedback has led to the ability to click for a full view in an external viewer, while features like zoom are considered for future updates. Available in Visual Studio 2022 v17.10 or newer.
Sort: