FSharp.Interactive.Intellisense icon indicating copy to clipboard operation
FSharp.Interactive.Intellisense copied to clipboard

Integrate in VS F# powertools

Open forki opened this issue 10 years ago • 3 comments

do you plan to integrate this into the VS F# powertools or directly into Visual F#?

forki avatar Dec 14 '15 07:12 forki

I think this project might be a great starting point for what is discussed here: https://twitter.com/dsyme/status/676828486217113600. If so, @vlasenkoalexey perhaps we could consider moving it http://github.com/fsprojects to enable it to sit alongside Visual F# Power Tools.

I recommend that this project progress in a direction where it ships an extended F# Interactive (but 100% programming-model-compatible - no new programming model features - just tooling support) . One that can make use of all the latest and greatest in the FCS API. For example, the FCS API provides a full way to do type checking, parsing, colorization and intellisense for yet-to-be-submitted code fragments against the correct logical type checking environment for the interactive session : http://fsharp.github.io/FSharp.Compiler.Service/interactive.html#Type-checking-in-the-evaluation-context. All Visual F# Power Tools operations build on these same APIs.

F# Compiler Service comes with a sample that is very close to being 100% compatible with FSI.EXE (if there's an incompatibility I'm sure it can be fixed easily enough).

dsyme avatar Dec 15 '15 18:12 dsyme

Is this related to this one in any way?

xperiandri avatar Dec 15 '15 18:12 xperiandri

Current implementation is way too hacky to be included into powertools or something else more or less official. It might easily break on next FSI change. I plan to port it to use https://github.com/fsharp/FsAutoComplete if possible, http://fsharp.github.io/FSharp.Compiler.Service/interactive.html#Type-checking-in-the-evaluation-context also looks promising. Once solution is more stable it indeed can be integrated into powertools.

I'll look into this.

vlasenkoalexey avatar Dec 18 '15 06:12 vlasenkoalexey