sublime安装说明
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": 13, "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配置文件缺失,或者上面的路径安装不正确
打开 Preferences -> Package Settings -> CTags -> Mouse Bindings-User 里输入下列代码:
[ { "button": "button1", "count": 1, "press_command": "drag_select", "modifiers": ["ctrl"], "command": "navigate_to_definition" }, { "button": "button2", "count": 1, "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": 10000, "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" } } }
如果您觉得阅读本文对您有帮助,请点一下“推荐”按钮,让更多的人能够享受到获取知识的快乐!因为本人初入职场,鉴于自身阅历有限,所以本博客内容大部分来源于网络中已有知识的汇总,欢迎各位转载,评论,大家一起学习进步!如有侵权,请及时和我联系,切实维护您的权益!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· Vue3状态管理终极指南:Pinia保姆级教程