Skip to content

Commit

Permalink
Update FST-1027-fsi-references.md
Browse files Browse the repository at this point in the history
Just clarifying the status on "Handler Resolution", for now.
  • Loading branch information
smoothdeveloper authored Apr 21, 2022
1 parent 96ad025 commit 79e16ee
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tooling/FST-1027-fsi-references.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,15 @@ This will generate an error because `System.Whatever` version `4.1.0` will alrea

We may consider using `AssemblyLoadContext` in some clever way in the future, but it's very difficult to get right and well outside the scope of what we need to support for a .NET Core 2.0 timeframe.

## Handler resolution
## Handler resolution

It works in all FCS driven tool (or even fsc itself) through :
* having the extension assembly next to the process one
* the `--compilertool:` flag, whilch can point to a directory containing the extensions

Note: additional stable locations were considered by not implemented in earlier drafts of this RFC.

### proposed design in initial draft (this is NOT implemented) ###

FSI/Design time support will look at the following places in order:

Expand All @@ -176,6 +184,7 @@ In context of tooling, the location are scanned initially once per interactive s

If a handler key (such as `nuget` or `paket`) is found several times, report a warning showing location of assemblies and showing which one was picked (we apply same order of precedence as for finding the assemblies).


# Tooling and FSharp.Compiler.Service

Language service and FCS tooling must be efficient given incremental editing of files.
Expand Down

0 comments on commit 79e16ee

Please sign in to comment.