sublimeSublime Text

Sublime 3 配置Python

2015-11-30  本文已影响780人  曹博博

最近开始学习Python,之前在学习latex的时候,就用了 sublime,配置的时候对我这个小白来说就是折磨啊。所以,我准备把过程记录下来,给大家参考。

下载安装Python和Sublime。

直接去官网下载,安装。

添加Path

首先在环境变量里添加两个软件的Path


配置

作为小白,主要参考了网上的一些教程
http://www.cnblogs.com/waising/articles/3466120.html

{
    // Configure pylint's behavior
    "pylint_rc": "/Users/你的用户名/dev/pylintrc",
 
    // Show different icons for errors, warnings, etc.
    "use_icons": true,
 
    // Automatically run Pylinter when saving a Python document
    "run_on_save": true,
 
    // Don't hide pylint messages when moving the cursor
    "message_stay": true
}
{"python":
{ "python":"C:/Python27/python.exe",
        "pythonExtraPaths":
            [
                "C:/Python27",
                 "C:/Python27/DLLs",
                 "C:/Python27/Lib",
                 "C:/Python27/Lib/lib-tk",
                 "C:/Python27/Lib/site-packages"
            ]
        }
    }
{
    "auto_complete": false,
    "caret_style": "solid",
    "ensure_newline_at_eof_on_save": true,
    "find_selected_text": true,
    "font_size": 11.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,
}
上一篇 下一篇

猜你喜欢

热点阅读