Ionide-vscode-fsharp: fsi config object doesn't get Intellisense

Created on 25 Nov 2020  路  6Comments  路  Source: ionide/ionide-vscode-fsharp

Describe the bug
The fsi configuration object in F# scripts is recognized in Visual Studio, but not in Ionide.

To Reproduce
Steps to reproduce the behaviour:

  1. Create a new file, Script.fsx
  2. Start typing fsi.ShowDeclarationValues <- false
  3. No Intellisense appears

Expected behaviour
Intellisense appears on the fsi object.

Screenshots
Here's what is looks like in Visual Studio:
image

Here's Ionide:
image

Environment (please complete the following information):

  • OS: Windows 10
  • Ionide version: 4.17.0
  • VSCode version: 1.51.1
  • dotnet SDK version: 5.0.100

Additional context
There might be something I'm missing. I don't think the behavior needs to be identical to Visual Studio, but I couldn't figure it out.

bug language services scripts

All 6 comments

Hey @brettrowberry :wave:,

Thank you for opening an issue. We will get back to you as
soon as we can. Also, check out our OpenCollective and consider
backing us.

https://opencollective.com/ionide

PS.: We offer backer support for all backers. Don't forget to add backer label when you start backing us :smile:

We need to make sure that the f# interactive settings DLL is part of the generated reference set. It was at one point in the past, but it's entirely possible it's slipped out again.

@baronfel I can confirm it's broken on the latest preview

Correction:

  • We don't have access to it in build.fsx/FAKE script
  • I can see it on normal .fsx file just fine:

image

Ok, this is working as described above in Ionide 5.0, and it's correct behaviour as far as I can tell.

I was just about to close this. Yep, works great in v5.0.0. Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lilred picture lilred  路  6Comments

draganjovanovic1 picture draganjovanovic1  路  3Comments

sivabudh picture sivabudh  路  3Comments

alfonsogarciacaro picture alfonsogarciacaro  路  5Comments

sergey-tihon picture sergey-tihon  路  6Comments