Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Lua Development Tools » The highlighting color is changed when typing.(The editor do syntax checking when i am typing.)
icon7.gif  The highlighting color is changed when typing. [message #1393238] Thu, 03 July 2014 13:22 Go to next message
hy yu is currently offline hy yuFriend
Messages: 4
Registered: July 2014
Junior Member
Hi,
I like Dark theme, but the highlighting color is changed frequently between gray to yellow when typing.That is a bad experience for eyes, especially for Dark theme.
So, how to disable syntax checking when typing?
index.php/fa/18450/0/
index.php/fa/18451/0/
  • Attachment: cap1.PNG
    (Size: 103.07KB, Downloaded 2330 times)
  • Attachment: cap2.PNG
    (Size: 82.51KB, Downloaded 1618 times)
Re: The highlighting color is changed when typing. [message #1393251 is a reply to message #1393238] Thu, 03 July 2014 13:42 Go to previous messageGo to next message
Simon Bernard is currently offline Simon BernardFriend
Messages: 345
Registered: July 2009
Senior Member
Hi,
You could change the color in Windows/Preferences/Lua/Editor/Syntax Coloring, the color you want to change should be "core/local variable" and "core/global variable".
If you find better default color, tell us Very Happy. We will probably change that for the next release.
(If you want to disable it, set the same color than "Core/Others")
Simon
Re: The highlighting color is changed when typing. [message #1393738 is a reply to message #1393251] Fri, 04 July 2014 07:36 Go to previous messageGo to next message
hy yu is currently offline hy yuFriend
Messages: 4
Registered: July 2014
Junior Member
Hi, other code editor (e.g. IntelliJ IDEA) will not change whole highlighting color in a function while typing.
I have not seen a editor like Koneki does.
Re: The highlighting color is changed when typing. [message #1393795 is a reply to message #1393738] Fri, 04 July 2014 09:23 Go to previous message
Marc Aubry is currently offline Marc AubryFriend
Messages: 86
Registered: August 2012
Member
Hi,

Happy you find Koneki different than editors. We have try hard to bring IDE features in Koneki, the counterpart of that are things such as blinking syntax coloration but workaround exists as Simon explain to you.

Workaround are not perfect and in your case the solution should be to have partial AST generation that can work even if the code contains errors. Doing this on a dynamic language is kind of tricky. We haven't find a solution so far but if you have any clue about that, you are welcome.

Marc
Previous Topic:Debug though co-routines
Next Topic:crash in debugger.lua
Goto Forum:
  


Current Time: Thu Mar 28 22:33:44 GMT 2024

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

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

Back to the top