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 490
  • Win 297
  • Mac 135
  • Linux 58
Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13
Windows 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 3 0 0 2 0 0 0 0 1 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 1 0 0 0 1 0 0 0 0 0 0 0 0 1 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.