floss.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
For people who care about, support, and build Free, Libre, and Open Source Software (FLOSS).

Administered by:

Server stats:

686
active users

Sonny

Auto complete coming to Workbench 🛠️

Besides writing GTK faster than light, I want to use it to help newcomers discover and learn about widgets and properties.

Thanks @andyholmes for the help!

I could play with this all day

Now with documentation and automatically suggest proposals

@sonny @andyholmes
Maybe I can give Gnome app development another shot now. I also always struggle with the build system and exporting the things from Workbench.

@sonny @andyholmes Damn this is cool! I'm playing around with some early Multiplex V2 layouts and Workbench has been making it basically as pleasant as doing it on the web, but having language server support like this will be an incredible improvement!

@sonny That's awesome! Experimenting with Gtk4/Libadwaita has become so much more enjoyable using Workbench!

@sonny as a gtk newcomer, this is gonna be insanely handy! 😄

@sonny Is this already in main? Or how do I try it out?

@rolandlo not quite, I'm also using a patched blueprint-compiler. I'll try to get it in gnome nightly soon and announce it on twig.

@sonny Ok, great! I'm planning to write an article on gnulinux.ch about it once it can be tested conveniently, spreading the message.

@rolandlo neat, please do wait for it to be released in stable

@sonny Sure! I'll just start playing around with it earlier than that.

@rolandlo it's available in Workbench nightly :)

Have fun, feedback very welcome!

@sonny
Generally speaking it works great and saves a lot of time. I noticed that Ctrl+Space works for getting a list of all suggestions without starting to type. Not sure this is generally known.

One issue:
When typing Adw.To I don't get
Adw.ToastOverlay in the list of suggestions. Only after I delete the o and T and type them again I get this suggestion.

One thing I was wondering: Could there be suggestions for Adwaita style classes gnome.pages.gitlab.gnome.org/l when using the styles keyword?

gnome.pages.gitlab.gnome.orgAdw: Style ClassesReference for Adw-1: Style Classes