3 ms·
Why stop at highlighting? The syntax should be customizable also. Who needs to repeat the `protected` keyword, initial null value, or semicolons before the line
by vorg 12y ago
Why stop at highlighting? The syntax should be customizable also. Who needs to repeat the `protected` keyword, initial null value, or semicolons before the line ends? Perhaps instead of...
protected HashMap children = new HashMap();
protected int backgroundProcessorDelay = -1;
protected LifecycleSupport lifecycle = new LifecycleSupport(this);
protected ArrayList listeners = new ArrayList();
protected Loader loader = null;
protected Log logger = null;
protected String logName = null;
protected Manager manager = null;
protected Cluster cluster = null;
protected String humanReadableName = null;
protected Container parent = null;
protected ClassLoader parentClassLoader = null;
...we could write...
protected(defaultInitialValue: null){
HashMap children = new HashMap()
int backgroundProcessorDelay = -1
LifecycleSupport lifecycle = new LifecycleSupport(this)
ArrayList listeners = new ArrayList()
Loader loader
Log logger
String logName
Manager manager
Cluster cluster
String humanReadableName
Container parent
ClassLoader parentClassLoader
}
And that's just for starters!