HardBirch

Config Source Insight For reading PHP source code

时间:12-07-25 栏目:WP技巧分享 作者:魔豆先生 评论:0 点击: 3,677 次

Custom Language files for adding new language support to Source Insight.
To import a custom language file into Source Insight

1. Select Options > Preferences. Click the Languages tab.

2. Click the Import button. Select and load the custom language file (.CLF)

3. You should now see the new language in the list of languages.

4. Click the Document Types button to open the Document Options dialog box.

5. If you don't have a document type already created for the type of language file, you will need to create one now. If you already have a document type created, select it in the list and go to step 7.

6. Click the Add Type button to create a new document type.  Give it a name that describes the type of file. For example, "Ant File". Click OK and then fill in the file filter text box with a wildcard.  For example, "*.ant".

7. In the Parsing section of the Document Options dialog box, select the newly imported language in the language drop-down list. This is what associates your document type with the custom language.

8. Click the Close button to close Document Options. Then click OK to close the Preferences dialog box.

==》》style文件:PHP-Styles.CF3

菜单“options”-》“Style Properties”,在弹出窗口中,选择“load”,选中style文件:PHP-Styles.CF3。确定后,你可以在左侧的“Style Name”列表中看见增加了四个新的php-function,php-keyword,php-control,php-operator。在点击“Done”确定后,就好了。

以上没什么技术含量,就是体力活。用过SI,你会更喜欢它,没有用过,推荐你用。

si-php.zip
15.67 KB, 下载次数: 5479
SI的PHP配置文件

声明: 本文由( 魔豆先生 )原创编译,转载请保留链接: Config Source Insight For reading PHP source code

Config Source Insight For reading PHP source code:等您坐沙发呢!

发表评论


QQ群互动

Linux系统与内核学习群:194051772

WP建站技术学习交流群:194062106

魔豆之路QR

魔豆的Linux内核之路

魔豆的Linux内核之路

优秀工程师当看优秀书籍

优秀程序员,要看优秀书!

赞助商广告

友荐云推荐