nwolverson / vscode-ide-purescript

PureScript IDE support for VS Code

Home Page:https://marketplace.visualstudio.com/items/nwolverson.ide-purescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ctrl + click on a type named Field always opens Data.Field

bklaric opened this issue · comments

I have in one file:

module FieldDef where

type Field = { someProp :: String }

In another file I have:

module FieldUse where

import FieldDef (Field)

someValue :: Field
someValue = { someProp: "aoeu" }

Ctrl + clik on Field in someValue :: Field shows class definition in Data.Field (relative path .spago/prelude/v6.0.0/src/Data/Field.purs) instead of type alias in FieldDef.