- Sublime Text Line Endings
- 서브라임텍스트 개행문자 변경
1 현재 파일 변경[ | ]
현재 열린 파일의 개행문자 형식을 적용하는 방법
- View 메뉴 --- Line Endings
- Windows, Unix, Mac OS 9 중 선택
2 기본 설정 변경 (영구 적용)[ | ]
새 파일이 만들어질 때 개행문자 형식을 적용하는 방법
- Prefences 메뉴 --- Setting - Default
- 아래 내용와 같이 변경
- 변경 전
aconf
Copy
// Determines what character(s) are used to terminate each line in new files.
// Valid values are 'system' (whatever the OS uses), 'windows' (CRLF) and
// 'unix' (LF only).
"default_line_ending": "system",
- → 서브라임텍스트가 설치된 OS에 따르던 것을…
- 변경 후
aconf
Copy
// Determines what character(s) are used to terminate each line in new files.
// Valid values are 'system' (whatever the OS uses), 'windows' (CRLF) and
// 'unix' (LF only).
"default_line_ending": "unix",
- → 유닉스 스타일로 변경함
3 같이 보기[ | ]
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.