ionide / ionide/FSharp.Analyzers.SDK

Make fixes lazy

Open
#27 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
F#
Stars
85
Forks
28
Avg merge
1d 8h
Merged PRs (30d)
20

Description

Analyzers will produce a number of warnings, but only when a code-fixes request (from the suggestions API) is made do we actually need a list of fixes.

In the interest of performance, we should try to change the fixes from `Fix list` to `Lazy`.

This is already how suggestions in FSharpLint are implemented.
https://github.com/fsprojects/FSharpLint/blob/f58665fc8c48461ad3d486bf608e4233012a94c0/src/FSharpLint.Core/Framework/Suggestion.fs#L28

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.