Mar*_*air 5 sublimetext sublimetext3
在安装Sierra iOS并将Sublime更新到Build 3126后,我在Sublime Text中收到这些奇怪的深红色消息.
我试图删除代码片段并手动重新输入,但每次点击"保存"时它们都会重新出现.有谁知道它们是什么以及如何摆脱它们,拜托?
Ger*_*che 16
这些是内联构建错误.它是Beta Build 3124(Dev Build 3118)中的一项新功能.
现在,在错误发生的位置显示内置错误.这是通过新的Phantoms API完成的,它允许通过插件将HTML注释添加到文本缓冲区.
可以通过
show_errors_inline
设置禁用内联构建错误.- 崇高的文字博客
可以通过show_errors_inline
设置禁用内联构建错误.
用户
Menu > Preferences > Settings
(Preferences.sublime-settings - User
)
{
"show_errors_inline": false
}
Run Code Online (Sandbox Code Playgroud)
每个项目
Menu > Project > Edit Project
{
"settings": {
"show_errors_inline": false
}
}
Run Code Online (Sandbox Code Playgroud)
创建自定义键绑定.
Menu > Preferences > Key Bindings
{
"keys": ["ctrl+l"],
"command": "exec",
"args": {
"hide_phantoms_only": true
}
}
Run Code Online (Sandbox Code Playgroud)
或者对于vim模式:
{
"keys": ["ctrl+l"],
"command": "exec",
"args": {
"hide_phantoms_only": true
},
"context": [
{ "key": "setting.command_mode" }
]
}
Run Code Online (Sandbox Code Playgroud)
回复:Sublime文本论坛
归档时间: |
|
查看次数: |
1592 次 |
最近记录: |