Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Koneki » Make .xml files to highlight the code
Make .xml files to highlight the code [message #1416787] Thu, 24 January 2013 13:37 Go to next message
Tanel Tammik is currently offline Tanel TammikFriend
Messages: 4
Registered: January 2013
Junior Member
Hi,

i need to edit xml file, which in most part is lua (mushclient plugin).

koneki IDE does not highlight the code. when i copy the .xml file content into .lua file, code is highlighted. any thoughts how to fix this?
Re: Make .xml files to highlight the code [message #1416788 is a reply to message #1416787] Thu, 24 January 2013 17:02 Go to previous messageGo to next message
Marc Aubry is currently offline Marc AubryFriend
Messages: 76
Registered: July 2009
Member
Hi Tanel,

In eclipse, each file can be open with different editors, thanks to the right click menu "Open with".
So, to have Lua coloring in your Xml file, you can open the file with the Lua editor.
And to have the Xml coloring open the file with Xml editor (not installed in LDT standalone product).

But, keep in mind that your file is not a full Lua one or a full Xml one, so your file coloration in both editors can be partial or doesn't work at all, because both editors doesn't expected syntax mixed files.

Marc
Re: Make .xml files to highlight the code [message #1416791 is a reply to message #1416787] Thu, 24 January 2013 20:56 Go to previous messageGo to next message
Eclipse UserFriend
From the "Help > Install New Software..." menu, you should be able to install the "Eclipse XML Editors and Tools" features from the Eclipse Juno repository

Hope this helps :)
Re: Make .xml files to highlight the code [message #1416793 is a reply to message #1416791] Fri, 25 January 2013 02:47 Go to previous message
Tanel Tammik is currently offline Tanel TammikFriend
Messages: 4
Registered: January 2013
Junior Member
thanx. now how do i open it, so xml will be reqognized as lua?

file>open will open it in xml editor and lua part of that file is still not highlighted
Previous Topic:Initial impressions of 0.9 release
Next Topic:How to remote debug
Goto Forum:
  


Current Time: Sat Sep 22 13:49:15 GMT 2018

Powered by FUDForum. Page generated in 0.01575 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top