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

XMPFilter

by kassi ALL

Integration of xmpfilter to sublime text 2 as a plugin.

Details

  • 2013.10.06.11.48.33
  • github.​com
  • github.​com
  • 10 years ago
  • 3 hours ago
  • 10 years ago

Installs

  • Total 709
  • Win 286
  • Mac 334
  • Linux 89
Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 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
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 1
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 1 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 0

Readme

Source
raw.​githubusercontent.​com

XMPFilter

Integration of xmpfilter to sublime text 2 as a plugin.

Prerequisites

You need to have rcodetools installed:

gem install rcodetools

Installation

You have 3 options for installing XMPFilter Plugin: using Package Control, using Git, or just downloading it.

Package Control

Inside Sublime Text 2, open your command pallete (⌘ + ⇧ + P on OS X), and select “Package Control: Install Package”.

After this, search for “XMPFilter” and install it!

Git

Open your terminal application and go to your Packages directory, whose location depends on your operating system:

  • OS X

    cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
    
  • Linux

    cd ~/.Sublime\ Text 2/Packages/
    
  • Windows

    cd %APPDATA%/Sublime Text 2/Packages/
    

After this, you just need to clone this repository:

git clone git://github.com/kassi/sublime-text-2-xmpfilter.git XMPFilter

Download

Click on the nice cloud icon above and download the zip file containing this plugin.

Then unzip the file and move the resulting folder to your Packages directory.

Usage

Open a ruby file and add a ruby marker right behind or below any statement.

x = 123 * 45 # =>
y = x - 6789
# =>

Now run the command Execute And Update Ruby Markers from your command pallete (⌘ + ⇧ + P on OS X).

Or simply hit the pre-defined keyboard shortcut (⌥ + ⌘ + B on OS X).

Watch your code getting annotated.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Author

Karsten Silkenbäumer