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

Component props auto-completion doesn't work when using PascalCase #2049

Closed
3 tasks done
yyx990803 opened this issue Jul 22, 2020 · 1 comment · Fixed by #2056
Closed
3 tasks done

Component props auto-completion doesn't work when using PascalCase #2049

yyx990803 opened this issue Jul 22, 2020 · 1 comment · Fixed by #2056

Comments

@yyx990803
Copy link
Member

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: macOS
  • Vetur version: 0.25.0
  • VS Code version: 1.47.2

Problem

Props auto completion works when using <kebab-case/> components:

Screen Shot 2020-07-22 at 12 32 13 PM

...but not with <PascalCase/>:

Screen Shot 2020-07-22 at 12 32 26 PM

Also, component name completion is currently also <kebab-case/> only:

Screen Shot 2020-07-22 at 12 34 42 PM

Would be nice to have the component name auto-completion to be based on the exact registered name.

@octref
Copy link
Member

octref commented Jul 24, 2020

Also, component name completion is currently also only:

Actually, after configuring "vetur.completion.tagCasing": "initial", this works as expected.

yoyo930021 pushed a commit to yoyo930021/vuter that referenced this issue Jul 24, 2020
yoyo930021 added a commit to yoyo930021/vuter that referenced this issue Jul 24, 2020
yoyo930021 added a commit to yoyo930021/vuter that referenced this issue Jul 29, 2020
yoyo930021 added a commit to yoyo930021/vuter that referenced this issue Jul 29, 2020
yoyo930021 added a commit to yoyo930021/vuter that referenced this issue Jul 30, 2020
octref pushed a commit to yoyo930021/vuter that referenced this issue Jul 31, 2020
octref added a commit that referenced this issue Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants