Skip to content

No VS Code autocomplete #606

Open
Open
@jeffstedt

Description

@jeffstedt

For Hooks styled components, such as these

import Vue from 'vue'
import Component from 'vue-class-component'

@Component
export default class HelloWorld extends Vue {
  // Declare mounted lifecycle hook
  mounted() {
    console.log('mounted')
  }

  // Declare render function
  render() {
    return <div>Hello World!</div>
  }
}

I get little to no proper autocomplete. I start typing div with the expected div in the list of suggestions, but instead I get this:
Screenshot 2022-04-01 at 15 42 34

Autocomplete works with <template></template> but not for JSX.

I have Vetur + Vue installed as VS Code extension.

Anyone recognising this? Got a trick up your sleeve?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions