I want Sublime D auto import !

When typing code like this:


    class Uno : IStylable
    {
        //
    }


I want will be auto added "import IStylable" at begin of file. Like this:


    import ui.istylable : IStylable;

    class Uno : IStylable
    {
        //
    }


1. I want for plugin will scan all files in project, and grep for "module <name>".
2. Then "module <name>" replaced to "import <name>".
3. Then "import <name>" inserted in text. At top. After line "module ..." if it exist, else just at top.
4. Check for "module <name>" not exists before insert.


Reply via email to