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 651
  • Mac 319
  • Linux 150
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 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
Windows 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
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 0 0 0 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 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