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

Jasmine Overview

by csudcy ALL

A Sublime Text 3 plugin to give an overview of Jasmine functions

Details

Installs

  • Total 1K
  • Win 660
  • Mac 331
  • Linux 151
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 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15
Windows 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 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 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 0 0 0 0 0 0 1 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Jasmine Overview

A Sublime Text plugin to give an overview of Jasmine functions & their descriptions

Usage

The only default shortcut is ctrl+k, ctrl+j to show the Jasmine Overview quick panel (ignoring beforeEach/afterEach):

Jasmine Overview

If you want to include beforeEach/afterEach, you can add a shortcut like this:

{ "keys": ["ctrl+k", "ctrl+j"], "command": "jasmine_overview", "args": {"include_before_after": true} }

You can also open the Jasmine Overview quick panel through the menu at Tools > Jasmine Overview.

Installing

Using Sublime Package Control

If you are using Sublime Package Control, you can easily install Jasmine Overview via the Package Control: Install Package menu item.

  1. Press CTRL+SHIFT+p
  2. Type “Install Package”
  3. Find Jasmine Overview
  4. Done!

Download Manually

You're going to have to work this out on your own (or, you know, just use package control…).

Developing

Running tests

To run the tests, execute:

pip install pytest
py.test

Changelog

  • v0.1.0
    • First release
  • v0.2.0
    • Moved menu to Tools > Jasmine Overview
    • Added tests for regex searching & string manipulation
    • Jump back to original cursor location if quick panel is cancelled

Todo

  • Allow exact list of keywords to be specified
    • Update tests
  • Add CI