r/purescript • • Mar 23 '20

Best way to discover code in Purescript?

With Typescript, I am able to cmd+click on a type/property to jump to the type definition, allowing me to discover the code without consulting documentation on the internet. I'm also able to use the dot operator on objects to discover related properties/methods.

I'm very new to Purescript, but I have not yet come across similar ways to discover how to use a package I import. Does something similarly useful exist on any IDE?

6 Upvotes

6 comments sorted by

View all comments

Show parent comment

2

u/bob-bins Mar 24 '20

Ah ok, so I had to globally install purs npm package as well as configure the Purescript IDE extension settings for spago (docs) since I am using that instead of bower. Thanks for the help!