Workbenchdev Workbench Versions Save

Code playground for GNOME 🛠️

v45.0

7 months ago

Workbench 45 is out and available on Flathub.

GNOME 45

It uses GNOME 45 which means you can test all the new things for developers right now in Workbench. Many of them even have Library demos already like the new Libadwaita widgets or libspelling. If you see something missing, feel free to file an issue.

Rust

Rust support was added and will be maintained by Julian Hofer. Many Library demos have already been ported by Rust enthusiasts. We will look into adding support for Rust analyzer in the future.

Multi windows and on-disk projects

Multiple windows can be opened. This was the most requested feature as you would often need to look at Library examples in parallel. Each window is saved as a session and saved/restored on Quit/Start. If you attempt to close a window, Workbench will offer to save it as a project which you can re-open later.

Documentation viewer

An offline documentation viewer was added, you can find it in the menu under "Manuals". It lets users browse and search the GNOME 45 documentation (gi-docgen docs only). This was added by former GSoC student Akshay Warrier. We will look into extracting it as a standalone app and support more formats in the future.

46 new Library demos

This release adds 46 new Library demos! You will now find more than 100 entries in Workbench Library. New entries include, Map (with libshumate), Accessibility, Drop zone, Breakpoints, new Libadwaita widgets, GLib monitors (file, session, network, power and memory), Source View (with GTKSourceView), Screencast/Camera (with libportal and gst-plugin-gtk4), Spell Checker (with libspelling). All GTK and Libadwaita widgets should now be present, fee free to open an issue if you find something missing. Many thanks to interns Akshay Warrier (GSoC), Sriyansh Shivam (GSoC), José Hunter (Outreachy), co-mentor Andy Holmes and all contributors! (See Workbench Credits in About dialog). In the future we will work on improving the Library search.

Blueprint

Blueprint is now the default UI syntax. It provides a better experience to introduce newcomers to the platform and proved to be much easier to work with. XML remains available as well as converting between syntaxes.

workbench.resolve API

A workbench.resolve API was added to create a file path relative to the current project folder. You can drop files in your project folder and use this API in JavaScript, Rust or Vala to load or display the file. We will look into making this more discoverable in the future.

Vala

It's now possible to run Vala code without UI code. Several Library entries have been ported by Vala enthusiast too.

CSS

Thanks to JCWasmx86 and his GTKCssLanguageServer we now have better and more useful Style/CSS linting.


Thanks to everybody who contributed to this release!