Highlight Xcode Lua syntax and xcodelua syntax
I do not like code ide or XCODE.
1. Let Xcode support Lua Syntax Highlighting (Syntax Highlighting) 1. Download https://github.com/breinhart/Lua-In-Xcode
- Download the two files (Add-Lua.sh, Lua. xclangspec)
- Open Add-Lua.sh and change the DVTFOUNDATION_PATH if necessary. You probably do not need to change this if you are on Xcode 4.3 +
- Make sure Xcode is closed
- Run Add-Lua.sh from the terminal with sudo (I. E. 'sudo Add-Lua.sh ')
- Enter your admin password and hit enter
- Open Xcode and notice the 'lua' entry under "Editor-> Syntax Coloring"
How to highlight the syntax of Lua in Visual studio 2010
For lua, SciTE or NOTEPAD ++ is recommended for ease of execution.
The former is easier to execute, and the latter is better for syntax highlighting.
Xcode does not highlight all the code by type. How does it turn into color?
In addition to the downstairs preference settings, You should have highlighted the syntax before, but this phenomenon occurs after running for a period of time. This is generally caused by insufficient memory. You can consider the common methods.
1. clean
2. Clear all Repositories and Organizer-Repositories-clear all Respositories
3. Clear all project Organizer-projects-Remove project from Organizer
After completing the above operations (generally, the second step is valid), close xcode and re-open it.
If this is not the case, restart it.