Am 11.08.20 um 16:07 schrieb Sven Schreiber:
Am 01.06.2020 um 10:33 schrieb Artur Tarassow:
> some weeks ago I've started to switch to the sublime editor
) 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",
> 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:
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 for testing, Sven. Yes, I know, some syntax is not fully or
properly highlighted, yet. The issue is that some things are really hard
to capture via regular expressions, and I am far away from being
professional in reg-ex :-) But some improvements are on my list.
But apart from syntax highlighting, things I really love are:
- native git support via the GUI using the "sublime merge" addon
- many useful shortcuts raising productivity
- once a "project" is defined one can enjoy all "goto" things natively
(just click on a user-defined function definition, press F12 and you'll
jump straight to the function; press Alt+- to jump back)
- Further short-cuts:
- and many more IDE features via addons
I'll also tried the Atom editor. However, especially "goto reference"
never worked properly using hansl code.