You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bacon's locations export doesn't surface enough information to fully describe spans in an editor. From my quick investigation, I believe this is because bacon simply parses the direct output of check and clippy, but do correct me if I'm wrong.
However, both tools can provide much more information with their JSON message formats as described here. As far as I can tell, json-diagnostic-rendered-ansi provides the best of both worlds by providing detailed information along with fully rendered messages.
I don't know what the scope of such a change would be, so it's possible this is impractical. However, while it may seem a little roundabout, I've found using bacon in this way very refreshing and more reliable than rust-analyzer for my larger projects. It would be amazing if we could get accurate spans to boot!
The text was updated successfully, but these errors were encountered:
@crisidev I'm working on designing a new version of the analyzer framework, in accordance with this roadmap. Please come chat about what you intend to do exactly before starting a PR.
This issue is motivated by crisidev/bacon-ls#2.
bacon's locations export doesn't surface enough information to fully describe spans in an editor. From my quick investigation, I believe this is because bacon simply parses the direct output of
check
andclippy
, but do correct me if I'm wrong.However, both tools can provide much more information with their JSON message formats as described here. As far as I can tell,
json-diagnostic-rendered-ansi
provides the best of both worlds by providing detailed information along with fully rendered messages.I don't know what the scope of such a change would be, so it's possible this is impractical. However, while it may seem a little roundabout, I've found using bacon in this way very refreshing and more reliable than rust-analyzer for my larger projects. It would be amazing if we could get accurate spans to boot!
The text was updated successfully, but these errors were encountered: