Giter VIP home page Giter VIP logo

hoverpreview's Introduction

Hover Preview

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.

Usage

  1. Download and unzip it; or clone this repo on GitHub
  2. Copy the copied/cloned folder into the Brackets extensions/user folder
  3. Restart Brackets.

When the cursor is over a gradient value, color value or an image name, a preview of the value is shown.

Screenshots

Here are a few screenshots of the extension in action.

Hovering over a color value:

Hovering over a gradient:

Hovering over an image filename:

Future

Add plug-in mechanism so other value providers can be added.

History

  • 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

hoverpreview's People

Contributors

gruehle avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.