Follow

Workbench update; working on inline CSS errors coming straight from the parser.

Now that both Blueprint and CSS have inline errors, you can hide the Console when building user interfaces.

That was surprisingly easy. CssProvider expose parsing errors docs.gtk.org/gtk4/class.CssPro

I simply convert them to LSP diagnostics and re-use the logic I implemented to inline LSP diagnostics in GtkSourceView.

This approach works well with out-of-process preview too, as diagnostics are obviously serializable.

rocks

Sign in to participate in the conversation
FLOSS.social

For people who care about, support, or build Free, Libre, and Open Source Software (FLOSS).