prisma / language-tools

🌐 Prisma Language Tools = Language Server and Prisma's VS Code extension.
https://marketplace.visualstudio.com/items?itemName=Prisma.prisma
Apache License 2.0
255 stars 36 forks source link

Jump to Docs #418

Open divyenduz opened 4 years ago

divyenduz commented 4 years ago

I ran into this feature of the following extension.

Name: Terraform Autocomplete
Id: erd0s.terraform-autocomplete
Description: Autocomplete for AWS resources with terraform.
Version: 0.0.8
Publisher: erd0s
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=erd0s.terraform-autocomplete

Basically, cmd + hover over a term open the docs. While this feature caught me by surprise (because of the lack of a prompt to open a link, I thought something is opening my browser at random), we can consider doing this on cmd + hover.

This can be used on blocks (datasource, generate etc) and also fields like binaryTargets etc

Here is a video of the feature in Terraform extension: https://www.loom.com/share/e72a763f575b4d579512d5b4c24c1024

(The browser selection prompt in the video is an external software, the extension simply wants to open a URL)

Druue commented 1 month ago

We could also use a TS plugin to enable the same functionality for prisma client queries