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

Python​Nice​To​Have​Features

by monobot ST3

Nice to have features in SublimeText3 for python development

Details

Installs

  • Total 4K
  • Win 2K
  • Mac 649
  • Linux 931
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 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11
Windows 0 0 0 0 0 0 0 2 0 0 0 0 1 0 0 1 1 0 0 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 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 1
Linux 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 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

SublimeText3 PythonNiceToHaveFeatures

PythonNiceToHaveFeatures are a set of features usually included in IDEs that are not present in SublimeText.

Refactor Commands

They are available in the context menu of the opened file and affect only to that file (we can not do that refactor in the whole project because SublimeText doesn't know the whole context of the project and its better to be safe than sorry) These commands affect to each and all the selected regions.

  • Refactor to ClassCase
  • Refactor to under_score_case
  • Refactor to camelCase
  • Refactor to Capfirst

File Commands

These commands are available both in the sidebar menu and the file context menu.

  • Copy relative path to clipboard
  • Copy relative path in package mode to clipboard
  • Copy reference in package mode to clipboard
    • Will copy the reference of the selection or word
  • Copy import sentence of the selected string to the clipboard
  • Copy filename to clipboard
  • Create Package (and init.py file) (only side bar menu)

Create Commands

These commands are available in file context menu.

  • Create function from word
  • Create class from word
  • Create method from word