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

No VS Code autocomplete #606

Open
jeffstedt opened this issue Apr 1, 2022 · 0 comments
Open

No VS Code autocomplete #606

jeffstedt opened this issue Apr 1, 2022 · 0 comments

Comments

@jeffstedt
Copy link

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?

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

1 participant