Skip to content

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

@grantmcconnaughey

Description

@grantmcconnaughey
  • 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions