解决sublime快捷键回车换行问题
2024-09-06 09:06:57
鼠标右键sublime 以管理员身份运行 打开首选项里面的按键绑定用户 将下面的代码粘贴复制
{ "keys": ["enter"], "command": "auto_indent_tag", "context":
[
{ "key": "setting.auto_indent", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "selector", "operator": "equal", "operand": "punctuation.definition.tag.begin", "match_all": true },
{ "key": "preceding_text", "operator": "regex_contains", "operand": ">$", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^</", "match_all": true },
]
},
{ "keys": ["tab"], "command": "reindent", "context":
[
{ "key": "setting.auto_indent", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "preceding_text", "operator": "regex_match", "operand": "^$", "match_all": true },
{ "key": "following_text", "operator": "regex_match", "operand": "^$", "match_all": true }
]
}
最新文章
- 常见端口 HTTP代码
- IIS提示“异常详细信息: System.Runtime.InteropServices.ExternalException: 无法执行程序”
- 如何下载Spring
- U-Mail邮件服务系统任意文件上传+执行漏洞(runtime缺陷与验证绕过)
- 转载 sqlserver 锁的概念
- ps一般常用的快捷键
- 重温XML
- javascript全局对象
- 伸展树(Splay树)的简要操作
- 201521123055 《Java程序设计》第7周学习总结
- insert时报Cannot add or update a child row: a foreign key constraint fails (`yanchangzichan`.`productstatusrecord`, CONSTRAINT `p_cu` FOREIGN KEY (`cid`) REFERENCES `customer` (`cid`))错误
- Spring boot(4)-应用打包部署
- Modbus库开发笔记之四:Modbus TCP Client开发
- MySql md5加密 sqlserver md5加密 C# md5加密 java md5加密
- Yii Restful api自定义字段
- js 改变颜色值
- js jq封装ajax方法
- sort sign numeric
- Netty 应用程序的一个一般准则:尽可能的重用 EventLoop,以减少线程创建所带来的开销。
- win10与子系统Ubuntu 相关配置
热门文章
- PHPStorm 配置本地 WebServer 运行 PHP
- 谁说程序员不浪漫?Python导出微信聊天记录生成爱的词云图
- llinux/重启/用户切换/注销
- Reuse Implemented Functionality 重用实现功能
- 【重学Git】整理提交记录
- Dynamics CRM - js中用webapi基于fetchxml查询遇到的问题 -- Invalid URI: The Uri scheme is too long.
- Linux shell--基础指令
- QT总结
- 035.[转] 获取HttpServletRequest请求Body中的内容
- 信号驱动式I/O