Author: stephan
Publication Date: 12/11/2012 13:41
I just made a GroovyConsole for FirstSpirit. It provides the ability to use the FirstSpirit-API using Groovy syntax. The main features alongside groovy itself are syntax highlighting, simple code completion, line numbering, code folding, unlimited undo/redo and bracket matching.
Any feedback is appreciated.
New Versions:
1.0.1 (01.02.2013)
- added shortcut to toggle line comments (for QWETZ-layout)
- updated RSyntaxTextArea to 2.0.5.1
Kommentare
3 Kommentare
Works great, especiallly for quickly trying out new stuff. Using groovy's closures, one can avoid this verbose nested try-setlock-finally-try-setlock-idiom in a nice way.
However, a few points for improvement could be:
Besides this, I am perfectly happy - thanks for sharing your work :-)
Thanks for your input. The display of the areas after resize will be fixed in the next version. The CTRL-RETURN shortcut will not be possible, as this already triggers the code completion in the editor. Can you please give me an example for the missing stacktraces?
Sure:
throw new Exception("no stacktrace");:smileygrin:Using oracle jdk 1.7 on windows 7, this does not print a stacktrace, neither on the java console nor the groovy-result-field.
BTW, if missing code completion is not an issue, http://groovy.codehaus.org/Groovy+Console might be an alternative.
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.