1. 컨트롤 + 시프트 + P로 인스톨 패키지
2. HTML-CSS-JS Prettify 패키지설치
(단, 윈도우는 node설치되어야함. https://nodejs.org/en/)
3. 드래그해서 마음껏 쓴다.~~~~~~~ https://nodejs.org/en/
eval로 묶은거 풀때 유용함
지저분한 HTML / CSS / JS CODE 자동 정렬 플러그인 사용하기 on 서브라임텍스트3
#1. Sublime text 3 beta
- site : https://www.sublimetext.com
- install : https://www.sublimetext.com/3
# 2. Package control(to install remotable plugins) - install
1. Go https: //packagecontrol.io/installation
2. Copy the command
3. Ctrl + `
4. Paste the command
#3. HTMLPrettify ( the plugin to make dirty html doc to pretty html doc )
- site : https://github.com/victorporof/Sublime-HTMLPrettify
- install : follow the below instruction
Through Sublime Package Manager
Ctrl+Shift+P or Cmd+Shift+P in Linux/Windows/OS X
type install, select Package Control: Install Package
type prettify, select HTML-CSS-JS Prettif
- need node.js ( https://nodejs.org/en/ )
#4. QUIT AND REBOOT SUBLIMETEXT3
#5. TOOLs > HTML/CSS/JS Prettify > Prettify Code ( Ctrl + Shif + H )
자동 정렬 = auto format?
'node.js' 카테고리의 다른 글
node js 포트열린거 종료 (0) | 2015.08.25 |
---|---|
nvm npm node.js 노드js 설치 (0) | 2015.08.25 |