Skip to content

[tsserver] Support for "Search Types" #8265

@angelozerr

Description

@angelozerr

It should be very cool if tsserver could provide a new command "findAllTypes" which gives the capability to search types coming from ts files of the project.

To explain more my idea, I would like to implement inside typescript.java (Eclipse plugin for TypeScript) the same feature than we have with Java inside Eclipse.

See the following screenshot:

javaopentype

In this sample we have several classes MyServiceA, MyServiceB and an inner class MyInnerServiceA in a Java project. We can open a dialog "Open Type" to search any types in the Java Project with a filter. It's very helpful when you wish to go at a definition of class but you don't know which files defines the class (in Java world, Java class name follow the same name than the file, but in TypeScript world, you can defines any classes in any files).

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIRelates to the public API for TypeScriptQuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions