JetBrains / resharper-fsharp

F# support in JetBrains Rider
Apache License 2.0
328 stars 53 forks source link

Experiment: transparent #595

Open nojaf opened 4 months ago

nojaf commented 4 months ago

Trying to use the transparent compiler in Rider.

nojaf commented 4 months ago

To start somewhere I would start by using the new FSharpSnapshotProject and use the new API. When FSharpChecker.Create(useTransparentCompiler = false) is should just call the old methods anyway: https://github.com/dotnet/fsharp/blob/02d11c67bf156bb406c127d3a552352f8696927a/src/Compiler/Service/BackgroundCompiler.fs#L1631-L1646

We will need to check of course if that is always the case.