3

How do I turn syntax highlighting on in Eclipse editor?

1 Answers1

3

Using LuaEclipse 1.2 in Eclipse Helios on Ubuntu 11.04 (64-bit), Lua syntax highlighting seems to enable automatically as long as the file extension is .lua. I don't see a way to turn it off or on.

  • I have Windows 7 32bit with Eclipse Indigo. –  Sep 12 '11 at 16:11
  • Just tried this on Windows 7 64-bit but with Eclipse Indigo 32-bit (and JRE 6 u27, 32-bit). I get the same behavior as Ubuntu (syntax is auto enabled based on file extension). I right-clicked my project, chose **Lua Actions > New Lua File**. Then, I entered `local testvar` and observed the **`local`** keyword changed color from black to purple. –  Sep 12 '11 at 19:35