Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Learn and prototype with GNOME technologies 🛠️

License

ssssam/Workbench

 
 

Repository files navigation

Workbench

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 formatter
  • console logs
  • library of examples

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
{

}
Turn a prototype made in Workbench into an application

Use GNOME Builder to start a new project using the JavaScript GNOME Application template and copy paste your Workbench code.

Translation

If you'd like to help translating Workbench into your language, please head over to Weblate.

Translation status

Thank you for your help!

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

Learn and prototype with GNOME technologies 🛠️

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.4%
  • Other 0.6%