Page 1 of 1
XML to OpenStep
Posted: Sun Nov 24, 2013 10:32 pm
by Cody
Is there a plug-in for Notepad++ which can convert XML to OpenStep? If so, is it something that a dumb pilot could use?
Re: XML to OpenStep
Posted: Mon Nov 25, 2013 12:02 am
by Tricky
Cody wrote:Is there a plug-in for Notepad++ which can convert XML to OpenStep? If so, is it something that a dumb pilot could use?
I don't think so but if there is one then yes.
Re: XML to OpenStep
Posted: Mon Nov 25, 2013 12:11 am
by Cody
Tricky wrote:I don't think so but if there is one then yes.
<chuckles>
Re: XML to OpenStep
Posted: Mon Nov 25, 2013 12:18 am
by Diziet Sma
So far as I've been able to tell (been looking for a long time) there are no NextStep/OpenStep plugins for Notepad++ at all, let alone a converter.
Re: XML to OpenStep
Posted: Mon Nov 25, 2013 12:27 am
by Cody
Diziet Sma wrote:So far as I've been able to tell (been looking for a long time) there are no NextStep/OpenStep plugins for Notepad++ at all, let alone a converter.
Yeah, that's what I thought - but Solo, while tweaking my hud, converted it to OpenStep. He said something about having a macro for Notepad++ - but he's MIA.
Re: XML to OpenStep
Posted: Mon Nov 25, 2013 12:38 am
by Diziet Sma
He came up with the holy grail for Oolite editing, then went offline before posting it? Noooo...
Re: XML to OpenStep
Posted: Mon Nov 25, 2013 2:32 am
by vsfc
Hi!
There is an OOLITE Wiki page for OOLITE Converters
http://wiki.alioth.net/index.php/Oolite_Converters. It has references to XML to OpenStep converters.
Cheers,
V-SFC
Re: XML to OpenStep
Posted: Mon Nov 25, 2013 4:37 am
by Diziet Sma
The conversion script is very handy, but needs Python installed to run, and is not directly usable from within Notepad++, which would be ideal. Also missing for Notepad++ are plugins for syntax checking in both XML and OpenStep plists.
Re: XML to OpenStep
Posted: Mon Nov 25, 2013 7:36 am
by Thargoid
95% of such a conversion can be done by just search and replace, although you need to be a little careful about the order that you do things in so you don't get mixed up between braces. The hardest part is tidying things up afterwards to remove excess carriage returns etc and making indentations correct.
It could possibly be automated into a macro, but I've never looked into it as for me it's not too difficult to do manually (on the rare-ish occasion it's needed these days).