Skip to content

Is it possible to list members of a class which is returned by a function in the symbol palette? #38785

Closed

Description

@wayou

TS Template added by Matt Bierner (@mjbvz)

TypeScript Version: 3.9.3

Search Terms

  • navtree
  • document outline

Sample code:

export default (args: MyArgs) => {
	return class Foo {
		blah(){
			//
		}
	}
}

Command + Shift + O open the Go to Symbol in Editor... and there's only the default showing:

image

Is it possible to list the member of the inner class returned by the function?

Activity

  1. removed their assignment
    on May 26, 2020
  2. added
    Domain: LS: Outlining
    on Jun 2, 2020
  3. locked as resolved and limited conversation to collaborators on Oct 21, 2025
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

    BugDomain: LS: Outlining

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ Proxy