How to Enable Intellisense in VS Code + Ionide?

763 Views Asked by At

I've created an F# (script) app via the dotnet cli using the following outlined steps. However, when I open the app/project in VS Code with Ionide, intellisense is inactive. How can I resolve this?

To create the app/project, I:

  1. Created an app directory
  2. Ran dotnet new tool-manifest and dotnet tool install paket and dotnet paket restore
  3. Ran dotnet paket init
  4. Modified paket.dependencies
  5. Opened "project" in VS Code with Ionide

paket.dependencies (Note: I removed framework restrictions)

source https://api.nuget.org/v3/index.json

storage: packages
nuget FSharp.Data

Script:

#r "./packages/FSharp.Core/lib/netstandard2.0/FSharp.Core.dll"
#r "./packages/FSharp.Data/lib/netstandard2.0/FSharp.Data.dll"

open System
open FSharp.Data

type research = CsvProvider<"./path/to/file", HasHeaders=true, PreferOptionals=true>
let data = research.GetSample()
0

There are 0 best solutions below