GNOME-Builder plugins
July 23, 2023 ยท View on GitHub
These are all plugins I use(d). They are only compatible with GNOME-Builder Nightly. Maybe they work with older versions, but this is not guaranteed.
Install
For configuring you can use the configure.py script, too.
Without docker
# If you have Fedora 37
sudo dnf install git vala meson gcc libgee-devel json-glib-devel gtk4-devel gtksourceview5-devel libadwaita-devel libpeas-devel template-glib-devel g++ libsoup3-devel
# or if you have Ubuntu 22.10 (Tested: That it compiles)
sudo apt install git valac meson gcc libgee-0.8-dev libjson-glib-dev libgtk-4-dev libgtksourceview-5-dev libadwaita-1-dev libpeas-dev libtemplate-glib-1.0-dev g++ libsoup-3.0-dev zip
git clone https://github.com/JCWasmx86/GNOME-Builder-Plugins
cd GNOME-Builder-Plugins
meson build
cd build
ninja install
Docker/Podman
DOCKER_BUILDKIT=1 podman build --file Dockerfile --output out --no-cache .
After that, a file called dist.zip will be in the out directory.
You can copy it to ~/.local/share/gnome-builder/plugins/ (Create it if it
does not exist) and unzip it there.
mkdir -p ~/.local/share/gnome-builder/plugins
cp out/dist.zip ~/.local/share/gnome-builder/plugins
cd ~/.local/share/gnome-builder/plugins
unzip dist.zip
Plugins
| Name | Description | Will attempt to upstream? |
|---|---|---|
| callhierarchy | Uses LSPs to get the call hierachy of a function/method | โ |
| clangd | (Copied from upstream, converted to Vala): Clangd integration | โ |
| gitgui | A small git integration | โ |
| hadolint | Integration for Hadolint, the Dockerfile linter | ๐ |
| gtkcsslanguageserver | Integration for gtkcsslanguageserver | โ |
| icon_installer | Allow installing icons easily in your project | |
| markdown | Indenter for Markdown | ๐ |
| meson | Integration for my meson language server | ๐ |
| scriptdir | Allows you to execute predefined scripts from ~/.local/share/gnome-builder/scripts for e.g. common tasks | |
| shfmt | Shfmt integration | โ |
| swift | Integration for the swift buildsystem | ๐ |
| swift-format | Integration for swift-formatter | ๐ |
| swift-templates | Extends the CreateProject-Dialog to add Swift-Support | โ |
| swift-lint | Integration for swift-lint | ๐ |
| texlab | LaTeX integration | โ |
| xmlfmt | Formatter for XML | ๐ |
- โ : Yes
- โ: No
- โ: Parts are planned
- ๐: Is upstream
- Empty: Time will tell
Changes to ide.vapi
HtmlGenerator.for_buffer: Remove public- Ide.BuildSystem:
get_build_flags_async: virtualget_build_flags_for_files_async: virtualget_project_version: virtualget_srcdir: virtualsupports_language: virtualsupports_toolchain: virtual
- Ide.WorkspaceAddin:
ref_action_group: virtualrestore_session: virtualrestore_session_item: virtualsave_session: virtual
- Ide.RunCommand:
set_argv: string array as argumentsset_argv:[CCode (array_length = false, array_null_terminated = true)]to the argument
- Ide.RunContext:
append_args: string array as argumentsappend_args:[CCode (array_length = false, array_null_terminated = true)]to the argument
Updating libraries
- Update vapis
- Update headers
- Test that it compiles and works