eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper
Typescript: hide redundant type information
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 201
- Forks
- 76
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 21
Description
Which setting do I need to turn off to disable hints for all explicitly declared types? For example, I have this:
The Typescript types are already explicitly declared (no implicit type inference), so I want to hide the hints (since the information is redundant):
What settings do I need to disable redundant hints (I tried disabling all of them but it doesn't change anything in the (generic) code editor):
What I need is:
Show the hints for all types (functions, properties, etc.) only if they were implicitly derived (= implcit type inference). Otherwise, the hints should not be displayed if the user already explicitly declares the type (because then the information shown in the code editor is redundant).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named; begin by locating the generic code editor's TypeScript hint settings and the logic that displays type hints. Confirm the existing settings behavior, then define the change as hiding hints for explicitly declared types while retaining hints for implicitly inferred types.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100