This is a Brackets extension that shows a preview when the cursor is hovered over certain items.
This currently works with gradients, colors and images. If you can think of other things you'd like to see in the preview, please let me know, or even better, submit a pull request.
- Download and unzip it; or clone this repo on GitHub
- Copy the copied/cloned folder into the Brackets
extensions/user
folder - Restart Brackets.
When the cursor is over a gradient value, color value or an image name, a preview of the value is shown.
Here are a few screenshots of the extension in action.
Hovering over an image filename:
Add plug-in mechanism so other value providers can be added.
- 14feb13 v0.3.1 - Make work with Brackets Sprint 20 (no functional changes)
- 28jan13 v0.3 - Changes:
- Handle absolute URLs for images
- Fixed flickering on image preview
- Position preview below selection if it doesn't fit above
- Made highlighting translucent so it doesn't block selection highlight
- Support color names
- Improve color matching regex
- Fix intermittent uncaught exception
- 19oct12 v0.2 - Visual tweaks & bug fixes
- 04oct12 v0.1 - Initial Release