Rider
The goome plugin
jetbrains-goome works in Rider, CLion, IntelliJ IDEA and PyCharm, 2024.3 or newer. Its on the JetBrains Marketplace as goome (io.github.goomeui.goome): Settings > Plugins > Marketplace, search goome, Install.
Or install it from disk: grab jetbrains-goome-x.y.z.zip from the releases, dont unzip it, then Settings > Plugins > gear > Install Plugin from Disk and restart.
The tool window 0.5. The goome icon on the left stripe, right by Project. It has:
- quick actions: New Project, Open UI builder, Search docs, Open docs
- every
.goome.jsonand.goome-theme.jsonin the project, click one to open it with the preview - the templates for each language, click one and New Project opens with it picked
- a snippet cheat sheet that drops the snippet into the file youre in
The rest:
- Live templates - type
goomeand pick one. In Rider theyre C# and C++ and ship as a ReSharper settings layer, so they show up in the goome category by themselves - goome: New Project - in Tools > goome or on the welcome screen, runs goome new
- Preview - a
.goome.jsonopens with the text on the left and a live preview on the right, with buttons that copy the C, C#, Python or Java - goome: Search Docs - in Tools > goome, a searchable list of every goome function. In Rider the C quick docs stay with ReSharper, use this instead
- Schemas - check
.goome.jsonand.goome-theme.jsonwhile you type
The preview needs JCEF, which every JetBrains IDE has unless you turned it off. Settings are in Settings > Tools > goome.
The plugin only needs the base platform, so it should load in RustRover, GoLand and WebStorm too, just without templates for those languages. Nobody tried that yet.
C# in Rider
Rider can open CMake projects but for C just use CLion.
Open csharp-goome
- Build the native lib once:
./build.shin the csharp-goome folder (Git Bash with mingw gcc on Windows, or./build.sh winfrom Linux). - File > Open,
csharp-goome.sln. - Hello, Grab and UiDemo run configs are already there.
Your own project
- File > New Solution, Console, .NET 8 or newer.
- Add goome:
- right click the project, Manage NuGet Packages, search GoomeSharp on nuget.org and install it
- or from a csharp-goome clone, right click the solution, Add > Existing Project,
src/GoomeSharp/GoomeSharp.csproj, then reference it from your app
- Paste the overlay from Getting started in C# into
Program.csand run.
Add GOOME_BACKEND=test and GOOME_TEST_SHOTS=shots/ to the run config’s environment to get every frame as a .ppm in shots/ without touching your screen (Testing without a screen).
Debugging
Rider only debugs the managed side. For the C side build the native lib with CC="gcc -g" ./build.sh and attach gdb or lldb next to Rider.
If something breaks
DllNotFoundException is almost always the native lib never getting built. It gets copied from runtimes/<rid>/native/ on build, so run build.sh then rebuild. GOOME_NATIVE points it at another folder.
On a Mac its Rider that macOS asks about for grabs and hotkeys (details).