On 27/08/2012 14:40, Andrew Z wrote:
> a quick question please. how difficult is it to add the support of GO (
golang.org
> <
http://golang.org>)? Where "Support" is -
> all regular editor functionality +
Of course, you have that out of the box.
> code snippets, autocompletion,
SciTE allows this (abbreviation expansion, etc.)
> jump to declaration/ definition of variable/function and back,
SciTE doesn't have that out of the box. It isn't an IDE, but a "simple" editor...
Might be done with Lua scripts, but that's lot of work!
> build, compilation and GDB integration?
SciTE allows to run external programs without problems.
There is also an extension allowing to debug within SciTE.
You forgot (or was it implicit from above?) proper syntax highlighting for the language.
Three solutions:
- Select an existing lexer for a language whose syntax is close enough of your language.
Then you can create a properties files to take in account the specific language keywords
and settings, referring to the other lexer. It is easy and fast, appropriate for a quick
start, but rarely entirely satisfying. Thus, the other solutions:
- Write a lexer in Lua. Good for prototyping, no need to have a compiler, etc.
- Write a lexer in C++ for Scintilla. The best solution as it will benefit all users with
the best performance and it will be used in non-SciTE editors using Scintilla (like
Notepad++).
--
Philippe Lhoste
-- (near) Paris -- France
--
http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --