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

Dlang​Auto​File​Name

by vitalfadeev ST3

Sublime 3 Dlang Plugin will set name new file.

Labels dlang, d, productivity

Details

Installs

  • Total 34K
  • Win 30K
  • Mac 2K
  • Linux 1K
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 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16
Windows 0 6 5 6 4 6 6 6 6 5 5 2 2 7 5 3 2 4 5 5 2 7 10 3 3 4 2 2 8 6 6 6 4 3 8 4 10 9 10 3 5 10 3 7 9 8
Mac 0 0 1 0 1 0 0 0 1 2 0 0 0 0 2 0 0 0 0 1 1 1 0 1 0 1 0 0 0 1 0 0 1 0 2 0 1 0 1 0 0 0 0 1 0 0
Linux 0 0 0 0 0 0 1 0 1 0 1 1 0 0 1 0 0 0 1 0 1 0 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 0 3 0 0 2 2 1 1 0

Readme

Source
raw.​githubusercontent.​com

Sublime 3 Dlang Auto File Name

Sublime 3 Dlang Auto File Name plugin. Set name for new file. Detect from “module …”, “class …”, “interface …”, “struct …”

Demo

Demo

Algo

  • Check for it is new unsaved file
  • Get name
  • - Grep for “<module name>”
  • - Grep for “<class Name>”
  • - Grep for “<interface Name>”
  • - Grep for “<struct Name>”
  • - Grep for “<void Name>”
  • Set tab name. It will be file name.

Installation

Install DlangAutoFileName from Package Control.