Skip to main content



      Home
Home » Archived » Lua Development Tools » Make .xml files to highlight the code
Make .xml files to highlight the code [message #1004861] Wed, 23 January 2013 21:31 Go to next message
Eclipse UserFriend
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 #1005220 is a reply to message #1004861] Thu, 24 January 2013 12:02 Go to previous messageGo to next message
Eclipse UserFriend
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 #1005317 is a reply to message #1004861] Thu, 24 January 2013 15: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 Smile
Re: Make .xml files to highlight the code [message #1005354 is a reply to message #1005317] Thu, 24 January 2013 21:47 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Make .xml files to highlight the code [message #1703278 is a reply to message #1005354] Thu, 30 July 2015 04:50 Go to previous message
Eclipse UserFriend
I did it work like

Help --> Install New Software -->
Available software sites-->
add-->
name : Eclipse XML Editors and Tools
location : http://download.eclipse.org/releases/helios/

it takes a while and after you get a long list .
Select XML , expand it , and install what you like

Bye
Previous Topic:Where can I find the debugger files (./debugger/xxx.lua)
Next Topic:Code Templates User variable with predefined values
Goto Forum:
  


Current Time: Wed Mar 19 19:40:20 EDT 2025

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

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

Back to the top