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

VSCode 将某文件设置为某语言 #41

Open
QC-L opened this issue Dec 6, 2019 · 0 comments
Open

VSCode 将某文件设置为某语言 #41

QC-L opened this issue Dec 6, 2019 · 0 comments

Comments

@QC-L
Copy link
Owner

QC-L commented Dec 6, 2019

例如,将 .stylelintrc 设置为 json 语言,并高亮:

.vscode/setting.json 中设置如下代码:

{
  "files.associations": {
    ".stylelintrc": "json"
  }
}
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