Narrated, with original music and captions. Recorded in VS Code on the Shop demo: F# completion from the F# Compiler Service, C# completion from Roslyn, and Ctrl+Space on a type from an unimported namespace.

Code completion in VS Code with SharpLsp: F# list functions and record fields, C# LINQ members, and an import completion that adds its using

Read the guide: Code Completions

Transcript

SharpLsp completes F# with the F# compiler itself. Type List dot for every list function, narrow it to minBy, and inside the lambda, the record's fields are right there.

In C#, completion comes straight from Roslyn: LINQ's MinBy, then the product's properties. Accepting an item replaces the word you're typing, never appends to it.

Need a type from a namespace you haven't imported? Press Control Space, accept it, and SharpLsp adds the using directive at the top of the file.