Code Monkey home page Code Monkey logo

ep_author_hover's Introduction

Show authorname on hover

Hover over an author to see their name

Other functionality

Shows the author color on hover Supports fast switching between hovers (Doesn't depend on native browser support)

Settings

Disable/enable author hover locally in your browser

This plugin adds a new switch called Show Author on Hover to the settings menu. This allows you to disable/enable the display of author names on hover in your browser.

Disable author hover by default for all clients

To don't show the author names on hover by default (the user has to activate in manually), add the following to your setting.json:

  // disable author hover by default
  "ep_author_hover": {
    "disabledByDefault": true
  }

Why did I rewrite this?

I don't really like plugins that depdend on manipulating the ACE inner DOM, rewriting this plugin and using events meant I could still have hover functionality without the risk of running into nasty ACE issues down the line. It also meant that as new authors joined and updated their name I could update hte hovers in real time. Previous attempts at writing this plugin have required a browser refresh to know who authors are, that wasn't good enough for me.

TODO

  • use JQTip
  • Your ideas here..
  • Test in IE
  • Settings for font size/background color switch
  • Your sponsorship here..

ep_author_hover's People

Contributors

johnmclear avatar cristiansilvagrosseli avatar pedrobmarin avatar apmole avatar bit-marcink avatar rittmeier avatar ldidry avatar amfl avatar falkirks avatar ovari 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.