Skip to content

A sandbox to learn and prototype with GNOME technologies 🛠️

License

Notifications You must be signed in to change notification settings

lw64/Workbench

 
 

Repository files navigation

Workbench

A sandbox to learn and prototype with GNOME technologies

Download on Flathub

Workbench goal is to let you experiment with GNOME technologies, no matter if tinkering for the first time or building and testing a custom GTK widget.

Among other things, Workbench comes with

  • realtime GTK/CSS preview
  • JavaScript for quick and easy scripting
  • Syntax highlighting, undo/redo, autosave
  • code fomatter
  • terminal

Tips and tricks

Disable code formatting

Workbench uses the prettier code formatter. If you need to exclude some code you can use special comments.

JavaScript

// prettier-ignore
matrix(
  1, 0, 0,
  0, 1, 0,
  0, 0, 1
);

XML

<foo>
  <!-- prettier-ignore-start -->
    <this-content-will-not-be-formatted     />
  <!-- prettier-ignore-end -->
</foo>

CSS

/* prettier-ignore */
.my    ugly rule
{

}

Development

  1. Install GNOME Builder
  2. Open Builder and select "Clone Repository..."
  3. Clone https://github.com/sonnyp/Workbench.git
  4. Press the Run ▶ button

Packaging

Please do not attempt to package Workbench any other way than as a Flatpak application.

It is unsupported and may put users at risk.

Contributing

If you can help, here is a list of issues that would make Workbench better

Copyright

© 2022 Sonny Piers

License

GPLv3. Please see COPYING file.

About

A sandbox to learn and prototype with GNOME technologies 🛠️

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.4%
  • Meson 1.6%
  • Other 1.0%