LuaIDE icon indicating copy to clipboard operation
LuaIDE copied to clipboard

API/OS Specific Text Highlighting

Open DomAmato opened this issue 10 years ago • 2 comments

I am a grad researcher with DePaul University in Chicago and we are using ComputerCraft to teach Lua to grade schools. The IDE is great but it would be nice if specific API functions were highlighted and if OS specific objects also had their own syntax highlight, e.g. turtle.select(1) would be some combo of colors. This seems easy enough given the highlight,lua would just need some additions. I'm more than willing to fork and submit a PR

DomAmato avatar Jun 16 '15 22:06 DomAmato

@GravityScore said that he's happy with doing it himself (although he might not ever get to it, lol), I'm sure he'll also be fine with you submitting a pull request too. Feel free to fork, modify, and distribute LuaIDE however you want.

1lann avatar Jun 18 '15 01:06 1lann

Thanks, I did some quick changes and it works for what I need it for though I think it needs a bit more vetting to make sure highlighting acts the way its supposed to. right now the way i set it up is that it doesn't check if a function is a part of the api that called it, just highlights keywords

DomAmato avatar Jun 21 '15 16:06 DomAmato