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

Outline shows only exported values/types

thought2 opened this issue · comments

In other languages I think it's common to show also internal values/types in the outline. Is there a specific reason why in PureScript only the exported values/types are shown in the IDE outline?

That information is not available in general, only top level exported identifiers have type information from the compiler, and currently all information for e.g. tooltips, completion, symbols, outline are from that same place.

See purescript/purescript#4284

Saying that, the outline could probably include everything, I guess it's only shown for the current module? I never really found that a useful view. But we certainly have that information from the parsed CST already