<commit_before>---
layout:     post
title:      "Sublime Text 3(C++、Python)个人配置"
subtitle:   "Sublime Text 3(C++、Python) Config"
description: "sublime text 3 config"
date:       2016-02-18 11:00:00
author:     "Scalpel"
header-img: "img/home-bg-o.jpg"
tags:
- 编程开发
- 软件使用
---
分享一下自己的关于Sublime Text 3编写C++和Python代码的一些Package和Settings

### Preferences User Settings
```json
{
    "always_show_minimap_viewport": true,
    "caret_style": "phase",
    "draw_minimap_border": true,
    "fade_fold_buttons": false,
    "font_size": 11.0,
    "highlight_line": true,
    "highlight_modified_tabs": true,
    "indent_to_bracket": true,
    "match_brackets_angle": true,
    "show_encoding": true,
    "show_line_endings": true,
    "translate_tabs_to_spaces": true,
    "update_check": false,
    "word_wrap": "auto"
}
```

### Package 
Anaconda(非常强大的Python插件，支持自动完成、代码检查、查找变量或函数定义及使用等众多功能)  
Bracket Highlighter(括号匹配高亮)  
ConvertToUTF8(GBK、UTF-8转换)  
ChineseLocalization(中文汉化)  
Console Exec(Python终端运行)  
IMESupport(输入法随行显示)  
SublimeAStyleFormatter(代码格式化)  

### Anaconda Settings

```json
{
    "python_interpreter": "Python安装路径\\python.exe",
    "auto_complete_triggers": [{"selector": "source.python - string - comment - constant.numeric", "characters": "."}],
    "suppress_word_completions": true,
    "suppress_explicit_completions": true,
}
```<commit_msg>add advise line padding<commit_after>---
layout:     post
title:      "Sublime Text 3(C++、Python)个人配置"
subtitle:   "Sublime Text 3(C++、Python) Config"
description: "sublime text 3 config"
date:       2016-02-18 11:00:00
author:     "Scalpel"
header-img: "img/home-bg-o.jpg"
tags:
- 编程开发
- 软件使用
---
分享一下自己的关于Sublime Text 3编写C++和Python代码的一些Package和Settings

### Preferences User Settings
```json
{
    "always_show_minimap_viewport": true,
    "caret_style": "phase",
    "draw_minimap_border": true,
    "fade_fold_buttons": false,
    "font_size": 11.0,
    "highlight_line": true,
    "highlight_modified_tabs": true,
    "indent_to_bracket": true,
    "match_brackets_angle": true,
    "show_encoding": true,
    "show_line_endings": true,
    "translate_tabs_to_spaces": true,
    "update_check": false,
    "word_wrap": "auto",
    "line_padding_top": 0,
    "line_padding_bottom": 0,
}
```

### Package 
Anaconda(非常强大的Python插件，支持自动完成、代码检查、查找变量或函数定义及使用等众多功能)  
Bracket Highlighter(括号匹配高亮)  
ConvertToUTF8(GBK、UTF-8转换)  
ChineseLocalization(中文汉化)  
Console Exec(Python终端运行)  
IMESupport(输入法随行显示)  
SublimeAStyleFormatter(代码格式化)  

### Anaconda Settings

```json
{
    "python_interpreter": "Python安装路径\\python.exe",
    "auto_complete_triggers": [{"selector": "source.python - string - comment - constant.numeric", "characters": "."}],
    "suppress_word_completions": true,
    "suppress_explicit_completions": true,
}
```
{'fraction_non_alphanumeric': 0.1440373563218391, 'fraction_numerical': 0.017241379310344827, 'mean_word_length': 4.592369477911647, 'pattern_counts': {'":': 42, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '362020', 'n_tokens_mistral': 1208, 'n_tokens_neox': 1189, 'n_words': 183}