Multi-language code editor

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Boux
Posts: 435
Joined: 25.08.2004
With us: 20 years 2 months
Location: Brittany, close to the Ocean

Multi-language code editor

Post #1by Boux » 08.04.2008, 18:57

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.
Intel core i7 3770 Ivy Bridge @ 4.4 GHz -16 GB ram - 128 GB SSD cache - AMD Radeon 7970 3 GB o'clocked - Windows 7 64 Ultimate / Linux Kubuntu

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: Multi-language code editor

Post #2by selden » 08.04.2008, 20:34

That would be, what else, emacs.
Selden

duds26
Posts: 328
Joined: 05.02.2007
Age: 34
With us: 17 years 9 months
Location: Europe

Re: Multi-language code editor

Post #3by duds26 » 09.04.2008, 17:24

Last edited by duds26 on 15.04.2018, 21:02, edited 2 times in total.

Topic author
Boux
Posts: 435
Joined: 25.08.2004
With us: 20 years 2 months
Location: Brittany, close to the Ocean

Re: Multi-language code editor

Post #4by Boux » 09.04.2008, 18:44

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)
Intel core i7 3770 Ivy Bridge @ 4.4 GHz -16 GB ram - 128 GB SSD cache - AMD Radeon 7970 3 GB o'clocked - Windows 7 64 Ultimate / Linux Kubuntu

duds26
Posts: 328
Joined: 05.02.2007
Age: 34
With us: 17 years 9 months
Location: Europe

Re: Multi-language code editor

Post #5by duds26 » 21.10.2008, 17:17

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/


Return to “Development”