Skip to content

Passenger 0.3.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 05:49
· 1843 commits to main since this release

Passenger 0.3.0 is an IDE for Godot 4 games in C# and GDScript: it runs, debugs and Hot Reloads a game, profiles its C# and GDScript in one call tree, checks its C# against its scenes, reads its GDScript and shaders as Godot does, shows the running game's tree and values beside your code, and lets your coding agent play it. Blazor's WebAssembly components now debug in the browser, Avalonia and WPF apps take XAML Hot Reload, Aspire's window charts each resource's metrics, and Publish ships container images. Tools like these are usually found in paid IDEs or add-ons; in Passenger they are part of the IDE. It is still free and open source under MIT, and everything this release closed is in its 0.3.0 milestone.

Godot 4: run, debug and Hot Reload

  • Run, debug, profile and Hot Reload a Godot game, in C# or in GDScript alone (#1065, #1086, #1105, #1125), with the Godot found and its version in Settings › Godot (#1087).
  • Debug C# and GDScript at once (#1069): a breakpoint in either language stops the game, and a script you save reloads in it (#1188, #1179).
  • Run Current Scene plays the scene open in the editor (#1272), and Run Another Copy plays up to 16 copies for multiplayer, debugged as one group that one Stop ends (#1117).
  • The game in a pane beside its code, on Windows, macOS and Linux under X11 (#1127): it takes the keys when you click it, and Ctrl+F11 takes them back.
  • Godot's types read as you think of them in Variables and the hover, Vector3, Transform2D and Color among them (#1110), and Mute Game Audio silences a debugged game (#1119).
  • New Solution and New Project make a Godot 4 game, C# or GDScript, ready to run (#1113, #1140), and Publish exports it through its export presets (#1112).
  • project.godot opens as a page of its main scene, autoloads, input map, export presets and plugins (#1132), and a project's launch profiles run as Passenger's own configurations do, Chickensoft's %GODOT% ones too (#1176).
  • F1 opens Godot's documentation at the class or member (#1118), C# script templates fit Godot's Attach Script dialog (#1194), and Ogg and MP3 files play from their preview (#1155).
  • Games stop and print as they should: a stopped game shows as stopped beside another running (#1106, #1206), Windows' external console shows what a game prints (#1138), and an error raised every frame stays one counted entry (#1135, #1241).

Godot 4: your scenes, read with your code

  • C# checked against its scenes (#1067): GetNode<T> paths and types, res:// paths and [Export] values complete and are checked, and a rename reaches the scenes.
  • Signals and their handlers lead to each other (#1068, #1100), and a connection to a missing method, an EmitSignal or a uid:// path that names nothing is marked (#1101).
  • Every string Godot takes completes, is checked and renames: input actions, groups, animations, autoloads, shader parameters, translations, layers and theme items (#1108, #1136, #1215).
  • An open scene is marked where Godot would not load it, with fixes (#1104, #1131), in a game of GDScript alone and on Windows too (#1165, #1214, #1220).
  • Scenes beside the code: a script shows the scenes it runs in (#1130), and a scene's tree is its outline in Structure, where its nodes' properties are edited (#1114, #1202, #1240).
  • C# and GDScript lead to each other: calls, connections, usages and renames across both (#1115, #1166, #1169, #1237, #1273).
  • A rename reaches what Godot's own editor reaches: animation tracks, paths in built-in resources and a shader's #include follow a node or a file, and a rename says what it had to leave (#1317, #1331).
  • What your Godot editor holds unsaved is safe: Passenger asks before it writes over it (#1190, #1224, #1270).
  • Large projects stay fast: a key in a scene or script costs what it changed, not the project's size (#1199).

Godot 4: GDScript and shaders

  • GDScript read as Godot reads it (#1196, #1228, #1245): Passenger's port of Godot's parser and analyzer gives Godot's warnings and errors with their fixes, and answers completion, the hover, Find Usages, Rename and the outline, mostly without starting Godot.
  • GDScript marks only what Godot would: no false extends Node where no Godot is installed, no wrong argument count past a rest parameter, and marks in Godot's order (#1266, #1211, #1277).
  • Reformat Code follows Godot's style guide, and Order Script's Parts puts a script in its order (#1197, #1230).
  • Refactorings that reach every caller: Rename, Change Signature and Move, through scenes' connections, resources, NodePaths and C# strings, each keeping what your game does or refusing and saying why (#1198, #1286, #1289).
  • Several Godot projects in one folder, each with a GDScript server of its own, so Go to Declaration and usages answer from the right one (#1291).
  • Shaders checked as Godot's compiler checks them, every error and warning at once with no Godot running, and their built-ins completed and explained on hover (#1182, #1256, #1205).
  • Your project stays as you left it: the headless Godot behind GDScript's language server never changes it, nor undoes what your own Godot writes (#1180, #1187, #1269).

Godot 4: the running game

  • The running game's scene tree, values, errors and monitors in the Live Visual Tree, following each game as it changes (#1066, #1090).
  • Tune values while it plays, with a swatch, a slider or a vector's parts, and Keep writes one back into its scene (#1126, #1102).
  • Click in the game to select a node, and pause the game or step it a frame (#1111, #1231).
  • Members' values show in your code as the game plays, read without running its getters (#1129, #1291), the game's errors stay pinned to their lines after the run (#1128), and frame time and your own monitors are charted live (#1116).
  • One profile, both languages: GDScript's functions and Godot's frame times beside the C# in one call tree, a slow frame opening on what it spent, and memory snapshots of the game (#1096, #1201).
  • GdUnit4, GUT and GoDotTest tests are found, run and debugged in the Unit Tests window (#1109, #1146, #1177, #1209).

Godot 4: with Godot's editor

  • Passenger as Godot's script editor in one step: Tools › Make Passenger Godot's Script Editor… has Godot open each script in your Passenger window at its line (#1095), and Open in Godot Editor goes the other way, to the scene and node at hand (#1133).
  • Passenger's addon for Godot's editor, from Tools › Install Passenger's Godot Addon…: a game Godot's Play starts is debugged in Passenger (#1189, #1216), Passenger plays and stops the game in your editor and reloads its scripts after a build (#1193), and completion takes what the editor knows (#1192).

Your coding agent

  • Agents play and debug a Godot game as they do an Avalonia app: its tree, its values, clicks and keys, a breakpoint's stop, and every copy running (#1070, #1159, #1181, #1160, #1162, #1178, #1223).
  • Agents see a game's frames, and run your desktop apps, with no window on your screen: on macOS, on Windows, and on Linux where Xvfb is installed (#1203, #1158, #1260).
  • Agents change scenes in your Godot editor with one new tool, godot_editor, each change one step of Godot's Undo (#1191, #1229, #1232).
  • More of the IDE reaches agents: GDScript's fixes and warning codes (#1239, #1213), Aspire's metrics (#1235) and a project's framework choice (#1097); diagnostics of an unchanged file answer in about 0.1 s (#1238), and output reads the debugged program's when no console is named (#1088).

Blazor and WebAssembly

  • Blazor's WebAssembly components debug in the browser, beside the server's code, under Aspire and in containers too (#586, #1144); a browser that can't start says why (#1149, #1204).
  • Hot Reload keeps the page up: a component's edit shows at once and a saved stylesheet applies in place, a Razor class library's too (#585, #1145, #1122, #1098).
  • CSS classes complete from every stylesheet a page uses: CDN links, packages, the isolation bundle, wwwroot and <style> blocks (#591, #1184, #1226).
  • Razor closes a start tag on > however fast you type (#1092, #1185, #1227), and Go to Declaration follows a JS interop call to its JavaScript (#585).

Aspire, containers and publish

  • The Aspire window charts each resource's metrics, shows its references and waits, and draws the AppHost as a graph (#587, #1081, #1235).
  • Publish ships container images and AppHosts: the SDK's image with several tags and platforms, pushed to your registry, and an AppHost through its own deploy steps (#588, #1236).
  • Container images' known vulnerabilities in the Containers window and at a Dockerfile's FROM, through your own Docker Scout, only when asked (#590).
  • A plain project run collects its logs and traces, as a container run does (#426, #1221).
  • An app's OpenAPI document becomes requests in the Endpoints window, each response checked against it (#425, #1225, #1274).

XAML for Avalonia and WPF

  • The XAML workspace: a XAML file beside its preview and the running app's tree, one selection across the three (#224). Turn it on in Settings › Editor › Open XAML files in the XAML workspace.
  • XAML Hot Reload for Avalonia and WPF, under Run with Hot Reload, Debug, dotnet watch and Aspire (#225, #1186).
  • Rename across C# and XAML, either way, [ObservableProperty] fields included (#221, #1091, #1134).
  • Typing a start tag's > writes its end tag in XAML, XML, project files and HTML (#222).
  • One framework choice for a multi-targeted project, which the preview, completion and checks follow (#1063, #1097), and the inspector no longer stops an app whose socket path is too long (#1234).

Debugging

  • Step Out of an async method shows the value it returned (#227), and an evaluation stuck on a thread it holds runs again with every thread let go (#601, #1089).
  • A breakpoint says its state in the gutter's hover and in Problems, and why it didn't bind (#1093).
  • A stop on an exception always names it, its stack trace read without running code in your program (#1107, #1123), and dictionaries and an assembly's [DebuggerDisplay] read as they should (#1139).
  • Hot Reload runs a program's update handlers under Attach, Aspire and debugged test hosts (#1099, #1122), and memory snapshots reach macOS's hardened-runtime apps (#1103).

Also new

  • IntelliJ IDEA's keymap (#1064, #1085), and mouse shortcuts: Add Mouse Shortcut, a Show Usages popup, and Quick Evaluate Expression on Alt-click (#612).
  • Commit signing with SSH, GPG or X.509, its passphrase asked in Passenger (#241, #1175), and each commit's signature in the Log (#1082); Git left waiting on a passphrase as Passenger closes leaves no index.lock (#1174).
  • Fonts: the editor's and the terminal's chosen in Settings (#229, #520), and the window's words drawn sharp at 100% on Windows and Linux (#1217, #1222).
  • Closing a tab takes you back to the one you were on, its caret where you left it, so closing a file Go to Declaration opened returns you to where you came from; Close Other Tabs leaves you on the tab you chose it from (#1280). Thanks to AztiIluna for the report.
  • Find in Files lists each line once (#232), diffs open as editor tabs that Find searches (#536, #1210), and a build's message about a whole file links to it.
  • Previews and tables: images zoom, SVG and HTML files preview (an HTML page keeping your place as you type, with its stylesheets and images from the open folder, an SVG with the images it names), a .resx and its XLIFF open as tables, and tables sort (#598, #1071, #1072, #1078, #1073, #1077).
  • The Explorer filters its tree, opens a file on a single click if you choose, and finds the file open (#1074, #452, #713); Problems filters (#1076), Markdown's headings are its outline (#1075), hidden tabs are listed (#1079), and indentation converts between spaces and tabs (#1080).
  • Popups stay inside the window, and the status bar reads whole at any size (#1141, #1142, #1265, #1147, #1154).
  • A project C# doesn't load counts as soon as it's built: a solution filter's left-out project ends its "type could not be found" errors at its first build, with no restart, and Unload Project takes it out of C# (#1319).
  • Files a build writes in a burst reach the C# server and the Explorer whole, even where the system's watcher overflows (#1268).
  • Run or debug straight from the command line: Passenger given a folder and --run [NAME], or --debug, opens it and runs or debugs one of its run configurations as Run and Debug do; a name the folder doesn't have ends Passenger at once, listing the ones it has. One that can't start says why, in the log and on standard error.
  • Call Hierarchy and Type Hierarchy work inside source-generated files, and a partial method's two halves show the same callers and callees (#1343).
  • Go to Declaration reaches a type's source-generated parts: on your own part of a partial type it offers what a generator made, and a use of a type with one part of yours still goes straight to it (#1348).
  • Tool windows lay out properly in a side dock: Unit Tests, Problems, NuGet, Git, Debug, Aspire and Containers wrap their toolbars, and two-pane windows stack (#1338).
  • NUnit 5 and xUnit v3 4.0 run and debug in the Unit Tests window, and every NUnit case shows however it's named, on VSTest and on NUnit's own runner, where a project's run settings now apply too (#1337, #1347, #1349).
  • Test results are kept across restarts (#228), and a file in NuGet's package folder opens read-only (#1183).
  • Without a .NET SDK, Passenger says what's missing and installs one in a step, asked first (#1120, #1137, #1271); its own helpers run on the .NET it carries, so any SDK, or none, works for them (#1121), and a global.json's SDK that can't build a project is named (#1212).
  • Linux installs update themselves, as on macOS and Windows (#600, #1219).

Faster and leaner

  • A large C# file scrolls without dropping a frame: through 50,000 lines and thousands of warnings a frame takes 2.1 ms, as a small file's does, where it took 11 (#1151, #1157, #1161, #1164).
  • Less memory: on Passenger's own solution, Roslyn's server about 2.0 GB where it held 2.4, and the project host 231 MB where it held up to 478 (#1153, #1246).
  • A folder's tests list at once when it opens again: Passenger's own 3,415 in under a quarter of a second, from the last opening's cache (#1253).
  • The rest of the sweep (#1152): a large C# file opens without holding up the window (#1252), a large diff shows change by change (#1251), the first Find Usages with XAML answers sooner (#1242), and TextMate colouring is faster (#1124).

Worth knowing

  • GDScript works with any Godot 4; C# needs Godot's .NET build. The Game window takes Godot 4.4 or newer (4.5 or newer on macOS), and under Wayland it needs XWayland.
  • On Godot 4.8's betas, GdUnit4's tests that need the engine don't run yet, since GdUnit4's runner doesn't build there; each such test's details say why. They run on Godot 4.7.
  • Passenger's command on Linux is now passenger-ide (#1083), so it never meets Phusion Passenger's passenger; an install's old link moves to it, and install.sh names a font package your distribution lacks.
  • A .gdshaderinc is checked on its own, as Godot's shader editor checks one.
  • Debugging Blazor's WebAssembly takes Chrome, Edge, Chromium or Brave, which Passenger starts on a profile of its own.
  • Each release is now tried on a standing set of real Godot projects, C# and GDScript, and 0.3.0 fixes every finding (#1170, #1195).

Thank you

To Konstantinos Zagoris for the terminal's preferences (#520) and Publish's folder link (#1148), and to Sébastien Ros for Tint 0.2.3 (#1124). And to sid-6581, who reviewed this release file by file before it shipped: 130 findings, each one checked, and this release is better for it (#1264). And to Stuart Turner for the reports that made tool windows work in a side dock and hierarchy work in generated code (#1338, #1343).