vscode-nushell-lang
vscode-nushell-lang copied to clipboard
Add an option to concise and prettify type hints

It's impossible to read such hints like this. I suggest to add two extension settings:
- To limit nest level for such hints. To show something like
record<...>when instead of...there are nested records or lists. - To format type hints when they are nested like this:
record<
bla: list<int>
bla: string
>
More ideas you can find in TypeScript Just Got SO MUCH BETTER video. 😸
These hints come in from server.ts, so we can intercept them and reformat them like you're suggesting. I'm up for it. What would be nice is to show and abbreviated view but also show a detail view in the hover perhaps.
What would be nice is to show and abbreviated view but also show a detail view in the hover perhaps.
Or on the click on .... ;)