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

textract

by germtb ST3

Sublime package to extract variables or constants (javascript) and files (language agnostic).

Details

Installs

  • Total 424
  • Win 278
  • Mac 84
  • Linux 62
Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13
Windows 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 1 0 0 0 0 0 0 0 0
Mac 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 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Textract

This sublime package provides some extraction capabilities.

How to install

The easiest way to install this package is using the package control.

How to use

Warning

There are two important things to consider when using this plugin:

  • It depends on the clipboard and will override it. So it's ok unless you where using the clipboard to store those nuclear disarm codes you were saving for christmas.
  • It is dumb. There is no code analysis or intelligence. It only uses raw text.

Console log down

  • OS X: alt + c
  • Windows/Linux: alt + c

Console log up

  • OS X: alt + shift + c
  • Windows/Linux: alt + shift + c

Extract var, const or let

  • OS X: cmd + shift + v
  • Windows/Linux: ctrl + alt + v

  • OS X: cmd + shift + c

  • Windows/Linux: ctrl + alt + c

  • OS X: cmd + shift + l

  • Windows/Linux: ctrl + alt + l

Extract file

  • OS X: cmd + shift + n
  • Windows/Linux: ctrl + alt + n

Inline variable (experimental)

  • OS X: cmd + shift + i
  • Windows/Linux: ctrl + alt + i