xCode4 Lua语法突出显示 [英] xCode4 Lua Syntax Highlight

查看:100
本文介绍了xCode4 Lua语法突出显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
在Xcode 4.0中为编程语言添加语法突出显示

Possible Duplicate:
Adding syntax highlighting to programming languages in Xcode 4.0

是否可以使xCode4对.lua文件进行语法突出显示?网上有很多针对xCode 3.2的解决方案,但我找不到针对xCode4的解决方案.

Is it possible to make xCode4 to do syntax highlighting on .lua files? There are plenty solutions online for xCode 3.2, but I've found none for xCode4.

推荐答案

根据此网站,旧的XCode 3语法突出显示插件基于非官方且不受支持的API. XCode 4是对XCode的完全重写,因此API不可能再存在了,据我所知,还没有人发现任何类似的API,因此看起来您可能不走运.

According to this site, the old XCode 3 syntax highlighting plugins were based on an unofficial and unsupported API. XCode 4 is a complete rewrite of XCode, so it's unlikely that API exists any more, and to my knowledge no-one has yet discovered any similar API, so it looks like you may be out of luck.

好消息是XCode在外部编辑器中的表现非常好(其中有很多使用Lua),并且您在外部编辑器中所做的任何更改都会立即反映在XCode中.

The good news is that XCode does play quite well with external editors (Of which there are quite a few which do Lua), and any changes you make in an external editor are instantly reflected in XCode.

这篇关于xCode4 Lua语法突出显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆