Repository navigation
Passenger 0.4.0
Passenger 0.4.0 brings .NET MAUI and mobile apps into the IDE: Run, Debug and Hot Reload a .NET 11 app on an Android device or emulator, an iOS simulator or the Mac itself, under Passenger's own debugger, with MAUI's XAML previewed as you type and whatever a project still needs installed in a step. A screen reader now reads your code too: VoiceOver, Narrator, NVDA and JAWS read the editor and the terminal, and Orca on Linux reads the line the caret is on. Themes give the whole window a character, and Vim mode, Reqnroll and SpecFlow, build configurations and partial commits arrive. Opening a folder you don't know now asks before running its code. Much of this is usually found in paid IDEs or add-ons; in Passenger it is part of the IDE, still free and open source under MIT. Everything this release closed is in its 0.4.0 milestone.
Highlights
- .NET MAUI and mobile apps on a device, emulator or simulator (#1545, #1544, #1549, #1746, #1718): pick an Android device or emulator, an iOS simulator, or the Mac itself for Mac Catalyst beside the run configuration, and Run, Debug and Hot Reload work there as on the desktop, under Passenger's own debugger, with the app's log in the Run window and its controls in the Live Visual Tree. It works for MAUI, Avalonia and .NET for Android apps, and a MAUI app opened on Windows runs its Windows head from the same chooser.
- MAUI's XAML, with a live preview (#1547, #1590, #1548): completion, Go to Declaration, Find Usages and live checks, compiled bindings and .NET 11's C# expressions included, and a MAUI 11 page previews beside its XAML on Windows, macOS and Linux as a phone, tablet or desktop, light or dark. Avalonia previews at a phone's or tablet's size too.
- Mobile setup, said and done (#1546, #1566, #1772, #1774): a mobile project says what it still needs (a workload, the Android SDK, a JDK, a simulator runtime) and installs it, New Project lists the mobile templates, and a .NET 10 app gets every edit it needs for .NET 11 in one step you can undo.
- Screen readers read Passenger (#1845, #1846): the editor and the terminal read as a text field does, completion, Parameter Info, status messages and trees are heard too, and a pair of keys moves between the window's regions. Accessibility, below, has the details.
- Themes with character (#1342, #1852, #1576): a theme now sets the layout, fonts, shapes and a faint picture behind your code as well as its colours, as every theme in Passenger's themes repository now does, from Harbour's tide lines to Moss's ferns. Browse VS Code Themes brings in any colour theme on Open VSX.
- Vim mode (#1421, #1600): Vim's modes, motions, operators, text objects, registers, macros, search and ex commands in every editor, your mappings in a
vimrc, with completion, refactorings and multiple carets still working. - Reqnroll and SpecFlow, from feature to debugger (#1695, #1696): each step in a
.featurefile is matched to its definition with no build, with completion, Go to Declaration, Find Usages, Rename and Define Step, and a scenario runs or debugs from its line. - Build the configuration and platform you choose (#1447, #1593): pick Release, Staging or x64 beside the run configuration and every build, run, debug, profile and test takes it, the editor greying
#if DEBUGunder Release. - Completion shows sooner, best fit first (#1560, #1598, #1597, #1536): on a large solution its first rows show within 43 ms of a key, where they took up to 211, and what fits where you type comes first.
- Commit only the changes you tick (#1449, #1604): tick changes in a file's diff and only those are committed, and files a refactoring moves stay renames in Git's history.
New
- Arrange the window your way (#1341, #1344, #1345, #1346, #1531): any tool window can stand among your files as a tab, a place's windows can show titled tabs, editor tabs can run down a side, and a right click on a stripe chooses what it shows.
- Diffs beside your files (#1837, #1448): Show Diff, Compare With and the Git log open diffs as editor tabs, a branch's changes list in the Git window, and the Commit window's diffs share one tab.
- Cubicle, and a first start that asks (#1543): a calm, dense theme for long days, carried beside Passenger's own. A new install's first start shows both, then dark or light.
- NuGet says what's deprecated or vulnerable before it goes in (#1594, #1601, #1603, #1788): with the reason and the version to use instead, in the NuGet window, project files and completion, for every framework a project builds. The list sorts, filters and shows packages your projects get through others (#1526), and the solution's row manages them all (#1524).
- Run a Node package's scripts (#1587, #1790): every
package.jsonlists its scripts as run configurations, each run by the package's own manager: npm, pnpm, Yarn or Bun. - Shared projects (#1626, #1636, #1786, #1787): a
.shprojshows in the Solution view, its files open with an importing project's code help, and changes to them are written into its.projitems, one step of Undo each. - Reqnroll and SpecFlow: every step's result, and a Step Library (#1709, #1711, #1712, #1800, #1710, #1812): after a run each step shows how it went, a Step Library lists every definition, and an argument its definition can't take is marked as you type.
- Programs that draw for a terminal run in one (#1806, #1813, #1819): a Spectre.Console or Terminal.Gui app runs and debugs in Passenger's terminal, and one that needs a terminal says so and offers one.
- Reformat on save, and a final line break (#1781, #1797): two settings, off until you turn them on, and Settings shows what your
.editorconfigfiles set over each option (#1798). - Passenger for Intel Macs (#1461), signed and notarized beside the Apple Silicon image.
- A larger interface (#1409, #1555, #1580): Appearance's display scale draws everything larger on top of your system's scaling, and every window still fits its screen.
- Small things you'll use daily: the window opens where you left it (#1498); Find in Files' results can be kept in the Find window (#1367); a long drop-down narrows as you type (#1410); and recent solutions open from Windows' jump list, the Dock or the Linux desktop's recent files (#1586, #1625).
- Your branch at a glance (#1533): the status bar shows the commits to pull and push and the files changed, and a moved file says where it came from in every list of changes (#1612).
- Migrations in the environment you choose (#1839): pick Staging, Production or your own, and every migration action runs with its settings.
- Hot Reload follows your build (#1599, #1534): it builds the configuration you chose, refuses a program built as another, and tells your app's update handlers which types changed.
- Azure Functions under Aspire, debugged (#1541, #1595, #1596, #1573): an AppHost's Functions apps debug with it, a Functions project runs through
func, and the Solution view marks an AppHost with Aspire's icon. - Attach to Process by place (#1514): this machine, all containers or one, kept for next time.
- C#
.newpostfix (#1529, #1538):Type.newbecomesnew Type(), and a keyword taken from completion brings its space. - Tracepoints read the same in every debugger (#1724, #1730, #1659): one syntax in .NET, Blazor WebAssembly and GDScript, and a hit count counts only hits whose condition held.
- Agents work as you do (#1556, #1607, #1558, #1577, #1589, #1609):
vcs_commitcommits part of a file,nuget_installwarns of a bad version,diagnosticsanswers errors first, the code tools say why a project can't load, andrunanddebug_startwork on a device. Long answers say how to read on (#1821, #1825, #1829), andtests_runanswers a failed scenario step by step.
Fixed
- Completion and its popups (#1632, #1628, #1622, #1615, #1606, #1618, #1623): Escape lets go of a list still on its way, typing just after
.narrows it on a busy machine, it stays where you scrolled, and popups no longer run past a narrow editor's edge. - Nothing a command deletes is lost (#1795, #1796, #1811, #1815, #1818): a file a code fix, paste, revert or Rollback removes goes to the Trash and Undo brings it back, and a copy of files is one step of Undo.
- Git (#1591, #1785, #1585, #1614, #1619): an Explorer rename commits as a rename, a partial commit keeps what you staged, a deleted working tree no longer claims Git is missing, and on Windows a scanner glancing at a commit's files no longer fails it.
- The terminal (#1621, #1736, #1742, #1698): input methods type Chinese, Japanese and Korean, a program's last lines are never lost, and Linux's keypad 5 reaches programs as Begin.
- Text (#1854, #1551, #1579): Chinese on macOS is no longer 2% wider than macOS sets it, a skin-toned emoji draws in colour on Linux, and Passenger starts where fontconfig lists no font.
- Containers (#1563, #1565, #1567, #1569, #1570, #1571, #1564): a
.dcprojshows only its own files, runs under its project name and debugs a service a shared Dockerfile builds, Detach leaves containers running, and the browser waits for the app to answer. - Your .NET SDK is found (#1578, #1584, #1583, #1550): in your own
.dotnetfolder, through global.json'ssdk.paths, in the Terminal, and under Rosetta. - Android setup (#1608, #1617, #1609): a JDK installs on Linux, workloads install on a .NET with none set, and an app keeps its build's environment after an interrupted start.
- Builds take what you just wrote (#1735, #1741, #1745, #1789): a project file just saved or edited by an agent, and each project as the solution maps it.
- Stopping and debugging (#1731, #1803, #1732, #1739): Stop ends every step of a build, a program .NET's runtime gives up on ends saying why, a Blazor page reloads when the browser's network service restarts, and that browser no longer wakes Google's updater.
- Profiling (#1827, #1828, #1840): a crashed program keeps what was recorded, Profile can run in a Terminal tab, and a cut-short trace no longer stays locked on Windows.
- Godot (#1726, #1723, #1728, #1727, #1826, #1835, #1817, #1820): Godot's editor started from Passenger builds C# games on macOS, a new game targets your Godot's .NET, and a file moved, renamed or copied loads at once, its scenes and uids updated.
- Read-only text says so (#1733, #1740, #1747, #1748, #1729): on a decompiled file, a console or a preview, editing actions grey and typing says why.
- C# finds generated code (#1810, #1809): Go to Symbol finds what source generators declare, and configuration-key warnings come before the projects load.
- Updates and starts (#1581, #1568, #1602, #1613): every window says a release is out, a Mac update opens with your home on an external drive, macOS's Passenger menu is Passenger's own, and a failed start is said next time.
- Changes kept and seen (#1706, #1717, #1633, #1627, #1777): changes macOS's watcher dropped are found, a Windows save no longer waits or is lost while another program reads the file, and Local History keeps every change an agent records.
- Lists and keys (#1802, #1782, #1562, #1575): Enter does what a double click does in every list, a folder's arrow only opens it, a stray Enter can't answer the File Cache Conflict question, and a Markdown preview scrolls where you take it.
- And more: an agent's
primarykey is Cmd on a Mac (#1856), a folder with a comma in its name builds (#1794), times and sizes read alike in every language (#1665), an unreadable image says why (#1775), and New Project offers a service's set-ups only to a service (#1714).
Security
0.3.4 and earlier are affected by five advisories that this release fixes.
- A folder's code runs only once you trust it (GHSA-xjmh-rgxw-cm3x, GHSA-7v8w-74wp-p6h8, #1823): Passenger asks the first time you open a folder, and until you trust it you read and edit its files while none of its code runs: no build, restore, analyzer or test, and none of the programs its Git configuration names. Trust Folder starts it all without a restart, and Settings › Trusted Folders lists your answers.
- An agent stays in your open folder and asks before each change (GHSA-f388-mrvw-xp5v, #1841): Allow Once or Allow for This Session, the question showing each argument whole.
- Smaller fixes (GHSA-5mh4-xw42-9p6q, GHSA-57mq-vwcv-q6cq, #1834, #1832): a crafted
.editorconfigor route pattern can't freeze the window, a path in a program's output never reaches another machine, a file another user put in a folder above yours is passed over, agents' answers mask secrets, your state folder and Local History are yours alone, and JSON and YAML schemas are read only from this machine's disks (YAML's server now needs Node.js 22.15 or later). - A security release says so (#1822): from now on the update notice names one, says what it fixes and offers to restart into it.
Accessibility
- Your code and the terminal, read aloud (#1845, #1846): VoiceOver on the Mac, and Narrator, NVDA or JAWS on Windows, read them by character, word and line, following the caret and selection and echoing what you type and delete. On Linux, Orca reads the line the caret is on.
- What Passenger tells you is heard (#1842): status messages, failures, a long operation's stages and end, and a notification or an agent's question, each once.
- Code popups speak (#1847): completion's choice as you move through it ("item 3 of 40"), Parameter Info's current parameter, a card opened by its key, and the fixes list.
- Move round the window by keyboard (#1848): Next Region and Previous Region (Ctrl+Alt+` on Windows and Linux, Ctrl+Cmd+` on the Mac, with Shift to go back) move between the toolbar, tool windows, editor and status bar, and every tree tells each row's level, place and state.
- Easier to see (#1843, #1853, #1844): every colour of Passenger's own themes meets WCAG 2.2 AA, and the chosen row, open tab and open tool window carry a mark at 3:1. Carets and motion follow your system's settings on macOS, Windows and GNOME, and Settings adds Caret width and how long a shortcut's first key waits.
Lighter as you work
- Configuration checks read only the file you type in (#1610, #1620): on a large solution each pause cost the C# server 3 to 33 s and now costs 23 to 160 ms, and
appsettings.jsoncompletion takes 40 ms where it took up to 14 s. - Completion's popup lays out only the rows a key changed (#1622).
- Solution-wide analysis does less (#1559, #1475): installing a workload or SDK costs it nothing, and it drops work on a solution that has moved on, from 115 s of CPU to 71 on a 32-project solution.
- A refactoring that moves 1,200 files tells Git in one go (#1604), where it ran git 2,400 times.
- A key in a long soft-wrapped file redraws less (#1439).
Thank you
To Jonathan Allen for Reqnroll and SpecFlow support (#1696) and a careful security review of this release, whose findings it fixes; Rommel Meza for Vim mode's first cut (#1469); MrTanXin for committing a file's chosen changes (#1456); OdedDvir for the display scale (#1496); Kusanagi Nene for the .new postfix, the space after a declaration keyword and Hot Reload's changed types (#1529, #1538, #1534) and the ask that ranks completion by fit (#1536); craxo for the AppHost's icon (#1573); sid-6581 for a review of this release with a reproduction for each finding (#1785–#1790); and Rodrigo Casanova for finding and fixing renames that wouldn't commit (#1591, #1592).
To Stuart Turner, whose reports started this release's themes and docking (#1341, #1342, #1344, #1345, #1346, #1367); Damian Romanowski for eleven on containers, NuGet, Git and attaching (#1514, #1524, #1526, #1533, #1563, #1564, #1565, #1567, #1569, #1570, #1571); and Tanel T for build configurations and partial commits (#1447, #1448, #1449).
And to Poika Pilvimaa, Dimas Febriyanto, Maarten Merken, John Tsombakos, Christian Kütbach, Samuel Eseigbe, Jose Candido Rosa Silveira, Andrew, Konstantinos Zagoris, Alexey Shirshov, Brandon G, MuZzzlen and huangrenyan, whose reports made this release (#1409, #1410, #1461, #1541, #1568, #1579, #1586, #1587, #1626, #1498, #1531, #1575, #1602, #1621, #1782).