ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Quick​View

by jwortmann ST3

Image and color previews in Sublime Text

Labels color, image, preview

Details

Installs

  • Total 557
  • Win 334
  • Mac 155
  • Linux 68
Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7
Windows 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Quick View for Sublime Text

License Version Downloads

This package for Sublime Text provides preview popups for images and CSS colors on mouse hover.

The design of the hover popups is intended to reproduce the style of the Quick View feature from Adobe Brackets, but it uses adaptive colors based on the color scheme and the plugin logic was written from scratch.

Installation

The package can be installed via Sublime Text's package manager Package Control. From the command palette select Package Control: Install Package and search for QuickView.

Preview

Image popup

Color popup

Usage and Features

Hover over an image link or CSS color in a supported syntax to show a preview popup. Previews for CSS gradients are not yet supported. Image previews are possible for the following file formats:

  • PNG
  • JPEG
  • GIF
  • BMP
  • SVG
  • WebP
  • AVIF

The SVG, WebP and AVIF formats require a supported image converter program installed and present in the PATH and they must be activated in the package settings. Select Preferences > Package Settings > QuickView from the menu or Preferences: QuickView Settings from the command palette to open the package settings and to see the supported converters.

Image and color previews for the current cursor position or selection can also be invoked from the command palette or by adding a key binding for the quick_view command. When invoked this way, preview popups are also possible for images and colors in plain text and they are attempted to be shown even if the preview on hover for images or colors is disabled in the settings.