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 421
  • Win 277
  • Mac 83
  • Linux 61
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 1 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 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 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

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