Reputation: 319
I'm getting these weird dark red messages in Sublime Text after installing Sierra iOS and updating Sublime to Build 3126.
I tried to delete the pieces of code and retype them by hand, but they keep reappearing every time I hit 'Save'. Does anyone know what they are and how to get rid of them, please?
Upvotes: 5
Views: 2311
Reputation: 6411
Those are inline build errors. It is a new feature in the Beta Build 3124 (Dev Build 3118).
Build errors are now shown inline, at the location the error occurred. This is done via the new Phantoms API, which allows HTML annotations to be added to the text buffer by plugins.
Inline build errors can be disabled via the
show_errors_inline
setting.
Inline build errors can be disabled via the show_errors_inline
setting.
User
Menu > Preferences > Settings
(Preferences.sublime-settings - User
)
{
"show_errors_inline": false
}
Per-Project
Menu > Project > Edit Project
{
"settings": {
"show_errors_inline": false
}
}
Create a custom key binding.
Menu > Preferences > Key Bindings
{
"keys": ["ctrl+l"],
"command": "exec",
"args": {
"hide_phantoms_only": true
}
}
Or for vim modes:
{
"keys": ["ctrl+l"],
"command": "exec",
"args": {
"hide_phantoms_only": true
},
"context": [
{ "key": "setting.command_mode" }
]
}
Upvotes: 18