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 651
  • Linux 938
Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 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
Windows 1 0 1 0 0 0 1 0 0 0 0 2 1 1 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 2 1 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 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0
Linux 0 1 1 1 0 0 0 0 0 1 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 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