让Source Insight支持ARM汇编.S文件关键字高亮,函数支持
来源:互联网 发布:手机如何申请淘宝直播 编辑:程序博客网 时间:2024/05/01 12:01
转载:http://hi.baidu.com/381082014/item/109a7315e31dde416926bbee
1. 首先去Source Insight的官网下载ARM.CLF 文件:http://www.sourceinsight.com/public/languages/
2. 导入ARM.CLF 文件:
打开 "Options"->"Preference"->"Languages"
3. 设置关键字和属性
a) 新建个文本文件,保存以下内容
!, Delimiter
#, Delimiter
%, Delimiter
&, Delimiter
', Delimiter
(, Delimiter
), Delimiter
*, Delimiter
+, Delimiter
",", Delimiter
-, Delimiter
.align, Keyword
.ascii, Keyword
.BREAK, Keyword
.bss, Keyword
.byte, Keyword
.CODE, Keyword
.CONST, Keyword
.CONTINUE, Keyword
.CREF, Keyword
.data, Keyword
.DATA?, Keyword
.define, Keyword
.ELSE, Keyword
.ELSEIF, Keyword
.ENDIF, Keyword
.ENDW, Keyword
.ERR, Keyword
.ERRB, Keyword
.ERRDEF, Keyword
.ERRDEFI, Keyword
.ERRE, Keyword
.ERRIDNI, Keyword
.ERRNB, Keyword
.ERRNDEF, Keyword
.ERRNZ, Keyword
.fill, Keyword
.globl, Keyword
.IF, Keyword
.long, Keyword
.MODEL, Keyword
.NOCREF, Keyword
.quad, Keyword
.RADIX, Keyword
.REPEAT, Keyword
.STACK, Keyword
.text, Keyword
.UNTIL, Keyword
.UNTILCXZ, Keyword
.WHILE, Keyword
.word, Keyword
/, Delimiter
:, Delimiter
;, Delimiter
<, Delimiter
=, Delimiter
>, Delimiter
?, Delimiter
@CATSTR, Keyword
@INSTR, Keyword
@SIZESTR, Keyword
@SUBSTR, Keyword
define, Keyword
elif, Directive
else, Directive
endif, Directive
if, Directive
ifdef, Directive
defined, Directive
ifndef, Directive
include, Keyword
pragma, Keyword
undef, Keyword
b) 保存完后,将关键字导入:
点"Options"->"Preference"->"Languages"->"ARM Assembly"->"keywords" ,然后按照以下图示导入:
4. 设置"Comments and Ranges"
a) 双击"ARM Assembly",进入Custom Parsing,如图所示添加注释定义:
b) 设置"Custom Parsing"
\([A-Za-z0-9_]+\)=.
^\([_A-Za-z][A-Za-z0-9_]+\):*
5. 添加文件类型
点击"Options"->"Document Options"
注意:将别的地方File filter 有关*.S *.s删除,不然显示会有问题
最后点击Close即可,效果图如下:
- 让Source Insight支持ARM汇编.S文件关键字高亮,函数支持
- 让source insight支持AT&T汇编语法高亮
- 让source insight支持AT&T汇编语法高亮
- 让source insight支持AT&T汇编语法高亮
- 让source insight支持AT&T汇编语法高亮
- 让source insight支持AT&T汇编语法高亮
- 让source insight支持AT&T汇编语法高亮
- source insight支持.S的汇编文件
- source insight支持.S的汇编文件
- source insight支持.S的汇编文件
- source insight支持.S的汇编文件
- source insight支持.S的汇编文件
- source insight支持.S的汇编文件
- Source insight 支持汇编
- Source insight 支持汇编
- Source Insight查看ARM汇编源程序,语法高亮,S,asm文件
- Source Insight查看ARM汇编源程序,语法高亮,S,asm文件
- Source Insight查看ARM汇编源程序,语法高亮,S,asm文件
- Linux学习笔记:修改Tomcat默认的80端口指向8080端口
- HDU 3592 World Exhibition
- linux命令(一):查找
- Android UI控件详解-CheckBox(多选框)
- HDU 1969 Pie
- 让Source Insight支持ARM汇编.S文件关键字高亮,函数支持
- Hbase编程入门之MapReduce
- Mapreduce求TopK最大值
- #LeetCode Max Points On A Line
- 【Deep Learning】Deep Learning 教程翻译
- Codeforces 392B Tower of Hanoi(DP)
- 李振杰:腾讯入股京东=京东引狼入室
- 周报(第一周)
- redis python操作 string integer