As I found out thanks to Keith Hall and this GitHub page , this turns out to be the "feature" of the Microsoft Typescript plugin.
To disable it, edit the following file (this is on Windows, obviously the path will be slightly different on another system):
C:\Users\YourUserNameHere\AppData\Roaming\Sublime Text 3\Packages\TypeScript\typescript\commands\error_info.py
Highlight lines 26-29 of this file as shown below:
... if len(error_text) > 0: #if PHANTOM_SUPPORT: # template = '<body><style>div.error {{ background-color: brown; padding: 5px; color: white }}</style><div class="error">{0}</div></body>' # display_text = template.format(error_text) # self.view.add_phantom("typescript_error", self.view.sel()[0], display_text, sublime.LAYOUT_BLOCK) self.view.set_status("typescript_error", error_text)
Then restart the editor.
source share