Skip to content

Support #exit;; as alias to #quit;; in fsi#19329

Open
bbatsov wants to merge 2 commits intodotnet:mainfrom
bbatsov:support-exit-directive-in-fsi
Open

Support #exit;; as alias to #quit;; in fsi#19329
bbatsov wants to merge 2 commits intodotnet:mainfrom
bbatsov:support-exit-directive-in-fsi

Conversation

@bbatsov
Copy link
Contributor

@bbatsov bbatsov commented Feb 19, 2026

Users often type #exit;; out of habit from shells and .NET's exit(). This adds #exit as an alias alongside #q and #quit, and includes it in the #help output.

Fixes #18820

@github-actions
Copy link
Contributor

github-actions bot commented Feb 19, 2026

❗ Release notes required


✅ Found changes and release notes in following paths:

Change path Release notes path Description
src/Compiler docs/release-notes/.FSharp.Compiler.Service/10.0.300.md

@bbatsov
Copy link
Contributor Author

bbatsov commented Feb 19, 2026

I have to say I was amused to see that the comment for quit was // Exit. :-) Anyways, I'm reasonably sure I got this one right, but as always I'm looking forward to your feedback!

@github-project-automation github-project-automation bot moved this from New to In Progress in F# Compiler and Tooling Feb 19, 2026
@T-Gro
Copy link
Member

T-Gro commented Feb 19, 2026

I appreciate this addition - I frequently had to stop and remember how quit is spelled, exit is way easier 👍 .
There is DependencyManagerInteractiveTests also verifying help output - you can also decide to change that test's assertion to stop firing in any fsi help extension (since the test is about dependency manager).

@bbatsov
Copy link
Contributor Author

bbatsov commented Feb 19, 2026

Will do!

@bbatsov bbatsov force-pushed the support-exit-directive-in-fsi branch from 2e4a647 to 7b141ce Compare February 19, 2026 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

In fsi, support #exit;; as an alias to #quit;;

2 participants

Comments