世界杯预选赛非洲积分:如何用source insight 看python源代码

来源:百度文库 编辑:偶看新闻 时间:2024/04/30 02:28:19

用source insight 看python源代码

我们知道,sourceinsight是一款相当强大的看代码的软件,它对于java,js,c,c++的支持相当的好。但是,它却没有提供对python的内置支持。这对于pythoner来说是个不小的遗憾,所以我这里给大家一个让source insight支持python的配置方法。

1:下载si的一个CLF文件(for python)下载地址:http://www.sourceinsight.com/public/languages/Python.CLF

2:open si,选择options->Preferences->Language->import->将刚刚的clf文件导入进来,然后OK

3:options->Document options->Language选择python,再new 一个type,里面输入python,然后在file filter中输入:*.py,*.pyw

好了,这样,source insight就支持python了~~~~~~


以后大家看python代码就方面多了。O(∩_∩)O哈哈~