Repository navigation
Passenger 0.4.2
Passenger 0.4.2 opens the IDE to more people. Read as Text opens whatever is at hand as plain text a screen reader reads line by line, sound cues tell you when the caret reaches an error or a breakpoint and when a build passes or fails, a High Contrast theme takes over when your system asks for one, and nothing is told by colour alone any more: errors, changes and test results each have a shape, and a colour-blind safe palette is a setting away. Stage a single change, or only the lines you select, right from a diff; a navigation bar over every editor shows where you are and takes you anywhere in the file; C# completion and Parameter Info show types, kinds and every overload; and Passenger comes to the front when your program stops. Every window now looks and behaves one way, and dozens of fixes make the debugger, Vim mode, the terminal, Git and your agent's answers more dependable. It is still free and open source under MIT, and everything it closed is in its 0.4.2 milestone.
Highlights
- Read anything as plain text (#1850): Read as Text (Ctrl+Alt+R, Ctrl+Cmd+R on a Mac) opens what is at hand as text a screen reader reads line by line: the caret's problems and its card, the terminal's last command and its output, a diff's changes, a failed test, the problem chosen in Problems, or the last message.
- Sound cues (#1849): a short tone as the caret reaches a line with an error, a warning, a breakpoint, a fold or a change, and as a build or a test run passes or fails, the debugger stops, a command fails in the terminal or a save is refused. They play while a screen reader runs, or always, as Settings › Accessibility chooses, and each can be turned off there.
- High Contrast, and nothing by colour alone (#1851): a High Contrast theme, dark and light, every word at WCAG AAA's 7:1, takes over while Windows, macOS or GNOME asks for high contrast; errors, warnings, changes, a diff's lines and test results each have a shape as well as a colour; and a colour-blind safe palette is one setting away.
- Stage a change, or just the lines you pick (#1904, #1941): each change in a diff has its own + to stage it, and Ctrl+Alt+A (Cmd+Alt+A on a Mac) stages the change at the caret or only the lines selected. The Commit window then lists Staged and Unstaged and commits what you staged, in the index every other Git tool sees, and Undo takes a stage back.
- Passenger comes forward when your program stops (#2023): a breakpoint, an exception or a step's end brings the IDE in front of the app you're debugging, or bounces its Dock icon or flashes its taskbar button where the system keeps that app in front. Settings › Run › When the debugger stops chooses which.
- A navigation bar over every editor (#1969): it names the namespace, type and member the caret is in; click a part to list the file's types or a type's members, narrow the list as you type and go there. Markdown headings and JSON keys get one too, and Settings › Editor turns it off.
- C# completion and Parameter Info say more (#2034, #1902): each completion row shows a value's type or what a method returns, locals, parameters, named arguments and extension methods have badges of their own, a type's members filter by kind, and Parameter Info lists every overload, setting back those your arguments no longer fit and marking the parameter you're filling.
- One look, everywhere (#2045): every dialog, field, menu, list, tab, popup and button is made one way, so like things look and act alike in every window; the window's words are a step smaller, so less is cut off in narrow panes; and every key a tip names is written as your keymap and system write it.
Accessibility
- A shape beside every colour (#1851): an error is underlined with a wave, a warning with dashes and a suggestion with dots; added, changed and conflicted lines have marks of their own shape in the gutter and on the scrollbar; a diff signs its lines +, −, ≠ or !; a changed file shows its letter (M, A, D, R, U or !); and tests, Aspire's resources and the Containers window's services mark their state by shape.
- A colour-blind safe palette (#1851): Settings › Accessibility › Colours of states lays blue, orange, vermilion and purple over any theme, VS Code's included, so passed and failed tests, added and changed lines and conflicts stay apart to eyes without red or green cones.
- Everything for your eyes and ears on one page (#1849, #1851): Settings › Accessibility holds High Contrast, the colours of states and each sound cue.
- Every field and search box has a name (#2045, #2054): a screen reader hears each dialog's fields by their labels, the refactoring dialogs' too, every search box by its name, and NuGet's greyed Enabled box says what it is before why it's greyed.
- The terminal's last command, exactly (#1849, #1850): Read as Text takes it from where your shell marks its prompt, and a command failing there plays its cue.
- Replace All's count stays, and is heard (#2093): the find bar keeps saying "Replaced 1,234" until you change the search or the text, and a screen reader announces it.
- Lists open with the keys on their chosen row (#2074): Delete in the Breakpoints window removes breakpoints one after another, where it could delete code in the editor under it.
The editor and C#
- Step through overloads by key (#2034, #1902): Ctrl+Up and Ctrl+Down (Option+Up and Option+Down on a Mac) move through Parameter Info's overloads, and Alt with a filter's letter, Alt+M for methods, turns completion's filters on and off.
- Cards that read well (#2034, #1902): a long signature in a hover, completion or Parameter Info card takes a parameter a line in a card held to a readable width, completion's card lists every overload, and a card's code takes your theme's own colours.
- One badge for each kind, everywhere (#2034): Go to Symbol, File Structure, completion and New Item draw each kind's badge alike.
- The first item's documentation as a list opens (#1998, #2035): every completion list, C#'s, TypeScript's, CSS's, Gherkin's, a settings file's, Aspire's resource names and Godot shaders', shows its first item's card at once, and a settings file's keys have cards without Node.js.
- The find bar takes Find in Files' keys (#2045): Alt+C, Alt+O and Alt+X (Option on a Mac) turn Match case, Words and Regex on and off, each tip naming its key.
Git
- Group changes by folder (#1838, #1983): the Commit window's Group By › Directory lists changes under their folders, and a folder's box ticks every file under it.
- Roll back the change at the caret (#1941): Rollback Lines (Ctrl+Alt+Z, Cmd+Alt+Z on a Mac) works in any diff, of a file not open too, as one step of Undo, and each change's arrow says so in its tip.
- Go to Declaration in a diff (#1941): Ctrl+click (Cmd+click on a Mac) or F12 on your file's side of a diff goes where the editor would.
Running and debugging
- Debug stands out (#2023): its bug on the toolbar has a violet of its own, apart from Run's green.
- A question before starting a running configuration again (#2023): Run, Debug or Profile of what already runs asks Stop and Rerun, Stop or Cancel; Don't ask again, or Settings › Run, turns it off.
- Choose where a context's migrations go (#2047): Add Migration… has an Output folder, so each DbContext's migrations can live in a folder of their own (Migrations/Postgres, Migrations/SqlServer); Passenger remembers it for each context, and agents can pass it too.
The window
- See what each project is (#1572): the Solution view draws each project by what it builds, an Aspire AppHost, tests, a web API or web app, Blazor, .NET MAUI, Avalonia, WPF, Windows Forms, a console app, a class library, a Godot game, a shared project or Docker Compose, each with its own icon, named on hover, to a screen reader and to agents.
- Recent templates first (#2023): New Solution and New Project list the templates you used lately under Recent and open on the newest.
- Undo a delete (#2075): the Explorer's Delete is one step of Undo that brings back what you deleted from the Trash (the Recycle Bin on Windows), and Redo deletes it again.
- Empty windows say what fills them (#2045): Debug, Run, Build and Profile are a click away from their empty windows, and NuGet says when nothing is installed.
- Menus read one way (#2045): Go to Source is F4 in every list, a greyed item always says why under the pointer, and a menu's headings read as headings, not greyed commands.
- Numbers read one way (#1734, #2091): counts, times and percentages read 1,234.5 in every window and to agents, whatever your system's language, as sizes and durations already did.
Agents
- Agents stage too (#1904): vcs_commit's stage puts paths and lines into Git's index or takes them out, vcs_status says what is staged, and a commit can take just what is staged.
- Actions answer what they came to (#2066, #2071): ide_action answers once the work is done, from Commit Signing, Unstash, Save and Restart C# Language Server to Check for Updates, Profile, the Unit Tests actions and the refactoring dialogs, where it answered "Ran" before the work began.
- terminal_run waits for its command (#2071) and says when it's still running, editor_text reads on along a long line by column, and the instructions say exactly what a folder not trusted refuses.
- Close Solution is yours alone (#2076): an agent's Close Solution is refused as Quit is, with full access too.
Fixed
The debugger
- A step no longer runs your program to its end (#2018, #2019, #2029): stepping over or out of a method whose returned value can't be kept stops where it should, the returned row saying why, and a step or a breakpoint stops where its thread stands when something inside the debugger fails, the Debug Console saying why.
- Stepping off a click handler lets the app run on (#1899) where its window loop is managed code (Avalonia on Linux, a headless app), while a step off a ForEach or LINQ lambda still lands in its next call.
- An async program's unhandled exception stops where it was thrown (#2056), with that frame's locals, and a Release build of your own code steps as a Debug build does.
- Values the debugger couldn't show (#2055): ref, in and out struct parameters and a struct's
thisshow their values, a constructor given a lambda evaluates (new Lazy<int>(() => 1)), the call stack names in and out parameters as declared, and a call that returns nothing says "Ran, with no value". - Evaluations no longer stall (#2001, #2002, #2003, #2020, #1999): one needing a garbage collection, one made just as a thread starts (at an exception's stop too), a first lambda while the debugger loads its own code, and one on .NET 11 on Windows and Linux or on macOS behind the runtime's compiler each finish in their time.
- Detach and Run without Debugger go at once (#2077, #2079) just as an evaluation a Continue left finishes, and let the program go cleanly off its breakpoint.
- Apply Hot Reload Changes right as a service starts (#947) applies your edits, where it could fail saying the program's runtime had not loaded CoreLib yet.
The editor, C# and XAML
- The Find window follows your edits (#1964): a result shows its file as it is now, so a method commented out after the search reads as a comment, at its current line.
- A named argument keeps its colon (#2017) when chosen from C# completion with Enter or Tab, and an attribute's named argument keeps its = (#2035).
- A web address with parentheses is linked whole (#2052), a Wikipedia link among them, in comments, strings, the consoles and the terminal.
- Signatures show whole at every display scale (#2046), a Retina Mac's included, where Parameter Info and other cards cut some short after a type.
- Nothing covers the end of a long first line (#2037): the file's problem counts and its target framework now sit in the status bar.
- Popups stay inside the editor (#1969, #2089, #2054): cards, Parameter Info, completion and Rename never cover the navigation bar or the tabs, the colour picker fits under its line in a short editor, and a completion's card stands beside the list again in a narrow one.
- Generated C# is read whole (#2090): a large file generated from a .proto (gRPC, Protocol Buffers) is no longer left out of the C# language server as "nested too deeply", nor a big generated file with escapes in its interpolated strings, and a deeply nested
#ifno longer brings the server down. - An edit that skipped files you changed names them (#1664) in one plain sentence, the same in the window and to agents.
- A failed XAML compile can't pass for a good build (#2043): a build after one that failed in Avalonia's XAML compiler no longer says it succeeded; the status bar, the Build window and the preview say so and offer Rebuild Solution.
- Avalonia's preview waits until its previewer is ready (#2006), where it could stay blank, and a previewer that crashes names the exception that ended it.
- Turning the XAML workspace off keeps it off (#2030), where its properties came back under the preview.
- A BDD step whose definition takes the wrong number of parameters (#2101) is bound to it and marked with Reqnroll's count error, where it was said to be undefined.
Vim mode
- :m and :t move and copy lines (#2096), keeping their marks, and
.repeats an insert that pressed Enter (#2053). - Sentences, words and brackets as Vim's (#2096, #1751): ( and ), is and as with counts, in visual mode and under operators, word motions at the text's ends, bracket blocks and % passing over brackets in strings, and a visual is or as carried over a longer stretch.
- Registers, counts, marks and blocks as Vim's (#2096, #2053, #1751): register 1 for a delete over a search or a mark, a count given to
., marks that keep their column, block puts and changes, a file emptied with dd keeping its final line break, an ex range past the last line refused (E16), and gq} leaving the cursor where Vim does.
The terminal
- The terminal draws as xterm does (#2098): a scroll region past the screen's foot, DECALN, REP, line feed/new line mode, inserts and erases around wide characters and the alternate screen, and a cursor restored that was never saved no longer turns the text after it black on black.
- Return sends a carriage return and a line feed in new line mode (#2106), as ECMA-48 and the VT510 define it.
Git and Local History
- Show Diff with Working Tree lists new files (#2037) Git doesn't track yet, a file a branch lacks shows beside an empty side, and a read-only diff draws no empty arrow boxes.
- Line endings Git converts are no change (#2072): under core.autocrlf or a text attribute, a file whose line endings differ only as Git converts them no longer says its line separators changed, in a diff or to an agent.
- The Git log's branch lines run unbroken (#2062), and every row's author and date line up.
- Local History keeps what Git writes (#2062, #2108): a checkout, Update Project, a stash, a merge, a rebase or a reset, and Accept Yours, Accept Theirs and Rollback, each under its name with each file as it was, files you never opened included, on Windows too.
Running, containers and data
- One copy of a configuration runs (#2036): Run or Debug of what already runs, or is still building, stops it and starts it again whichever started it, and an agent's restart is answered with the new run.
- Consoles keep each line whole (#2048) when a program's output and errors write in the middle of each other.
- A container's own address opens (#2059, #2068):
http://0.0.0.0:8080orhttp://[::]:8080in a container's output opens where its port is published on your machine, and after a container run a local run's links point to its own files and to localhost. - Aspire waits for its resource service (#2077) as long as a slow machine needs, and a run that finds none says so; live metrics ask a runtime slow to start again rather than give up (#2094).
- No stray "The operation has timed out." error (#2104) after the Requests window, metrics or a NuGet credential provider stop.
- The data windows say what is so (#2064, #689): Add Migration… names its context and that context's folder however it's opened, Endpoints' Test says what its request came to, a .resx table counts its keys, XLIFF files are coloured, and the Migrations window's fix buttons no longer lose a click as it refreshes.
- NuGet marks a deprecated package every time (#1898, #2041), where a read ending at the wrong moment left it unmarked.
Godot and mobile
- Godot 4.8 beta 4 (#2038): members Godot types as a class minus some of its subclasses complete and hover as that class, and an agent's screenshot of a Godot game on macOS works wherever the temporary folder is.
- Godot's files in any letter case (#1681): shader includes and scripts are recognised however their extension is written, and a hand-written .sln missing an EndProject no longer hides the next project (#1678).
- The Live Visual Tree holds still (#2113): a Godot game's monitors line no longer pushes the tree and its properties down, and a click on a property's editor is no longer lost as values are read again.
- A Godot game's end is heard at once (#2104), where a wait for its loop ran out and said the game never ran it.
- An iOS app starts on a simulator something else is booting, where it failed "Unable to boot device in current state: Booted", and a build that made no app says so before any simulator boots.
The window and the Explorer
- Dialogs open whole at any display scale (#2069): at 150% Settings keeps its OK, Apply and Cancel, and at 200% About keeps its right half.
- Actions behave as they should (#2070): Edit Configurations opens with the keys on the chosen configuration so Tab goes into its form, Aspire's actions grey without an AppHost and say why, Find Action finds Quit Passenger on macOS, and Choose Build Configuration says when a folder isn't trusted yet.
- A paste can't trash its own folder (#2061): pasting or dragging Docs into the folder where Docs holds it is refused before any question, where it offered to replace that folder and sent it to the Trash; New File, New Folder and Rename take names with two dots in a row.
- Solutions reopen in the order you opened them, the newest in front, and the Explorer comes back to the Solution view once a solution that didn't read reads again.
- A relative PASSENGER_SETTINGS (#2058) names its folder from where Passenger started, and one that can't be made ends the start with a message instead of a crash.
Agents
- Agents are told the truth (#2057, #2063): debug_input to a program the debugger attached to is refused, saying where its input is read; debug_start of a container configuration answers the address its port is published at; an exception breakpoint that can never stop is answered inactive; vcs_commit takes a folder's path; Push waits for the push and says why it can't; and vcs_status names both paths of a renamed file.
- C# answers from your files as they stand (#2032), right after another program wrote, made, deleted or back-dated one.
- Folder-wide diagnostics wait for the projects (#2110): an agent's first diagnostics in a fresh folder no longer answer an empty list that reads as nothing wrong, find_symbol and solution-wide Optimize Imports and Code Cleanup wait for the language server's restore, and a server that can't start is said at once, with why.
- A web language server still starting is waited for (#2040) as long as Passenger's other waits, the agent told what it waits for.
Windows, macOS and Linux
- A folder you just saved a file in can be deleted, renamed or moved on Windows (#2015), where Passenger's own watcher could have it refused "Access denied".
- Linux follows a renamed folder's subfolders (#2067), and on Windows an update waits for a Passenger started from the install just as it closed.
- No runtime files left behind (#2092, #2097, #2109): a program Passenger ends, kills or attaches to, a PowerShell terminal, Aspire's dashboard, and Passenger itself crashing or killed no longer leave .NET's diagnostic sockets and debugger pipes in the temporary folder.
Lighter as you work
- Diagnostics stay fast however full the temporary folder (#2092): profiling, live metrics and requests, heap snapshots and Attach to Process reach a program by name, Attach listing in milliseconds, where each connection read the whole folder.
- A key near the top of a long file redraws only its row (#1917), where it drew every row below the caret again.
- The debugger takes hold at once on a busy Mac (#2031), where up to half of launches waited an extra half second.
Thank you
To Kusanagi Nene for the first completion item's documentation as a list opens and a named argument's colon (#1998, #2017); Daniel van der Linden for the Commit window's Group By › Directory (#1983); and Rommel Meza for Vim mode's visual is and as and its block puts (#1955, #2042).
And to craxo, Davide Caruso, Damian Romanowski, Gurpreet Singh Menntal, 小笨娇, jia_shi and James Carter, whose reports made this release (#1572, #1838, #2047, #1902, #1904, #1964, #1969, #2023, #2090).