nushell / nushell/vscode-nushell-lang

Add an option to concise and prettify type hints

Open
#125 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Nushell
Stars
153
Forks
31
PR merge metrics
No merged PRs in 30d

Description

image

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
>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the VS Code extension settings and the entry point that renders nested type hints. Review how record and list hints are currently displayed, then define behavior for nesting limits and multiline formatting. Done means both options work for nested examples like the record shown and their settings are available to users.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.