Skip to content

Latest commit

 

History

History
86 lines (56 loc) · 2.03 KB

README.md

File metadata and controls

86 lines (56 loc) · 2.03 KB

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.