> **Note** > This is a "meta" issue for tracking purposes since GitHub does not support special types of issues. Code fixes are code actions that react on diagnostics and can fix them. In VS, they are represented with a lightbulb and a small cross on it. We should make code fixes easy to create, test, and extend. Open bugs: - [ ] https://github.com/dotnet/fsharp/issues/11741 - [ ] https://github.com/dotnet/fsharp/issues/6702 - [ ] https://github.com/dotnet/fsharp/issues/5813 - [ ] https://github.com/dotnet/fsharp/issues/10521 - [ ] https://github.com/dotnet/fsharp/issues/15620 - [ ] https://github.com/dotnet/fsharp/issues/15911 - [ ] https://github.com/dotnet/fsharp/issues/16159 - [ ] https://github.com/dotnet/fsharp/issues/16155 - [ ] https://github.com/dotnet/fsharp/issues/16226 - [ ] https://github.com/dotnet/fsharp/issues/16227 Improvements for existing code fixes: - [ ] https://github.com/dotnet/fsharp/issues/8735 - [ ] https://github.com/dotnet/fsharp/issues/8514 - [x] https://github.com/dotnet/fsharp/issues/5737 - [ ] https://github.com/dotnet/fsharp/issues/15499 - [x] https://github.com/dotnet/fsharp/issues/15509 - [ ] https://github.com/dotnet/fsharp/issues/15914 Ideas for new code fixes: - [ ] https://github.com/dotnet/fsharp/issues/14541 - [ ] https://github.com/dotnet/fsharp/issues/13215 - [ ] https://github.com/dotnet/fsharp/issues/2834 - [ ] https://github.com/dotnet/fsharp/issues/2886 - [ ] https://github.com/dotnet/fsharp/issues/3748 - [ ] https://github.com/dotnet/fsharp/issues/2266 - [ ] https://github.com/dotnet/fsharp/issues/15414 - [ ] https://github.com/dotnet/fsharp/issues/15415 - [ ] https://github.com/dotnet/fsharp/issues/15417 - [ ] https://github.com/dotnet/fsharp/issues/3044 - [x] https://github.com/dotnet/fsharp/issues/2873 - [ ] https://github.com/dotnet/fsharp/issues/3043 - [x] https://github.com/dotnet/fsharp/issues/15421 - [ ] https://github.com/dotnet/fsharp/issues/15554 - [ ] https://github.com/dotnet/fsharp/issues/15674 - [ ] https://github.com/dotnet/fsharp/issues/15794 - [ ] https://github.com/dotnet/fsharp/issues/16234 - Inspiration from [FSAutoComplete](https://github.com/fsharp/FsAutoComplete/tree/5a94c0068418e14bf5ebf66e26b7c47b327f8b26/src/FsAutoComplete/CodeFixes) - Inspiration from [C#](https://github.com/dotnet/roslyn/tree/31615fa53423842f3e5702dad0e64fc6aa243f2e/src/Analyzers/CSharp/CodeFixes) Overall related machinery: - [x] https://github.com/dotnet/fsharp/issues/14288 - [x] https://github.com/dotnet/fsharp/issues/15059 - [x] https://github.com/dotnet/fsharp/issues/15043 - [x] https://github.com/dotnet/fsharp/issues/14457 - [ ] https://github.com/dotnet/fsharp/issues/15716 - [ ] https://github.com/dotnet/fsharp/issues/15764 Bug cemetery: - [x] https://github.com/dotnet/fsharp/issues/15397 - [x] https://github.com/dotnet/fsharp/issues/15372 - [x] https://github.com/dotnet/fsharp/issues/14444 - [x] https://github.com/dotnet/fsharp/issues/11892 - [x] https://github.com/dotnet/fsharp/issues/14967 - [x] https://github.com/dotnet/fsharp/issues/6227 - [x] https://github.com/dotnet/fsharp/issues/4223 - [x] https://github.com/dotnet/fsharp/issues/14066 - [x] https://github.com/dotnet/fsharp/issues/15397 - [x] https://github.com/dotnet/fsharp/issues/15372 - [x] https://github.com/dotnet/fsharp/issues/10533 - [x] https://github.com/dotnet/fsharp/issues/9757 - [x] https://github.com/dotnet/fsharp/issues/9167 - [x] https://github.com/dotnet/fsharp/issues/2473 - [x] https://github.com/dotnet/fsharp/issues/11194 - [x] https://github.com/dotnet/fsharp/issues/3347 - [x] https://github.com/dotnet/fsharp/issues/2329 - [x] https://github.com/dotnet/fsharp/issues/2912 - [x] https://github.com/dotnet/fsharp/issues/3714 - [x] https://github.com/dotnet/fsharp/issues/4046 - [x] https://github.com/dotnet/fsharp/issues/2165 - [x] https://github.com/dotnet/fsharp/issues/2207 - [x] https://github.com/dotnet/fsharp/issues/15500 - [x] https://github.com/dotnet/fsharp/issues/15506 - [x] https://github.com/dotnet/fsharp/issues/15547 - [x] https://github.com/dotnet/fsharp/issues/15624 - [x] https://github.com/dotnet/fsharp/issues/15411 - [x] https://github.com/dotnet/fsharp/issues/5419 - [x] https://github.com/dotnet/fsharp/issues/15623 - [x] https://github.com/dotnet/fsharp/issues/15685 - [x] https://github.com/dotnet/fsharp/issues/15743 - [x] https://github.com/dotnet/fsharp/issues/15795 - [x] https://github.com/dotnet/fsharp/issues/15798 - [x] https://github.com/dotnet/fsharp/issues/15810 - [x] https://github.com/dotnet/fsharp/issues/15811 - [x] https://github.com/dotnet/fsharp/issues/15552 - [x] https://github.com/dotnet/fsharp/issues/15553 - [x] https://github.com/dotnet/fsharp/issues/15920 - [x] https://github.com/dotnet/fsharp/issues/15931 - [x] https://github.com/dotnet/fsharp/issues/15932 - [x] https://github.com/dotnet/fsharp/issues/15993 - [x] https://github.com/dotnet/fsharp/issues/15890 - [x] https://github.com/dotnet/fsharp/issues/14456 - [x] https://github.com/dotnet/fsharp/issues/15887 - [x] https://github.com/dotnet/fsharp/issues/6381 - [x] https://github.com/dotnet/fsharp/issues/16356
Code fixes are code actions that react on diagnostics and can fix them. In VS, they are represented with a lightbulb and a small cross on it.
We should make code fixes easy to create, test, and extend.
Open bugs:
Open declaration can be removedwhen having records with the same name #16226Open declaration can be removedwhen using extension for builder #16227Improvements for existing code fixes:
#-directives in scripts when top-level insertions are set #8514Ideas for new code fixes:
Overall related machinery:
Bug cemetery:
_when using a union case with not data #14066opendirective #15920