[Call for testing] Experimental signature help support in the editor tooling

The latest VSCode extension pre-release has experimental support for signature help. For those who don’t know, signature help is the small window that pops up as you’re writing a function call, telling you about the various parameters of the function.

Our experimental version looks like this:


With no parameter active


With an active parameter

We’re interested in hearing your feedback on this feature. You can activate it by changing the setting Rescript > Settings > Signature Help: Enable to true.

Looking forward to hearing your thoughts!

16 Likes

Thank you very much for this feature. I’m on the pre-release channel.

Function signature is not displayed when opening parentheses (.

Example:

let add = (~x, ~y) => x + y
add(

config:

"rescript.settings.signatureHelp.enable": true,

This feature will make our life much easier. Thank you!

2 Likes

Has that function compiled? The function must have compiled at some point.

Feature feels great. Great job creating pragmatic, useful dev tooling for the community :slight_smile:

1 Like

I had this setting enabled. Now it’s working. :grinning:

"editor.parameterHints.enabled": false,

The parameter is highlighted after insertion, shouldn’t it be highlighted after triggering the characters (, , and =?

image

image

image

The function name let add: is redundant could we just show the signature like codelens does?

Example:
(int, int) => int

1 Like