Skip to content

Eclipse outline view does not show props of typescript type #1753

Open

Description

@nimo23

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.

Activity

  1. sebthom commented on May 29, 2025

    @sebthom
    Member

    This seems to be a limitation in the TypeScript language server itself that is used by WildWebDeveloper as well as vscode. vscode show the exact same behavior in it's outline.

    So you may need to open a ticket directly with https://github.com/typescript-language-server/typescript-language-server instead.

  2. mickaelistria commented on May 29, 2025

    @mickaelistria
    Contributor

    Note that typescript-go preview is available on npm. So instead of continuing with typescript-language-server, we may instead consider attempting to use the built-in LS of tsgo (which should be the official one soon)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions