{
"font_face": "Monaco", // 编辑器的字体
"font_size": 13, // 字号
"highlignt_line": true, // 是否高亮当前行
"tab_size": 2, // tab 字符宽度(对应的空格数)
"translate_tabs_to_spaces": true, // 是否自动将新插入的 tab 转换为空格
"word_wrap": true // 是否自动换行
}

monaco,先从网上下载ttf格式,然后放到windows目录下的font目录

配置python开发环境:

  • pylinter 插件:

  对违反规范提示图标

{
// Configure pylint's behavior
"pylint_rc": "/Users/daniel/dev/pylintrc", // Show different icons for errors, warnings, etc.
"use_icons": true, // Automatically run Pylinter when saving a Python document9
"run_on_save": true, // Don't hide pylint messages when moving the cursor
"message_stay": true
}
  • SublimeCodeIntel 插件:

  可以自定义提示的内容库,我的python智能提示设置

"Python": {
"python":"D:/Python27/python.exe",
"pythonExtraPaths":
[
"D:/Python27",
"D:/Python27/DLLs",
"D:/Python27/Lib",
"D:/Python27/Lib/lib-tk",
"D:/Python27/Lib/site-packages"
]
}
  • Python PEP8 Autoformat 插件:格式化代码
{
"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,
}

快捷键 CTRL+SHIFT+R 自动格式化python代码

参考博客:http://blog.jobbole.com/40660/

最新文章

  1. HUD 5050 Divided Land
  2. .Net mvc 后台传单引号错误&#39
  3. 炉石传说 C# 开发笔记 (法术篇)
  4. Java基础复习笔记系列 九 网络编程
  5. [团队项目]SCRUM项目4.0
  6. Spring MVC框架
  7. bzoj 1493 暴力
  8. HDFS简介【全面讲解】
  9. php学习笔记1--开发环境搭建:apache+php+mysql
  10. 读书计划——javascript dom 编程艺术(一)
  11. PHP不使用递归的无限级分类
  12. How tomcat works 读书笔记十七 启动tomcat 上
  13. DD XOFT虚拟键盘鼠标
  14. Django学习笔记(二)视图函数
  15. c/c++ 栈与队列实现车库的出入与收费
  16. 【读书笔记】iOS-Objective-C编程
  17. 使用yum更新时不升级Linux内核的方法
  18. TestNG简单介绍以及安装—学习笔记1
  19. Debian/Ubuntu安装WPS (转)
  20. caffe可视化模型

热门文章

  1. 有手就行7——*项目构建细节2-钩子(webhook) 配置
  2. Linux性能优化之磁盘I/O调优
  3. GAN实战笔记——第三章第一个GAN模型:生成手写数字
  4. k8s-cka考试题库
  5. Java ClassLoader 学习笔记
  6. 详细介绍rar是什么由谁发明
  7. Spring Boot 自定义配置文件异常"expected single matching bean but found 2"
  8. java-23种设计模式概述【软件设计模式基本介绍(是什么、作用、优点)、模式的分类和介绍】
  9. embarrass的writeup
  10. RFC3918聚合组播吞吐量测试——网络测试仪实操