Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wayou opened this issue May 26, 2020 · 0 comments · Fixed by #38915
Closed
Labels
Bug A bug in TypeScript Domain: Outlining Relates to multi-line regions that editors can collapse
Milestone

Comments

@wayou
Copy link

wayou commented May 26, 2020

TS Template added by @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?

@mjbvz mjbvz transferred this issue from microsoft/vscode May 26, 2020
@mjbvz mjbvz removed their assignment May 26, 2020
@RyanCavanaugh RyanCavanaugh added the Bug A bug in TypeScript label Jun 2, 2020
@RyanCavanaugh RyanCavanaugh added this to the Backlog milestone Jun 2, 2020
@RyanCavanaugh RyanCavanaugh added the Domain: Outlining Relates to multi-line regions that editors can collapse label Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Domain: Outlining Relates to multi-line regions that editors can collapse
Projects
None yet
3 participants