Highlight Xcode Lua syntax and xcodelua syntax

Source: Internet
Author: User

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


 

  1. Download the two files (Add-Lua.sh, Lua. xclangspec)
  2. 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 +
  3. Make sure Xcode is closed
  4. Run Add-Lua.sh from the terminal with sudo (I. E. 'sudo Add-Lua.sh ')
  5. Enter your admin password and hit enter
  6. 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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.