敬告遊客:
以下內容枯燥無聊,若情非得已不建議進入。
若仍執意進入,當有頭暈嘔吐現象時請盡速離開本篇文章。
1.download "PHP Script.CLF" and "PHP Styles.cf3" in http://chen-w.com/blog/php/php-highlight-in-source-insight
2.Options-> Preferences->Tab Languages
3.Click "Import" button and choose "PHP Script.CLF" file
4. "PHP Script" is showed in the Language area in the left of the window
5.Click the "Doc Types" button to open the Document Options dialog box
6.Click "Add Type" button, input "php" and click "OK"
7."php" is showed in the Document Type area
8.Type "*.php" in the File Filter area
9.Choose "Use options for Default type" and "Include when adding to projects"
10. In the Parsing section, select the "PHP Script" in the language drop-down list.
11.Click the "Close" button to close Document Options. Then click "OK" button to close the Preferences dialog box.
12.Options-> Style Properties-> click "Load" button and choose "PHP Styles.cf3" file
13."php-function", "php-keyword", "php-control" and "php-operator" is added in the Style Name area in the left of the dialog.
You can enjoy the php files in SI. Have fun~
ref:
http://chen-w.com/blog/php/php-highlight-in-source-insight
http://bbs.chinaunix.net/thread-727747-1-1.html
http://hi.baidu.com/ilovemsrabbit/item/5dccc9d09f1064b233db90a7
http://www.sourceinsight.com/public/languages/
http://blog.c114.net/html/87/367587-65073.html
公告版位
努力減肥.加油加油!
- Sep 13 Thu 2012 16:43
[Source Insight]add php files into SI projects
文章標籤
全站熱搜
留言列表