some weeks ago I've started to switch to the sublime editor
(
https://www.sublimetext.com/) for writing gretl code.
Even though I like the simplicity of the gretl editor and its features
such as syntax highlighting and auto-itendation, it lacks some
features of modern IDEs such as "goto-anything", "goto-definition",
custom keybindings, fancy themes, git-implementation, snippets etc.
which make life much easier when working on larger projects. Don't get
me wrong, the gretl editor is great but was _never_ supposed to become
a proper software-development IDE but rather has another focus which
is totally fine.
So I started to write the "Hansl-Gretl-Language" package for sublime
which includes the following features:
- 3 gretl build-systems (client mode, batch mode, and REPL mode) for
executing hansl code by means of sublime (plots are also working!)
- syntax-highlighting
- completion of gretl commands, accessors and keywords
- some snippet examples for speeding up coding
The project still has the following (known) issues:
- no auto-itendation (still have to figure out how this works)
- issues with some corner-cases which are not syntax-highlighted
(regex can become so hard!)
The package can be downloaded through sublimes package control system,
and can be found here:
https://packagecontrol.io/packages/Hansl-Gretl-Language
Hi Artur, installation of the program and then also of your language
package worked flawlessly.
However, syntax highlighting really still chokes on many things it
seems. But in general looks like a nice option.
thanks
sven