2015년 10월 17일 토요일

Sublime Text 서브라임 텍스트 한글깨짐

원인은 모르겠지만, (아마도 CCleaner 청소 이후?)
한글이 박스 물음표 ? 로 나와 당황했었다.

검색을 해본결과

서브라임 텍스트 메뉴의
Preferences > Settings - User
에서 폰트를 지정하면 된다.

이미 JSON 형태로 값이 들어가 있지만, 당황하지 않고
아래의 형태대로 그대로 복사 붙여넣기 저장

{
 "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
 "ignored_packages":
 [
  "Vintage"
 ],
 "font_face": "Bitstream Vera Sans Mono",
 "font_size": 11,
 "tab_size": 4,
 "word_wrap": true,
 "draw_white_space": "all",
 "translate_tabs_to_spaces": true,
 "trim_trailing_white_space_on_save": true,
 "ensure_newline_at_eof_on_save": true,
 "default_line_ending": "unix",
 "rulers": [80, 120],
 "highlight_line": true,
 "fade_fold_buttons": false,
 "bold_folder_labels": true,
 "caret_style": "phase",
 "highlight_modified_tabs": true,
 "line_padding_top": 1,
 "line_padding_bottom": 1,
 "always_show_minimap_viewport": true,
 "draw_minimap_border": true
}

default_line_ending 줄바꿈 문자 형식 지정(system, windows, unix)
caret_style 커서 스타일 ("solid","wide","blink", "phase", "smooth")

플러터 단축키

1. 위젯 감싸기/벗기기 비주얼 스튜디오 :   Cmd + . 안드로이드 스튜디오 : Alt + Enter 2. 코드 정렬 비주얼 스튜디오 : Ctrl + S 안드로이드 스튜디오 : Ctlr + Alt + L 3. StatelessWidget ->...