fsharp icon indicating copy to clipboard operation
fsharp copied to clipboard

The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio

Results 768 fsharp issues
Sort by recently updated
recently updated
newest added

_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Enable-F-Code-Metrics-and-Analysis/10431327)._ --- Code metrics is an awesome feature for C# developers, but this does not work for the F# language....

Feature Request
Area-VS
Analyzers

_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/An-F-or-C-shebang-executable-should-us/10518290)._ --- I wrote [an F# shebang](https://github.com/daveyostcom/showperms/blob/main/showperms/showperms.fsx). It starts up slowly, of course. It would be good if .NET would...

Feature Request
Area-FSI

The internal scenario with a 30 assembly limit is no longer an issue. It defaults to on anyway.

Area-FSI
Triage-Investigate

2 issues with [IsUnionCaseTester](https://github.com/dotnet/fsharp/blob/c41720f08cb6fbb523bb9f052c92dd0f72540ef9/src/Compiler/Symbols/Symbols.fs#L1780): - Seems to be throwing an error, instead of returning `false` on non-matching values. - Seems to be missing a case where an union case tester...

Bug
Impact-Medium
Area-FCS

Please provide a succinct description of the issue. **Repro steps** ![FSharpCompletionBug](https://github.com/dotnet/fsharp/assets/19760720/184976e5-baeb-4870-8bae-4062fcd6d8e0) 1. Wait for intellisense to show a dropdown list 2. Press `'`, `;`, or `"` **Expected behavior** No completion...

Bug
Impact-Medium
Area-VS-Editor

For the VS-diagnostic endpoint (not sure about the regular LSP diagnostic endpoint), we can declare different diagnostic kinds, e.g. syntactic and semantic, and handle them separately. This way syntactic errors...

Feature Improvement
Area-LSP

Follow up: https://github.com/dotnet/fsharp/pull/17173 Records compiles down to a `class` or `struct` [sharplab](https://sharplab.io/#v2:DYLgZgzgNAJiDUAfABAFwJ4AcCmyBK2AxgPYBOMyAvMgN7IAKpxmIyEqpAlgHYDmyAXwCwAKFHIA2gB4AyhwCuhVAD4AuuIw5kc0otQES5KrQZMWbDj34CgA). This PR enforces the new rules on `records`. ### Old rules - AttributeTargets.Class - AttributeTargets.Interface - AttributeTargets.Delegate -...

Also a note - we spend quite some time generating PDB in all scenarios, even though it will never be used. Around 1/3rd of total assembly generation time, for example...

Area-FSI
Feature Improvement

I collected a trace after about an hour of working in VisualFSharp.sln when memory was pretty high. I found that the [`isOpenStatementUsed` function](https://github.com/dotnet/fsharp/blob/master/src/fsharp/service/ServiceAnalysis.fs#L147) is pretty expensive relative to other things....

Feature Request
Theme-Performance
Area-LangService-UnusedOpens