You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When working with F# projects (containing .fsproj files), Code Runner defaults to using fsi (F# Interactive) instead of properly building and running the project. This creates confusion, especially for new F# developers, because:
The "Run Code" button is prominently displayed but produces unexpected behavior
The correct solution (F5/debug) is less discoverable
The current behavior ignores the project context, treating project files like standalone scripts
Describe the solution you'd like
Code Runner should:
Automatically detect when a file is part of an F# project (presence of .fsproj)
Default to dotnet run when a .fsproj is present
Use fsi only for standalone .fsx script files
Implement this detection in a cross-platform way within Code Runner itself
This would improve the out-of-box experience for F# developers and align with how Code Runner handles other compiled languages, removing the need for users to implement platform-specific workarounds in their settings.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When working with F# projects (containing .fsproj files), Code Runner defaults to using
fsi
(F# Interactive) instead of properly building and running the project. This creates confusion, especially for new F# developers, because:Describe the solution you'd like
Code Runner should:
dotnet run
when a .fsproj is presentfsi
only for standalone .fsx script filesThis would improve the out-of-box experience for F# developers and align with how Code Runner handles other compiled languages, removing the need for users to implement platform-specific workarounds in their settings.
The text was updated successfully, but these errors were encountered: