放弃了,半天弄不出一个方便的开放环境,还是现成的iDE方便
下载方法
https://www.sublimetext.com/docs/3/linux_repositories.html
首先安装Package Control
https://packagecontrol.io/installation#st3
经过上面安装了Package Control后,我们就可以通过快捷键 Ctrl+Shift+P 打开Package Control来安装插件了。在打开的输入框中输入 install ,会根据你的输入自动提示,选择 Install Package。
Anaconda
Anaconda是目前 Sublime 3 中最好的 Python 自动补全和语法提示插件, 并且提供了"跳转到定义", "查找使用", "显示文档", "自动重命名"等 IDE 中插件的功能.
Git 相关
我们需要安装 SublimeGit 和 GitGutter, 前者可以帮助我们在 Sublime 中使用 Git 命令 (通过 ctrl+shift+p 或 cmd+shift+p), 后者在编辑时在 Gutter 显示 Git 差异, 十分方便.
感觉还有货的参考文档:
一个推荐配置,待观察:
{ "always_show_minimap_viewport": true, "auto_complete_commit_on_tab": false, "auto_find_in_selection": true, "bold_folder_labels": true, "color_scheme": "Packages/Monokai Extended/Monokai Extended.tmTheme", "theme": "Soda Dark 3.sublime-theme", "default_line_ending": "unix", "detect_indentation": false, "detect_slow_plugins": false, "drag_text": false, "draw_white_space": "selection", "ensure_newline_at_eof_on_save": true, "fallback_encoding": "UTF-8", "font_face": "Ubuntu Mono", "font_size": 16, "highlight_line": true, "highlight_modified_tabs": true, "ignored_packages": [ "Vintageous", "Vintage" ], "indent_guide_options": [ "draw_active", "draw_normal" ], "indent_to_bracket": true, "line_padding_bottom": 1, "line_padding_top": 1, "preview_on_click": false, "rulers": [ 120 ], "scroll_past_end": true, "shift_tab_unindent": true, "show_encoding": true, "tab_size": 4, "translate_tabs_to_spaces": true, "trim_automatic_white_space": true, "trim_trailing_white_space_on_save": true, "word_wrap": true, "wrap_width": 120 }