aptana : changing content types .scss format to .css format
압타나에서 .scss 파일을 열어 보면 문단정렬이 되지 않는다~ 억.
들여쓰기도. 탭도. 이상하게 작동..
이런 경우 툴바의 window > preferences 에 들어가서 .scss 의 file associations을 수정해준다.
file types 에서 .scss를 선택 후
associated editors에 css source editor을 추가하고, 이 값을 default 로 지정해주면 정렬된 .scss의 포맷을 볼 수 있다. (정렬이 안되었다면. 창을 닫았다가 다시 열어보자.)
Part 1 - Associate the .scss file type with the native Eclipse CSS Editor
Go to
Window > Preferences
Drill down to
General > Editors > File Associations
In File Associations pane, click the 'Add..." button on the top right.
For
File Type:
, enter*.scss
and then clickOK
.Find the
*.scss
entry in theFile Associations
list and select it.After selecting
*.scss
, on the bottom paneAssociated editors:
, click theAdd...
button.Make sure
Internal editors
is selected on the top, then find and selectCSS Editor
and then clickOK
.
This associated the file type .scss with eclipses native CSS Editor. Now we have to configure the native CSS Editor to support .scss files. To do this, follow this steps:
Part 2 - Add the .scss file type to the native CSS Editor
Go to
Window > Preferences
Drill down to
General > Content Types
In the Content Types pane, expand
Text
, then selectCSS
After
CSS
is selected, on the bottomFile associations:
pane, click theAdd...
button.For
Content type:
, enter*.scss
and then clickOK
.Click
OK
to close out the Preferences window.
All done. All you need to do now is close any .scss files that you have open then re-open them and wha-la, css colors in Eclipse for .scss files!
Note: If the css colours do not appear you may have to do the following: Right click the .scss file > Open With > CSS Editor
.
Hope this helps.
http://stackoverflow.com/questions/7614612/is-there-an-eclipse-editor-for-sasss-scss-files-or-syntax-coloring-plugin#answer-12322531
'wEb' 카테고리의 다른 글
HTTP 에러 코드 (0) | 2014.09.05 |
---|---|
윈도우 내 컴퓨터에서 mac address(맥어드레스) 확인 방법 (0) | 2014.08.05 |
base64 (베이스육십사) (0) | 2013.11.17 |
구글 맵 줌바(Google Map zoomControl bar) UI 오류 해결~!@ (0) | 2013.09.10 |
웹페이지에 다른 폰트를 적용해서 사용하자~!chrome브라우저 userScriptCSS ~! (0) | 2013.09.09 |
iis(인터넷정보서비스).vmware. xampp 충돌~ 서비스창에서 관련된 동작들을 제어하자~! (0) | 2013.09.06 |
chrome browser 브레이크포인트 사용해서 디버깅하기 (0) | 2013.08.31 |
override compound statement (0) | 2013.06.27 |
403 Forbidden error 는 뭐다냐~! (0) | 2013.06.25 |
BIOS = "Basic Input-Output System" (0) | 2013.06.05 |