讓Xcode Lua 文法高亮,xcodelua文法高亮

來源:互聯網
上載者:User

讓Xcode Lua 文法高亮,xcodelua文法高亮


 本人不太喜歡用code ide 還是喜歡XCODE的風格

1.讓Xcode支援Lua文法高亮(Syntax Highlighting) 1. 下載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"


Lua 在 Visual studio 2010 中怎做到文法高亮

lua的話 為了方便執行 推薦用SciTE 或NOTEPAD++
前者是執行方便 後者是文法高亮做的比較好
 
xcode 沒有把代碼按照類型高亮顯示 全都是白色 怎變成彩色?

除了樓下的喜好設定以外,你的情況應該是之前是文法高亮顯示的,但是運行一段時間以後出現此現象。一般是記憶體不足造成的,你可以考慮我一般常用的方法
1、clean一下
2、 清空所有倉庫 , Organizer - Repositories - 清空所有Respositories
3、清除所有工程 Organizer-projects - 把項目Remove from Organizer
做完以上(一般我是做第二步有效)操作以後,關閉xcode重新開啟即可。
實在不行就重啟吧。
 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.