Sublime Text3中SublimeCodeIntel插件配置python环境

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u013887008/article/details/49815567

1、首先在package-control中安装SublimeCodeIntel

2、点击preferences中的browse Packages,进入到SublimeCodeIntel,在当前的路径下新建.codeintel文件夹(windows中文件命名的时候为 .codeintel. ),之后进入到 .codeintel文件夹中,新建文件config,配置文件中输入:

"python3":{
	"python":"E:/Program Files/python34/python.exe",
	"pythonExtraPaths":[
         "E:/Program Files/python34/DLLs",
         "E:/Program Files/python34/Lib",
         "E:/Program Files/python34/Lib/lib-tk",
         "E:/Program Files/python34/Lib/site-packages",

	]
}

3.如果是其他语言,就写相应的配置,例如:

{
    "PHP": {
        "php": '/usr/bin/php',
        "phpExtraPaths": [],
        "phpConfigFile": 'php.ini'
    },
    "JavaScript": {
        "javascriptExtraPaths": []
    },
    "Perl": {
        "perl": "/usr/bin/perl",
        "perlExtraPaths": []
    },
    "Ruby": {
        "ruby": "/usr/bin/ruby",
        "rubyExtraPaths": []
    }
}





没有更多推荐了,返回首页