Sublime Text 配置python文件

时间:2022-09-18 18:01:22

每次配置Sublime Text的都是好一顿搜索配置信息,今天特地把自己电脑上配置好的信息保存下来,方便以后使用。

用到了 AutoPEP8、Anaconda、SublimeCodeIntel、SublimeREPL 几项的配置

其他部分可以参考:http://blog.csdn.net/mx472756841/article/details/50535517

# Sublime Text3 具体的配置信息

1: AutoPEP8
{
"auto_complete": false,
"format_on_save": true,
"caret_style": "solid",
"ensure_newline_at_eof_on_save": true,
"find_selected_text": true,
"font_size": 14.0,
"highlight_modified_tabs": true,
"line_padding_bottom": 0,
"line_padding_top": 0,
"scroll_past_end": false,
"show_minimap": false,
"tab_size": 4,
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"wide_caret": true,
"word_wrap": true,
}

2: Anaconda
{
"python_interpreter": "D:/Anaconda3/python.exe", /*解释器的安装路径*/
"suppress_word_completions": true,
"suppress_explicit_completions": true,

/*
If complete_parameters is true, anaconda will add function and class
parameters to its completions.

If complete_all_parameters is true, it will add all the possible
parameters, if it's false, it will add only required parameters
*/
"complete_parameters": true,
"complete_all_parameters": true,

}

3:SublimeCodeIntel
{
"Python": {
"python":"D:/Anaconda3/python.exe",/*解释器的安装路径*/
"pythonExtraPaths":
[
"D:/Anaconda3",
"D:/Anaconda3/DLLs",
"D:/Anaconda3/Lib",
"D:/Anaconda3/Lib/site-packages"
]
},
}

4:SublimeREPL
{
"default_extend_env": {"PATH": "{PATH};D:\\Anaconda3"}
}