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

Hover​Docs

by gladclef ST4

In-line documentation display in Sublime Text

Details

Installs

  • Total 248
  • Win 135
  • Mac 58
  • Linux 55
May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 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
Windows 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 1 0 0 0 0 0 0 0 0 0 0
Mac 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 1 0 2 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 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

HoverDocs

In-line documentation display in Sublime Text.

Features

  • finds definitions and documentation
  • displays as a popup (below text) or annotation (to the right side)
  • hyperlink to quickly move to the definition, or open it in a transient view
  • configure popups to show with hover, double click, or key binding
  • toggle how hyperlinks work with ctrl key (Windows only)

Demo

Demo Gif

Is this package right for me?

If you haven't heard of the LSP package before then please go look at it! It is a very cool plugin that talks to language servers for your language of choice to get more intelligent information about your code.

That being said, there are certain situations in which this package is more useful. HoverDocs is lightweight, doesn't require the installation of additional language servers, and doesn't require any complex environment setup. If any of these situations sound like they apply to you, then you've come to the right place.

Installation

You can install the package with Package Control or manually.

Install with Package Control

  1. Press Ctrl+Shift+P (or Cmd+Shift+P on Mac) to open the Command Palette
  2. Select Package Control: Install Package
  3. Select HoverDocs

Install Manually

  1. Click the Preferences > Browse Packages… menu, this should open a folder Packages.
  2. Download https://github.com/gladclef/HoverDocs and move it to that directory.
  3. Restart Sublime Text.

Key Bindings

There's some example key bindings available. Go to Preferences > Package Settings > HoverDocs > Key Bindings to set them.

Caveats

I've only tested this package with python code. It should be compatible with any language. If you try it and have any issues, please let me know!