
사용하고 있는 컴퓨터 언어에 따라 Kate에서 탭을 눌렀을 때 공백의 수를 다르게 하고 싶습니다. 예를 들어 html 파일에서는 탭이 두 개의 공백을 생성하기를 원하지만 CI에서는 4개의 공백을 생성하기를 원합니다. 이것이 가능한가? 내가 어떻게 해?
답변1
메뉴를 통해:
- 설정>케이트 구성>열기/저장>모드/파일 유형
다음과 같이 설정할 수 있습니다.이 예:
Name: C, C++ and Java settings
Section: Sources
Variables: kate: space-indent on; indent-width 4; mixed-indent off; indent-mode cstyle;
File Extensions: *.h;*.c;*.hh;*.H;*.hp;*.hxx;*.hpp;*.HPP;*.h++;*.tcc;*.cc;*.cp;*.cxx;*.cpp;*.CPP;*.c++;*.C;*.java
Mimetypes: text/x-chdr;text/x-csrc;text/x-c++hdr;text/x-c++src;text/x-java
Priority: 10