1

그래서 나는이 같은 editorconfig 파일이 :최상위 루트 디렉토리에 editorconfig 파일을 둘 수 있습니까?

# Indent preferences 
indent_style = space 
indent_size = 2 

# Do not change these 
end_of_line = lf 
charset = utf-8 
trim_trailing_whitespace = true 
insert_final_newline = true 

[*.md] 
trim_trailing_whitespace = true 

내 파일 구조는 다음과 같습니다

|-- src 
|-- tools 
|-- test 
|-- config 
    .editorconfig 

당신이 볼 수 있듯이, 나는 모든 구성을 유지하고 싶은 구성 디렉토리를 관련 물건. .editorconfig 파일을 전체 프로젝트에서 사용하고 싶지만 최상위 루트 디렉토리에는없는 것 같습니다. 이것이 가능한가?

답변

1

현재는 .editorconfig 루트 디렉토리에서 각 디렉토리 수준의 파일 디렉토리로 파일을로드 할 수 없습니다. config 디렉토리에서 이러한 기능을 지원하면 쉽게 문제가 해결됩니다.

관련 문제