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

如何实现保存自动格式化呢 #110

Closed
liminjian1437 opened this issue Dec 27, 2022 · 1 comment
Closed

如何实现保存自动格式化呢 #110

liminjian1437 opened this issue Dec 27, 2022 · 1 comment

Comments

@liminjian1437
Copy link

多一个空格,逗号啥的,保存就报错,如何可以保存自动格式化呢?

@HalseySpicy
Copy link
Owner

HalseySpicy commented Dec 27, 2022

1、推荐使用 vscode 开发
2、安装代码规范里的插件 https://docs.spicyboy.cn/guide/standard.html
3、设置 vscode 默认格式化程序为 prettier
image
image

Repository owner locked and limited conversation to collaborators Dec 27, 2022
@HalseySpicy HalseySpicy converted this issue into a discussion Dec 27, 2022
@HalseySpicy HalseySpicy pinned this issue Dec 29, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants