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

Coffee​Script Function Finder

by edubkendo ST2

A Sublime Text plug-in for finding function definitions in coffeescript. Adapted from @timdouglas 's sublime-find-function .

Details

  • 2012.08.31.03.49.34
  • github.​com
  • github.​com
  • 7 years ago
  • 5 minutes ago
  • 7 years ago

Installs

  • Total 4K
  • Win 1K
  • OS X 2K
  • Linux 1K
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 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6
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
OS X 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
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-coffeescript-function-finder

This is an adaptation of Tim Douglass's Find Function Definition to work with CoffeeScript. I don't really know python, so I didn't do much of the work myself. The check_dirs function which weeds out javascript directories was written by @BlackDragonHunt. The regex by @ACEfanatic02. There could very easily be edge cases this doesn't catch, but for the most part, it should find your function for you. Just HIGHLIGHT the name of a function, press f8 (or set your own keybinding) and the plugin will open the file and take you to the function's definition.

Sublime Text 2 plugin to find and open a function's declaration in your project