Experimentation with simplifying pipe autocompletion

There’s some exciting experimentation going on in the editor tooling to make pipe completion more useful. The PR description is slightly out of date (more things are actually covered in the PR), but the gist of it is in here: Universal dot completion by zth · Pull Request #1054 · rescript-lang/rescript-vscode · GitHub

Here’s 2 images illustrating the functionality:


In short, we’re experimenting with letting . trigger completion for things not strictly record fields only. Pipeable functions from the “owning” module is an example, as seen in the pictures above.

Curious to hear your thoughts! We think this might have quite a large effect on the DX, especially for new comers.

7 Likes

This looks great! Anything that makes functions more discoverable is a great addition to editor tooling.

3 Likes

I tried it in my monorepo and it works really well! Great job!

3 Likes