Page 1 of 1

Multi-language code editor

Posted: 08.04.2008, 18:57
by Boux
Hi, all,
I am looking for a code editor with Lua, XML and C++ (if possible, would be great) support/plug-ins.
I need syntax/error highlighting and better auto-correction for at least Lua and XML syntaxes.
Those two languages are becoming de-facto standards to interface with latest game engines - and why not Celestia? - for the development of add-ons, mods and scripts.
I do not need an IDE or a compiler, just a powerful multi-language editor that can be run in multiple instances.
Vista 64 is the primary OS. OpenGl and/or D3d are the target APIs but this does not matter here.
There are many options for Linux but I am not sure about Vista.
Any favourite editor used by devs here?
Thanks in advance.

Re: Multi-language code editor

Posted: 08.04.2008, 20:34
by selden
That would be, what else, emacs.

Re: Multi-language code editor

Posted: 09.04.2008, 17:24
by duds26

Re: Multi-language code editor

Posted: 09.04.2008, 18:44
by Boux
Thanks guys, I will look at these.
I know Emacs on Linux but I am not sure about Vista support.
I am told jEdit http://www.jedit.org could do the trick.
It is platform independent and it looks like it has got a host of language and file formats plugins.
Written in Java - which is good - with native XML plugins scripting.
I will give it a go too.
Anyone with some experience with it?
I really need XML+Lua 8)

Re: Multi-language code editor

Posted: 21.10.2008, 17:17
by duds26
There are also other interesting alternatives:

Scintilla:
https://www.scintilla.org/

Notepad2
(modified version with Lua support)
https://sites.google.com/site/zigmar/notepad2withluasupport

Notepad++
(supports: XML, C++, Lua and many others)
https://notepad-plus-plus.org/
(Make sure you have downloaded the API-files, it seems that they have to be downloaded separately.)

And User Defined Syntax Highlighting
It allows user to define his own language :
not only the syntax highlighting keywords,
but also the syntax folding keywords, comment keywords and the operators.
( screenshot1, screenshot2, screenshot3, screenshot4 ).

You could add Celestia's formats with these capabilities. ( .cel, .celx, .xyz, .xyzv, .cmod, .dsc, others)

If you scroll down in this link, you can see some examples: https://notepad-plus-plus.org/