I want Sublime 3 D auto import !
Виталий Фадеев
vital.fadeev at gmail.com
Mon Jun 1 16:18:44 UTC 2020
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.
More information about the Digitalmars-d-learn
mailing list