Ubuntu下使用sublime text进行py开发

放弃了,半天弄不出一个方便的开放环境,还是现成的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 差异, 十分方便.

 

感觉还有货的参考文档:

配置sublime打造python编辑器

 

 

 

一个推荐配置,待观察:

{
  "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
}

 

转载于:https://www.cnblogs.com/Jacket-K/p/8427265.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值