eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper

Typescript: hide redundant type information

Open
#1,711 0 comments 0 reactions 0 assignees View on GitHub

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):

Screenshot at Nov 07 12-13-24

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):

Screenshot at Nov 07 12-13-55

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.