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

Finish setting up VS code for vue #10

Closed
OriginalYellow opened this issue Nov 28, 2018 · 2 comments
Closed

Finish setting up VS code for vue #10

OriginalYellow opened this issue Nov 28, 2018 · 2 comments

Comments

@OriginalYellow
Copy link
Owner

I installed vtr which should handle most of what I want but i can't get document formatting to work at all.

Resources:
vuejs/vetur#543
vuejs/vetur#692

@OriginalYellow
Copy link
Owner Author

TODO: Also get a typescript linter - one issue I saw was if you define an interface it doesn't care if you use ";" or "," to delimit properties.

@OriginalYellow
Copy link
Owner Author

  • I had to change any "tab length" setting in VS code to "2" (one or 2 of them was set to "4") to match what vetur's document formatter uses by default (not sure if this was necessary but I think I like having each tab = 2 spaces to save horizontal space)
  • vetur document formatter magically started working at some point...I have no idea why - it could have been some setting i changed but i don't know.

OriginalYellow pushed a commit that referenced this issue Dec 7, 2018
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