GoSublime icon indicating copy to clipboard operation
GoSublime copied to clipboard

Use new Phantoms API to show build errors inline

Open maxsz opened this issue 10 years ago • 5 comments

From the sublime text blog:

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: build_error

API documentation

maxsz avatar Sep 22 '16 07:09 maxsz

Take a look on my solution screenshot_20161105_203719 screenshot_20161105_203829

qmmp123 avatar Nov 05 '16 12:11 qmmp123

Up 🐐 for this issue. super useful to see errors inline.

dmkc avatar Mar 22 '18 18:03 dmkc

Do you know of a plugin that has a good implementation of phantoms and/or tooltips?

I tried them when these features were first released, but found them very annoying/distracting when they're activated automatically. The only use I can think of is to maybe replace the error palette (ctrl+.,ctrl+e) with phantoms.

DisposaBoy avatar Mar 24 '18 22:03 DisposaBoy

The only use I can think of is to maybe replace the error palette

Exactly. I don't know of any good implementations offhand but can dig into it.

dmkc avatar Mar 26 '18 18:03 dmkc

I'm going to introduce the HUD as an alternative to popups and inline phantoms in the next release. See https://github.com/DisposaBoy/GoSublime/issues/846#issuecomment-440672086 for details.

DisposaBoy avatar Nov 21 '18 14:11 DisposaBoy