您的位置:首页 > 编程语言 > Python开发

详解 SourceInisght 导入 python 语法文件

2013-01-02 16:10 639 查看

详解 SourceInisght 导入 python 语法文件

分类:
python 2008-11-30 13:25
137人阅读 评论(0)
收藏
举报

5.If you don't have a document type already created for the type oflanguage file, you will need to create one now. If you already have adocument 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 Parsingsection of the Document Options dialog box, select the newly importedlanguage in the language drop-down list. This is what associates yourdocument type with the custom language.
8. Click the Close button to close Document Options. Then click
OK to close the Preferences dialog box.

1. 从 http://www.sourceinsight.com/public/languages/Python.CLF 下载Python 语法的配置文件。

2. 在source insight 中 选择 "option -> Preferences " ,选择 "languages" 页面。

3. 选择 "import" 按钮, 选择下载的 python.clf

4. 可以在语言列表中看到新加入的python

5. 选择 "Document Types" 按钮,打开文档选项对话框

6. 创建一个新的文档类型,文档名称 'python' , "file filter" 中输入 *.py

7. 在 "parsing" 处,选择python 语言

8. "close" 关闭文档选项对话框,确认"Preferences"对话框
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: