question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

fsi config object doesn't get Intellisense

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Krzysztof-Cieslakcommented, Dec 22, 2020

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

1reaction
baronfelcommented, Nov 25, 2020

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Intellisense not working for packages with Ionide in VSCode
I am just beginning with FSharp and am trying to work in VSCode on my mac. I've followed all the install instructions here ......
Read more >
Intellisense not working · Issue #1568 · ionide ...
Describe the bug** The extension does not seem to work at all. There is no error highlighting or completion recommendations.
Read more >
Ionide in VS Code (and tooling in general) is pushing me ...
Try running dotnet restore/clean and reloading the project file (i.e. open the .fsproj file, make a meaningless change, and save it... that ...
Read more >
Part 1 - Introduction to F# using PI AF SDK
The problem of writing commands on FSI is that IntelliSense won't be available. In order to use this feature, we will create an...
Read more >
Writing a F# Type Provider
A walkthrough of how to create a F# Type Provider.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found