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 654
  • Mac 326
  • Linux 151
Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4
Windows 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 0 0 0 0 0 1 0 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 2 1 1 1 1 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