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

VS Code outline view does not show JavaScript outline in .vue files #3338

Open
4 tasks done
grantmcconnaughey opened this issue Feb 5, 2022 · 0 comments
Open
4 tasks done

Comments

@grantmcconnaughey
Copy link

grantmcconnaughey commented Feb 5, 2022

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ
  • I have tried restarting VS Code or running Vetur: Restart VLS

Info

  • Platform: Mac
  • Vetur version: 0.35.0
  • VS Code version: 1.64.0

Problem

VS Code's outline view is displaying HTML from the <template> tag and styles from the <style> tag, but not JavaScript from the <script> tag.

I'd expect the outline view to show me symbols such as data, computed, and mounted, and maybe even specific data, method, and computed attributes/functions.

image

Reproducible Case

https://github.com/grantmcconnaughey/vetur-outline-bug/blob/master/src/Test.vue

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

No branches or pull requests

2 participants