One more demo of GTK autocomplete in Workbench
I'm very happy so far with the experience, checkout the video.
I love that the same feature can be used to discover widgets, properties and write UI faster.
There are still many improvements to be made, but I think it's close to a first release.
You can try it yourself in Workbench nightly https://blog.sonny.re/workbench-news
Feedback very welcome
Credits to @flyingpimonster for making this possible!
Hopefully new release just in time for "Learn GTK" workshop at Berlin GUADEC
Does it autocomplete on Enter? Please, no autocomplete on Enter
I mean when I'm trying to type a newline while the autocomplete popup is open. Does it do that?
@sonny @flyingpimonster this tool looks great! How would one then use the resulting blueprint as the frontend for an actual app?
@buonhobo@fosstodon.org @sonny@floss.social @flyingpimonster@fosstodon.org
(Assuming you already have an existing gtk project)
Depending on your distro blueprint-compiler
might be available to install, otherwise you can build it from source.
Then you run blueprint-compiler port
in the project folder and the tool will give you instructions. This will convert existing UI files to blueprint. Then you can copy paste your work from workbench to the new files.
Hope this helps :)
For more info: https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/setup.html
@loki @sonny @flyingpimonster sorry. I had missed this answer. Thank you! I will look into this!
@sonny @flyingpimonster Does it use LSP server, or some internal thing?
@partizan @flyingpimonster mostly the blueprint lsp server
@sonny @flyingpimonster wow this is nice. It only works on blueprint?
@mateuslnascimento @flyingpimonster it also works with CSS and we're looking at making it work with JS/TS