Sublime Text中文乱码问题

https://www.cnblogs.com/lixuwu/p/5693624.html

常用配置

Perference → Settings – User,用下述配置覆盖打开的配置文件里。

{
// Display file encoding in the status bar
"show_encoding": true,
// Display line endings in the status bar
"show_line_endings": true,
"font_size": ,
"ignored_packages":
[
"Vintage"
]
}

持续更新。。。

sublime ctags插件安装

主要用来解决在sublime中C++函数或者宏定义无法跳转的问题。

ctags插件安装说明地址:https://blog.csdn.net/lijing198997/article/details/47724749

"command": "D:/software/sublime/ctags58/ctags.exe",

要注意配置文件中command是否存在错误

在使用ctag rebuild时候报乱码错误,是因为ctga的 user配置文件缺失,或者上面的路径安装不正确

sublime函数和类追踪

打开 Preferences -> Package Settings -> CTags -> Mouse Bindings-User 里输入下列代码:

[
{
"button": "button1",
"count": ,
"press_command": "drag_select",
"modifiers": ["ctrl"],
"command": "navigate_to_definition"
},
{
"button": "button2",
"count": ,
"modifiers": ["ctrl"],
"command": "jump_prev"
}
]

ctrl+鼠标左键跟踪,ctrl+鼠标右键回退

中文汉化

preferens——package controller——输入 install package——等待安装完成后输入 localizations

请使用主菜单的 帮助/Language 子菜单来切换语言。 目前支持 简体中文 繁体中文 日本語 德语 法语 俄语等。 
要换回英语不需要卸载本插件,请直接从菜单切换英文。

设置默认字体大小

https://blog.csdn.net/csdn_chenli/article/details/68060943

定位文件到左侧的目录结构

ctrl+shift+p,安装SyncedSideBar插件。

sublime节点匹配,括号高亮显示BracketHighlighter

https://blog.csdn.net/qq_31772441/article/details/80389923

配置文件

{
// Experimental: Creates a visible bar at the beginning of all lines between
// multiline bracket spans.
"content_highlight_bar": true, // Character threshold to search
"search_threshold": , "bracket_styles": {
"default": {
"icon": "dot",
// Support the old convention of "brackethighlighter.default"
// for themes that already provide something.
// As this has always been the only one we've provided
// by default, all the others will use region-ish colors.
"color": "region.yellowish brackethighlighter.default",
"style": "underline"
}, // This particular style is used to highlight
// unmatched bracket pairs. It is a special
// style.
"unmatched": {
"icon": "question",
"color": "region.redish",
"style": "highlight"
},
// User defined region styles
"curly": {
"icon": "curly_bracket",
"color": "region.purplish",
"style": "outline"
},
"round": {
"icon": "round_bracket",
"color": "region.yellowish",
"style": "outline"
},
"square": {
"icon": "square_bracket",
"color": "region.bluish"
// "style": "underline"
},
"angle": {
"icon": "angle_bracket",
"color": "region.orangish"
// "style": "underline"
},
"tag": {
"icon": "tag",
"color": "region.orangish"
// "style": "underline"
},
"c_define": {
"icon": "hash",
"color": "region.yellowish"
// "style": "underline"
},
"single_quote": {
"icon": "single_quote",
"color": "region.greenish"
// "style": "underline"
},
"double_quote": {
"icon": "double_quote",
"color": "region.greenish",
"style": "underline"
},
"regex": {
"icon": "star",
"color": "region.greenish"
// "style": "underline"
}
}
}

sublime安装说明的更多相关文章

  1. 2016 正确 sublime安装PHPcs PHPcodesniffer代码规范提示插件,修正网上部分不详细描述

    对你有助请点赞,请顶,不好请踩------送人玫瑰,手留余香!-------------------14:37 2016/3/212016 正确 sublime安装PHPcs PHPcodesniff ...

  2. sublime 安装笔记

    sublime 安装笔记 下载地址 安装package control 根据版本复制相应的代码到console,运行 按要求重启几次后再按crtl+shift+p打开命令窗口 输入pcip即可开始安装 ...

  3. 为sublime安装package control 解决乱码问题 Mac版

    为sublime安装package control   Mac版参考 https://sublime.wbond.net/installation 防止中文乱码其实只需要2个东东  一个GBK enc ...

  4. sublime安装AngularJS插件

    sublime能够支持AngularJS开发那绝对是一件很爽的事情.下面我一步步讲解如何为sublime安装AngularJS插件. 1.添加控制包站点 根据你安装sublime 版本不同,在控制台写 ...

  5. sublime 安装插件报错

    sublime  安装插件报错,大部分原因是本地防火墙开启了,关闭本地防火墙

  6. sublime 安装插件

    安装Package Control 在安装插件之前,需要让sublime安装Package Control.打开Sublime Text的控制台,快捷键ctrl + ~,在控制台中输入以下代码. im ...

  7. sublime安装php_beautifier来格式化PHP代码

    注:如果你使用sublime3,php版本是5.6以上,推荐使用这个插件phpfmt 环境 操作系统:windows7 sublime版本:2.0.2 PHP安装路径: D:\wamp\bin\php ...

  8. Sublime 安装Boxy + OmniMarkupPreviewer

    Sublime 安装Boxy + OmniMarkupPreviewer Package Install 安装 网络安装 ctrl+反引号打开控制台,在控制台中输入代码 import urllib.r ...

  9. Python和Sublime安装教程

    Python安装 安装python可以去https://www.python.org官网下载 点开官网后点击下图我圈出来的地方 然后翻到页面最后,选择要安装的版本 点击下载后打开,将 Add  Pyt ...

  10. sublime安装完插件后出现的一些问题

    1.安装anaconda后代码前面出现小方框 解决办法:这是由于不符合PEP8代码规范,在空白地方右击,选择anaconda --> autoformat PEP8 Errors ,同时保证导入 ...

随机推荐

  1. leetcode:Roman to Integer and Integer to Roman

    2015-06-03 罗马数字以前接触过I到VIII比较多,直到遇见这个题目才知道更详细.阿拉伯数字和罗马数字之间的转换最重的是了解罗马数字的规则. 罗马数字规则:(总结) 1, 罗马数字共有7个,即 ...

  2. freemarker 简单操作

    操作字符串函数 1. substring(start,end)从一个字符串中截取子串 start:截取子串开始的索引,start必须大于等于0,小于等于end end: 截取子串的长度,end必须大于 ...

  3. python学习笔记(4)-基本数据类型-数字类型及操作

    大学mooc 北京理工大学 python语言程序设计课程学习笔记 一.整数类型 可正可负,没有取值范围的限制(这个与c不同,c要考虑数据类型的存储空间).如pow(x,y),计算x的y次方,pow(2 ...

  4. 安装MongoDB(做成Windows服务)并加载C#驱动程序

    一 Mongodb简介: 通过查询网上的一些信息来介绍一下Mongodb的优势:MongoDB是一个面向文档的数据库,目前由10gen开发并维护,它的功能丰富,齐全,完全可以替代MySQL.在使用Mo ...

  5. Postman & API

    Postman & API https://www.getpostman.com/ https://www.getpostman.com/downloads/ Postman Canary h ...

  6. js auto hover button & html5 button autofocus

    js auto hover button & html5 button autofocus input // html 5 <input name="myinput" ...

  7. html5 表單輸入類型

    輸入類型有:email,url,number,range,Date pickers(工作機制是什麼),search, 有相關類型的輸入域,會對域進行驗證. 不同的瀏覽器並不一定都支持所有的輸入類型.

  8. 解决spring多线程不共享事务的问题

    在一个事务中使用多线程操作数据库时,若同时存在对数据库的读写操作,可能出现数据读取的不准确,因为多线程将不会共享同一个事务(也就是说子线程和主线程的事务不一样),为了解决这个问题,可以使用spring ...

  9. Mybatis之执行insert、update和delete操作时自动提交

    单独使用Mybaits,而没有集成Spring的话,执行insert.update和delete操作是不会自动提交的,即执行语句后不会在数据库有对应的数据变化. 解决这样的方法就是打开自动提交开关,在 ...

  10. 关于构造器中的super()

    1.为什么在子类的constructor里面要加一句super()? 答:如果子类用了extends的关键字继承的父类,那么子类在使用构造器的时候就要加super()语句,这是语法规范,就是这么定的. ...