sanity-io / vscode-sanity

Visual Studio Code extension for developing applications powered by Sanity.io
MIT License
51 stars 8 forks source link

Feature request: resolve parts in vscode #1

Closed henrikrudstrom closed 2 weeks ago

henrikrudstrom commented 4 years ago

It would be awesome to be able to follow the part imports that vscode currently does not understand ie: import DefaultSelect from 'part:@sanity/components/selects/default';

i understand there are some intricacies in that they dont always resolve to the same code depending on which plugins are installed and whether they can be resolved without firing up sanity?

Cherry on top would be a eslint plugin!

runeb commented 2 weeks ago

Parts were deprecated with v3 of Sanity