Skip to content
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

Outline doesn't show classes #2087

Closed
bagrupe opened this issue Jul 15, 2019 · 2 comments
Closed

Outline doesn't show classes #2087

bagrupe opened this issue Jul 15, 2019 · 2 comments

Comments

@bagrupe
Copy link

bagrupe commented Jul 15, 2019

System Details

  • MacOS 10.14
  • VS Code 1.36.1
  • PS Extension 2019.5.0

Issue Description

I recently started writing classes in Powershell and noticed that the outline only includes functions but not classes.

Expected Behaviour

Classes should appear in the outline view.

Actual Behaviour

Classes don't appear in the outline view.

I don't know if it's supposed to work and an actual bug or if it's a feature request, feel free to recategorize it if necessary.

@TylerLeonhardt
Copy link
Member

This is a duplicate of #3

Classes support wasn't in the extension because we still supported v3/v4 in the stable version of the extension.

In the preview version, we're only supporting v5.1 and up so support for classes can finally be added back (there are commented out places in the code where this feature existed already. It was commented out when we supported v3/v4)

@TylerLeonhardt
Copy link
Member

Closing this as a dupe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants