eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper

Eclipse outline view does not show props of typescript `type`

Open
#1,753 2 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

When using typescript interface instead of type:

export interface User {
     id?: string | undefined;
     username: string;
}

the props are shown in the Eclipse outline view.

However, when I have a typical typescript type:

 export type User = {
     id?: string | undefined;
     username: string;
}

the props are not shown in the Eclipse outline view:

outline-view-types

Please show the props in the Eclipse ouline view also for typescript a type.

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

Reproduce the issue in the Eclipse outline view using the interface and type examples from the report. Compare the displayed members and make the type declaration show its props as the interface does; done means the props appear for TypeScript type aliases.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.