Skip to content

How does the union, class and record intellisense tool tip signature work? #802

@faldor20

Description

@faldor20

What

I know this is a strange request, but I have been trying to port a few key features from fsac to FSharpLanguageServer and would love some help.
Notably the function and type signature display in the IntelliSense window:

I got function signatures working fine using the extractSignature function from TipFormatter.fs
However, I can't seem to find the code for record/union/class signatures.

FSAC
image
FSLSP
image

If anyone could point me in the right direction that would be amazing

Why

I seem to have a lot of trouble with fsac, I have 3 dev machines that I use and on all of them regardless of the project, I have a lot of trouble. Mostly it is extremely slow, or just throws exceptions constantly. Especially on larger projects
I have looked at some of the discussions around this #361 and it seems there is little interest in resolving perf problems.
So after looking at the codebases, it seemed FSLSP was far simpler and easier to understand and so I thought I may as well just try to port the few features that I am missing over.

I am aware it is a little strange for me to ask for help trying to extend a "competitor" but I am guessing your goal is to supply great f# tooling and for people like me FSLSP is the only way some of the time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions