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

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.


Sign in to participate in the conversation

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