Workbench
Playground for GNOME development
Workbench aims to provide a great developer experience for the following use cases
- An application to learn GNOME development - learning by doing with an instant feedback loop
- A scratchpad for experienced developers who want to try or prototype something quickly
Workbench will never be a full fledged IDE or code editor. I see it as the little brother of GNOME Builder.
Features:
- Live GTK/CSS preview
- GNOME JavaScript for quick and easy scripting
- Syntax highlighting
- Opens
.js
,.css
and.ui
files - Auto format
- More to come
Workbench is a work in progress, feedback and help welcome.
Test
- Install GNOME Builder
- Open Builder and select "Clone Repository..."
- Clone
https://github.com/sonnyp/Workbench.git
- Press the Run
▶ button
Tips and tricks
Disable code formatting
Workbench uses the prettier code formatter. If you need to exclude some code you can use special comments.
// prettier-ignore
matrix(
1, 0, 0,
0, 1, 0,
0, 0, 1
);
<foo>
<!-- prettier-ignore-start -->
<this-content-will-not-be-formatted />
<!-- prettier-ignore-end -->
</foo>
/* prettier-ignore */
.my ugly rule
{
}
Development
Use GNOME Builder.
Copyright
© 2022 Sonny Piers
License
GPLv3. Please see COPYING file.