用户自定义:
{
"color_scheme": "Packages/User/SublimeLinter/Monokai Bright (SL).tmTheme",
"expand_tabs_on_save": true,
"font_size": 9,
"hot_exit": false,
"ignored_packages":
[
"SublimeLinter-phplint",
"Vintage"
],
"remember_open_files": true,
"save_on_focus_lost": true,
"tab_size": 4,
"translate_tabs_to_spaces": true,
"word_wrap": true,
"show_tab_close_buttons": false,

"bold_folder_labes": true,

//不显示TAB标签上的关闭图标(个人认为没用,文件多了不小心切换的时候关了更麻烦,真的需要关闭某个标签的时候,可以在左侧栏已打开的文件中点叉叉,当然个人更加推荐使用快捷键CTRL+W)

"highlight_modified_tabs": true,

//列显示垂直标尺,在中括号里填入数字,宽度按字符计算

"rulers": [100],

}

默认:

  1. // While you can edit this file, it’s best to put your changes in
  2. // “User/Preferences.sublime-settings”, which overrides the settings in here.
  3. //
  4. // Settings may also be placed in file type specific options files, for
  5. // example, in Packages/Python/Python.sublime-settings for python files.
  6. {
  7. // Sets the colors used within the text area
  8. // 主题文件的路径
  9. “color_scheme”: “Packages/Color Scheme – Default/Monokai.tmTheme”,
  10. // Note that the font_face and font_size are overriden in the platform
  11. // specific settings file, for example, “Preferences (Linux).sublime-settings”.
  12. // Because of this, setting them here will have no effect: you must set them
  13. // in your User File Preferences.
  14. // 设置字体和大小,必须在Settings-User里重写,这里设置没有任何效果
  15. “font_face”: “Consolas”,
  16. “font_size”: 12,
  17. // Valid options are “no_bold”, “no_italic”, “no_antialias”, “gray_antialias”,
  18. // “subpixel_antialias” and “no_round” (OS X only)
  19. // 字体选项:no_bold不显示粗体字,no_italic不显示斜体字,no_antialias和no_antialias关闭反锯齿
  20. // subpixel_antialias和no_round是OS X系统独有的
  21. “font_options”: [],
  22. // Characters that are considered to separate words
  23. // 在文字上双击会全选当前的内容,如果里面出现以下字符,就会被截断
  24. “word_separators”: “./\\()\”‘-:,.;<>~!@#$%^&*|+=[]{}`~?”,
  25. // Set to false to prevent line numbers being drawn in the gutter
  26. // 是否显示行号
  27. “line_numbers”: true,
  28. // Set to false to hide the gutter altogether
  29. // 是否显示行号边栏
  30. “gutter”: true,
  31. // Spacing between the gutter and the text
  32. // 行号边栏和文字的间距
  33. “margin”: 4,
  34. // Fold buttons are the triangles shown in the gutter to fold regions of text
  35. // 是否显示代码折叠按钮
  36. “fold_buttons”: true,
  37. // Hides the fold buttons unless the mouse is over the gutter
  38. // 不管鼠标在不在行号边栏,代码折叠按钮一直显示
  39. “fade_fold_buttons”: true,
  40. // Columns in which to display vertical rulers
  41. //列显示垂直标尺,在中括号里填入数字,宽度按字符计算
  42. “rulers”: [],
  43. // Set to true to turn spell checking on by default
  44. // 是否打开拼写检查
  45. “spell_check”: false,
  46. // The number of spaces a tab is considered equal to
  47. // Tab键制表符宽度
  48. “tab_size”: 4,
  49. // Set to true to insert spaces when tab is pressed
  50. // 设为true时,缩进和遇到Tab键时使用空格替代
  51. “translate_tabs_to_spaces”: false,
  52. // If translate_tabs_to_spaces is true, use_tab_stops will make tab and
  53. // backspace insert/delete up to the next tabstop
  54. // translate_tabs_to_spaces设置为true,Tab和Backspace的删除/插入作用于制表符宽度
  55. // 否则作用于单个空格
  56. “use_tab_stops”: true,
  57. // Set to false to disable detection of tabs vs. spaces on load
  58. // false时禁止在载入的时候检测制表符和空格
  59. “detect_indentation”: true,
  60. // Calculates indentation automatically when pressing enter
  61. // 按回车时,自动与制表位对齐
  62. “auto_indent”: true,
  63. // Makes auto indent a little smarter, e.g., by indenting the next line
  64. // after an if statement in C. Requires auto_indent to be enabled.
  65. //针对C语言的
  66. “smart_indent”: false,
  67. // Adds whitespace up to the first open bracket when indenting. Requires
  68. // auto_indent to be enabled.
  69. // 需要启用auto_indent,第一次打开括号缩进时插入空格?(没测试出来效果…)
  70. “indent_to_bracket”: true,
  71. // Trims white space added by auto_indent when moving the caret off the
  72. // line.
  73. // 显示对齐的白线是否根据回车、tab等操作自动填补
  74. “trim_automatic_white_space”: true,
  75. // Disables horizontal scrolling if enabled.
  76. // May be set to true, false, or “auto”, where it will be disabled for
  77. // source code, and otherwise enabled.
  78. // 是否自动换行,如果选auto,需要加双引号
  79. “word_wrap”: false,
  80. // Set to a value other than 0 to force wrapping at that column rather than the
  81. // window width
  82. // 设置窗口内文字区域的宽度
  83. “wrap_width”: 0,
  84. // Set to false to prevent word wrapped lines from being indented to the same
  85. // level
  86. // 防止被缩进到同一级的字换行
  87. “indent_subsequent_lines”: true,
  88. // Draws text centered in the window rather than left aligned
  89. // 如果没有定义过,则文件居中显示(比如新建的文件)
  90. “draw_centered”: false,
  91. // Controls auto pairing of quotes, brackets etc
  92. // 自动匹配引号,括号等
  93. “auto_match_enabled”: true,
  94. // Word list to use for spell checking
  95. // 拼写检查的单词列表路径
  96. “dictionary”: “Packages/Language – English/en_US.dic”,
  97. // Set to true to draw a border around the visible rectangle on the minimap.
  98. // The color of the border will be determined by the “minimapBorder” key in
  99. // the color scheme
  100. // 代码地图的可视区域部分是否加上边框,边框的颜色可在配色方案上加入minimapBorder键
  101. “draw_minimap_border”: false,
  102. // If enabled, will highlight any line with a caret
  103. // 突出显示当前光标所在的行
  104. “highlight_line”: false,
  105. // Valid values are “smooth”, “phase”, “blink”, “wide” and “solid”.
  106. // 设置光标闪动方式
  107. “caret_style”: “smooth”,
  108. // Set to false to disable underlining the brackets surrounding the caret
  109. // 是否特殊显示当前光标所在的括号、代码头尾闭合标记
  110. “match_brackets”: true,
  111. // Set to false if you’d rather only highlight the brackets when the caret is
  112. // next to one
  113. // 设为false时,只有光标在括号或头尾闭合标记的两端时,match_brackets才生效
  114. “match_brackets_content”: true,
  115. // Set to false to not highlight square brackets. This only takes effect if
  116. // match_brackets is true
  117. // 是否突出显示圆括号,match_brackets为true生效
  118. “match_brackets_square”: false,
  119. // Set to false to not highlight curly brackets. This only takes effect if
  120. // match_brackets is true
  121. // 是否突出显示大括号,match_brackets为true生效
  122. “match_brackets_braces”: false,
  123. // Set to false to not highlight angle brackets. This only takes effect if
  124. // match_brackets is true
  125. // 是否突出显示尖括号,match_brackets为true生效
  126. “match_brackets_angle”: false,
  127. // Enable visualization of the matching tag in HTML and XML
  128. // html和xml下突出显示光标所在标签的两端,影响HTML、XML、CSS等
  129. “match_tags”: true,
  130. // Highlights other occurrences of the currently selected text
  131. // 全文突出显示和当前选中字符相同的字符
  132. “match_selection”: true,
  133. // Additional spacing at the top of each line, in pixels
  134. // 设置每一行到顶部,以像素为单位的间距,效果相当于行距
  135. “line_padding_top”: 1,
  136. // Additional spacing at the bottom of each line, in pixels
  137. // 设置每一行到底部,以像素为单位的间距,效果相当于行距
  138. “line_padding_bottom”: 1,
  139. // Set to false to disable scrolling past the end of the buffer.
  140. // On OS X, this value is overridden in the platform specific settings, so
  141. // you’ll need to place this line in your user settings to override it.
  142. // 设置为false时,滚动到文本的最下方时,没有缓冲区
  143. “scroll_past_end”: true,
  144. // This controls what happens when pressing up or down when on the first
  145. // or last line.
  146. // On OS X, this value is overridden in the platform specific settings, so
  147. // you’ll need to place this line in your user settings to override it.
  148. // 控制向上或向下到第一行或最后一行时发生什么(没明白也没试出来)
  149. “move_to_limit_on_up_down”: false,
  150. // Set to “none” to turn off drawing white space, “selection” to draw only the
  151. // white space within the selection, and “all” to draw all white space
  152. // 按space或tab时,实际会产生白色的点(一个空格一个点)或白色的横线(tab_size设置的制表符的宽度),选中状态下才能看到
  153. // 设置为none时,什么情况下都不显示这些点和线
  154. // 设置为selection时,只显示选中状态下的点和线
  155. // 设置为all时,则一直显示
  156. “draw_white_space”: “selection”,
  157. // Set to false to turn off the indentation guides.
  158. // The color and width of the indent guides may be customized by editing
  159. // the corresponding .tmTheme file, and specifying the colors “guide”,
  160. // “activeGuide” and “stackGuide”
  161. // 制表位的对齐白线是否显示,颜色可在主题文件里设置(guide,activeGuide,stackGuide)
  162. “draw_indent_guides”: true,
  163. // Controls how the indent guides are drawn, valid options are
  164. // “draw_normal” and “draw_active”. draw_active will draw the indent
  165. // guides containing the caret in a different color.
  166. // 制表位的对齐白线,draw_normal为一直显示,draw_active为只显示当前光标所在的代码控制域
  167. “indent_guide_options”: ["draw_normal"],
  168. // Set to true to removing trailing white space on save
  169. // 为true时,保存文件时会删除每行结束后多余的空格
  170. “trim_trailing_white_space_on_save”: false,
  171. // Set to true to ensure the last line of the file ends in a newline
  172. // character when saving
  173. // 为true时,保存文件时光标会在文件的最后向下换一行
  174. “ensure_newline_at_eof_on_save”: false,
  175. // Set to true to automatically save files when switching to a different file
  176. // or application
  177. // 切换到其它文件标签或点击其它非本软件区域,文件自动保存
  178. “save_on_focus_lost”: false,
  179. // The encoding to use when the encoding can’t be determined automatically.
  180. // ASCII, UTF-8 and UTF-16 encodings will be automatically detected.
  181. // 编码时不能自动检测编码时,将自动检测ASCII, UTF-8 和 UTF-16
  182. “fallback_encoding”: “Western (Windows 1252)”,
  183. // Encoding used when saving new files, and files opened with an undefined
  184. // encoding (e.g., plain ascii files). If a file is opened with a specific
  185. // encoding (either detected or given explicitly), this setting will be
  186. // ignored, and the file will be saved with the encoding it was opened
  187. // with.
  188. // 默认编码格式
  189. “default_encoding”: “UTF-8″,
  190. // Files containing null bytes are opened as hexadecimal by default
  191. // 包含空字节的文件被打开默认为十六进制
  192. “enable_hexadecimal_encoding”: true,
  193. // Determines what character(s) are used to terminate each line in new files.
  194. // Valid values are ‘system’ (whatever the OS uses), ‘windows’ (CRLF) and
  195. // ‘unix’ (LF only).
  196. // 每一行结束的时候用什么字符做终止符
  197. “default_line_ending”: “system”,
  198. // When enabled, pressing tab will insert the best matching completion.
  199. // When disabled, tab will only trigger snippets or insert a tab.
  200. // Shift+tab can be used to insert an explicit tab when tab_completion is
  201. // enabled.
  202. // 设置为enabled时,在一个字符串间按Tab将插入一个制表符
  203. // 设置为true时,按Tab会根据前后环境进行代码自动匹配填补
  204. “tab_completion”: true,
  205. // Enable auto complete to be triggered automatically when typing.
  206. // 代码提示
  207. “auto_complete”: true,
  208. // The maximum file size where auto complete will be automatically triggered.
  209. // 代码提示的大小限制
  210. “auto_complete_size_limit”: 4194304,
  211. // The delay, in ms, before the auto complete window is shown after typing
  212. // 代码提示延迟显示
  213. “auto_complete_delay”: 50,
  214. // Controls what scopes auto complete will be triggered in
  215. // 代码提示的控制范围
  216. “auto_complete_selector”: “source – comment”,
  217. // Additional situations to trigger auto complete
  218. // 触发代码提示的其他情况
  219. “auto_complete_triggers”: [ {"selector": "text.html", "characters": "<"} ],
  220. // By default, auto complete will commit the current completion on enter.
  221. // This setting can be used to make it complete on tab instead.
  222. // Completing on tab is generally a superior option, as it removes
  223. // ambiguity between committing the completion and inserting a newline.
  224. // 设为false时,选择提示的代码按回车或点击可以输出出来,但选择true时不会输出而是直接换行
  225. “auto_complete_commit_on_tab”: false,
  226. // Controls if auto complete is shown when snippet fields are active.
  227. // Only relevant if auto_complete_commit_on_tab is true.
  228. // auto_complete_commit_on_tab必须为true,控制代码提示的活跃度(没明白…)
  229. “auto_complete_with_fields”: false,
  230. // By default, shift+tab will only unindent if the selection spans
  231. // multiple lines. When pressing shift+tab at other times, it’ll insert a
  232. // tab character – this allows tabs to be inserted when tab_completion is
  233. // enabled. Set this to true to make shift+tab always unindent, instead of
  234. // inserting tabs.
  235. // 设置为false,使用Shift + tab总是插入制表符
  236. “shift_tab_unindent”: true,
  237. // If true, the selected text will be copied into the find panel when it’s
  238. // shown.
  239. // On OS X, this value is overridden in the platform specific settings, so
  240. // you’ll need to place this line in your user settings to override it.
  241. // 选中的文本按Ctrl + f时,自动复制到查找面板的文本框里
  242. “find_selected_text”: true,
  243. //
  244. // User Interface Settings
  245. //
  246. // The theme controls the look of Sublime Text’s UI (buttons, tabs, scroll bars, etc)
  247. // Data\Packages\Theme – Default\Default.sublime-theme控制软件的主题
  248. “theme”: “Default.sublime-theme”,
  249. // Set to 0 to disable smooth scrolling. Set to a value between 0 and 1 to
  250. // scroll slower, or set to larger than 1 to scroll faster
  251. // 滚动的速度
  252. “scroll_speed”: 1.0,
  253. // Controls side bar animation when expanding or collapsing folders
  254. // 左边边栏文件夹动画
  255. “tree_animation_enabled”: true,
  256. // 标签页的关闭按钮
  257. “show_tab_close_buttons”: true,
  258. // OS X 10.7 only: Set to true to disable Lion style full screen support.
  259. // Sublime Text must be restarted for this to take effect.
  260. // 针对OS X
  261. “use_simple_full_screen”: false,
  262. // Valid values are “system”, “enabled” and “disabled”
  263. // 水平垂直滚动条:system和disabled为默认显示方式,enabled为自动隐藏显示
  264. “overlay_scroll_bars”: “system”,
  265. //
  266. // Application Behavior Settings
  267. //
  268. // Exiting the application with hot_exit enabled will cause it to close
  269. // immediately without prompting. Unsaved modifications and open files will
  270. // be preserved and restored when next starting.
  271. //
  272. // Closing a window with an associated project will also close the window
  273. // without prompting, preserving unsaved changes in the workspace file
  274. // alongside the project.
  275. // 热推出功能!退出时不会提示是否保存文件,而是直接退出
  276. // 下次打开软件时,文件保持退出前的状态,没来得及保存的内容都在,但并没有真实的写在原文件里
  277. “hot_exit”: true,
  278. // remember_open_files makes the application start up with the last set of
  279. // open files. Changing this to false will have no effect if hot_exit is
  280. // true
  281. // 软件使用最后的设定打开文件,hot_exit为true时没有效果
  282. “remember_open_files”: true,
  283. // OS X only: When files are opened from finder, or by dragging onto the
  284. // dock icon, this controls if a new window is created or not.
  285. // 针对OS X
  286. “open_files_in_new_window”: true,
  287. // Set to true to close windows as soon as the last file is closed, unless
  288. // there’s a folder open within the window. This is always enabled on OS X,
  289. // changing it here won’t modify the behavior.
  290. // 针对OS X
  291. “close_windows_when_empty”: true,
  292. // 哪些文件会被显示到边栏上
  293. // folder_exclude_patterns and file_exclude_patterns control which files
  294. // are listed in folders on the side bar. These can also be set on a per-
  295. // project basis.
  296. “folder_exclude_patterns”: [".svn", ".git", ".hg", "CVS"],
  297. “file_exclude_patterns”: ["*.pyc", "*.pyo", "*.exe", "*.dll", "*.obj","*.o", "*.a", "*.lib", "*.so", "*.dylib", "*.ncb", "*.sdf", "*.suo", "*.pdb", "*.idb", ".DS_Store", "*.class", "*.psd", "*.db"],
  298. // These files will still show up in the side bar, but won’t be included in
  299. // Goto Anything or Find in Files
  300. “binary_file_patterns”: ["*.jpg", "*.jpeg", "*.png", "*.gif", "*.ttf", "*.tga", "*.dds", "*.ico", "*.eot", "*.pdf", "*.swf", "*.jar", "*.zip"],
  301. // List any packages to ignore here. When removing entries from this list,
  302. // a restart may be required if the package contains plugins.
  303. // 删除你想要忽略的插件,需要重启
  304. “ignored_packages”: ["Vintage"]
  305. }

乐意黎原创

本文地址:  http://blog.csdn.net/aerchi/article/details/50781853

sublime 3 自定义配置相关推荐

  1. VS Code 安装插件、自定义模板、自定义配置参数、自定义主题、配置参数说明、常用的扩展插件

    1. 下载和官网教程 下载地址:https://code.visualstudio.com/ 官方教程:https://code.visualstudio.com/docs 2. 安装插件 安装扩展插 ...

  2. app.config自定义配置节点

    本来一直用xml保存配置文件的,但有一个组件就写一个好麻烦.于是想起了自定义配置节点哈哈~~我撒娇了复习了下 首先我在ConfigManager.Instance使用单例模式,其次Reflection ...

  3. R语言使用ggplot2包使用geom_boxplot函数绘制基础分组箱图(分组箱体框颜色自定义配置)实战

    R语言使用ggplot2包使用geom_boxplot函数绘制基础分组箱图(分组箱体框颜色自定义配置)实战 目录 R语言使用ggplot2包使用geom_boxplot函数绘制基础分组箱图(分组箱体框 ...

  4. R语言ggplot2可视化、在可视化区域中自定义添加多个大小不同矩形阴影区域、自定义配置大小不同矩形阴影区域的颜色(Adding multiple shadows/rectangles)

    R语言ggplot2可视化.在可视化区域中自定义添加多个大小不同矩形阴影区域.自定义配置大小不同矩形阴影区域的颜色(Adding multiple shadows/rectangles) 目录

  5. R语言ggplot2可视化基本散点图(设置X轴使用对数坐标)、并把成对的数据点用线条(line)连接起来、自定义配置线条颜色(Connecting Paired Points with lines)

    R语言ggplot2可视化基本散点图(设置X轴使用对数坐标).并把成对的数据点用线条(line)连接起来.自定义配置线条颜色(Customizing Scatterplot Connecting Pa ...

  6. R语言ggplot2可视化并自定义配置图例的位置到可视化图像的顶部、配置折叠成两行显示图例、并添加图像形状的子图(ggplot2 legend in two rows with guides fill

    R语言ggplot2可视化并自定义配置图例的位置到可视化图像的顶部(legend position in top).并且配置折叠成两行显示图例.并添加图像形状的子图(ggplot2 legend in ...

  7. Spring Security 进阶干货:自定义配置类入口WebSecurityConfigurerAdapter

    1. 前言 今天我们要进一步的的学习如何自定义配置 Spring Security 我们已经多次提到了 WebSecurityConfigurerAdapter ,而且我们知道 Spring Boot ...

  8. ionic3中使用自定义配置

    新工作接触了ionic,以前没用过,只是离职前短暂接触过类似的vuex,到需要修改公司项目的时候临时差什么学什么,其中一个是自定义配置项 配置是很常见的设置,之前用的thinkphp的配置很清晰,基本 ...

  9. 基于Spring可扩展Schema提供自定义配置支持(spring配置文件中 配置标签支持)

    2019独角兽企业重金招聘Python工程师标准>>> spring使用了这么长时间, 你真的了解spring bean加载的机制吗? 这个是我们项目中最常见的配置文件中的内容配置, ...

  10. sublime Text 2 配置以及 Python环境搭建

    在搭建Python环境前,先设置好Sublime Text 2的环境. 一.Sublime Text 2配置: 1.离线安装: Perferences-->Browser Packages -- ...

最新文章

  1. 关于安卓录屏的权限问题
  2. 异步fifo_异步FIFO设计
  3. Spring Cloud Alibaba基础教程:Nacos配置的多环境管理
  4. CHANGE_DOCUMENT
  5. 成功解决IndexError: shape mismatch: indexing arrays could not be broadcast together with shapes (100,)
  6. 销售人员26个致命弱点
  7. HTTP 1.1与HTTP 1.0的比较
  8. 喵喵的华为DevCloud使用指南(3)-项目构建和部署
  9. java如何快速入门Hadoop大数据技术?
  10. java常量池在哪里_java常量池在哪?有什么用处?
  11. 谷歌浏览器插件迁移到火狐浏览器
  12. 蓝桥杯2014年(第5届)省赛b组c/c++ 史丰收速算
  13. win7安装android驱动失败怎么办,win7未能成功安装设备驱动程序怎么办
  14. background-image使用
  15. CSS——网易云音乐之下载客户端页面的实现
  16. mysql数据库基操所遇问题及相关知识及命令记录
  17. 使用Celery 容联云 异步发送验证码详解!!!
  18. 生活中48条让人匪夷所思的诡秘心理
  19. DirectX11-硬件多实例渲染
  20. 利用SpringBoot和Vue实现前后端分离(附源码)

热门文章

  1. 十个免费桌面博客软件
  2. JavaScript - 自定义属性 -
  3. Windows Hello安装和体验
  4. 【ASP.NET】第十课——网站的配制与部署
  5. 【友盟+】营销大数据论坛完美收官:数据驱动营销智能
  6. NLP关键词提取方法总结及实现
  7. JAVA接口签名(Signature)实现方案
  8. 路由器刷openwrt后不能上网 修改brlan的ip地址失败
  9. ccproxy如何设置
  10. love2d贪吃蛇---蛇