ionide / FSharp.Analyzers.SDK

Library for building custom analyzers for F# / FSAC
http://ionide.io/FSharp.Analyzers.SDK/
MIT License
74 stars 21 forks source link

Testing story for a local project #186

Open nojaf opened 8 months ago

nojaf commented 8 months ago

It would be great if FSharp.Analyzers.SDK.Testing had some helper function to load an existing local F# project and run a specific analyzer on a file.

Input would be something like:

val getContextsForProject: fsprojPath: string -> FSharpProjectOptions * Map<string, CliContext>