저는 VS 코드를 편집기로 사용합니다. 안에는 configs 형식의 파일 .editorconfig
이 있습니다. 우리는 편집자에서 Extension EditorConfig를 사용하여 HTML 및 CSS 일반 형식을 지정합니다. 여기에서 VS 코드에 대한 확장 EditorConfig를 설치 한 : https://github.com/editorconfig/editorconfig-vscodeVS 코드의 EditorConfig가 작동하지 않습니다.
우리 .editorconfig 파일은 다음과 같다 :
# This is the top-most .editorconfig file (do not search in parent directories)
root = true
### All files
[*]
# Force charset utf-8
charset = utf-8
# Indentation
indent_style = tab
indent_size = 4
# line breaks and whitespace
insert_final_newline = true
trim_trailing_whitespace = true
# end_of_line = lf
### Frontend files
[*.{css,scss,less,js,json,ts,sass,php,html,hbs,mustache,phtml,html.twig}]
### Markdown
[*.md]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false
### YAML
[*.yml]
indent_style = space
indent_size = 2
### Specific files
[{package,bower}.json]
indent_style = space
indent_size = 2
내가 어떤 키보드 단축키를 찾을 수없는, 다른 설정하거나. 내 확장 프로그램을 가져 오는 방법은 .editorconfig
파일에서 처리합니까?