Skip to content

vitalfadeev/SublimeDlangAutoFileName

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.