Sublime CSS Completions: A more complete library

sublime

 

Posted by 홍반장水 홍반장水
TAG css, Sublime

sublime text2  - 한글인코딩(euc-kr) 적용하기

 

아래 Github 들어가서 다운로드 받은 후에 Sublime에 [Preferences] - [Browser Package] 에 추가하면 된다.

추가 후 재실행하고, [File] - [Set File Encoding to] 에 보면 euc-kr 있다.

 

A Sublime Text 2 & 3 plugin for editing and saving files encoded in GBK, BIG5, EUC-KR, EUC-JP, Shift_JIS, etc.

https://github.com/seanliang/ConvertToUTF8

 

Description (中文说明见README.zh_CN.md)

With this plugin, you can edit and save the files which encodings are not supported by Sublime Text currently, especially for those used by CJK users, such as GB2312, GBK, BIG5, EUC-KR, EUC-JP, etc.

ConvertToUTF8

I'm working on making ConvertToUTF8 support both Sublime Text 2 and 3 currently. If this plugin is useful for you, you might want to buy me a cup of coffee to keep me fresh. Thanks! :)

Buy me a cup of coffee via PayPalBuy me a cup of coffee via Alipay

Note

** For Linux users: ConvertToUTF8 relies on several dynamic libraries which are missing in embedded version of Python of Sublime Text 2 and 3. This plugin can not work fully until you install them manully.

** For OS X users: Sublime Text 3 uses an embedded Python which is facing the same problem as Linux version.

** I've reported this problem to Jon but did not get any response yet, so I will create extra plugins to solve it. If you are eager to use this plugin before they are released, please contact me for more information.

Installation

Using Package Control to find, install and upgrade ConvertToUTF8 is the recommended method to install this plug-in.

Otherwise, you can download this repository as a zip file, unzip it, and rename the new folder to ConvertToUTF8, then move this folder to Packages folder of Sublime Text (You can find the Packages folder by clicking "Preferences > Browse Packages" menu entry in Sublime Text).

Your folder hierarchy should look like this:

Folder Hierarchy

Configuration

Please check ConvertToUTF8.sublime-settings file for details. You should save your personal settings in a file named "ConvertToUTF8.sublime-settings" under "User" folder.

  • encoding_list: encoding selection list when detection is failed
  • max_cache_size: maximum encoding cache size, 0 means no cache (default: 100)
  • max_detect_lines: maximum detection lines, 0 means unlimited (default: 600)
  • preview_action: specific the action when previewing a file, available options: no_action, convert_and_open (default: no_action)
  • default_encoding_on_create: specific the default encoding for newly created file (such as "GBK"), empty value means using sublime text's "default_encoding" setting (default: empty)
  • convert_on_load: enable/disable convert file content to UTF-8 when it is loaded, available options: always, never (default: always)
  • convert_on_save: enable/disable convert file from UTF-8 to a specific encoding when it is saved, available options: always, never (default: always)

Usage

In most cases, this plug-in will take care of encoding issues automatically.

You can also use the "File > Set File Encoding to" menu entry to transform between different encodings. For example, you can open a UTF-8 file, and save it to GBK, and vice versa.

Note:

  • if "convert_on_save" is set to never, the file will NEVER be saved to the selected encoding
  • please do not edit the file before the encoding detection process is finished
  • please try either increasing the value of max_detect_lines or set the encoding manually if the detection result is not accurate

 

 

 

Posted by 홍반장水 홍반장水

Sublime Text 2

Version 2.0.2

Release Date: 8 July 2013

  • Sublime Text 3 beta is now available from http://www.sublimetext.com/3
  • Removed expiry date
  • Backported various fixes from Sublime Text 3
  • Improved minimap click behavior. The old behavior is available via the minimap_scroll_to_clicked_text setting
  • Added copy_with_empty_selection setting, to control the behavior of the copy and cut commands when no text is selected

 

Download

The current version of Sublime Text 2 is 2.0.2.

Sublime Text 3 is currently in beta, and contains many improvements over Sublime Text 2.

Sublime Text 2 may be downloaded and evaluated for free, however a license must be purchased for continued use. There is currently no enforced time limit for the evaluation.

Please submit feature requests to http://sublimetext.userecho.com/. For notification about new versions, follow sublimehq on twitter.

'Extreming X' 카테고리의 다른 글

[Cloud] ZeroPC.com  (0) 2013.07.17
파일검색 프로그램 - Everything search engine  (0) 2013.07.11
[EDITOR] Sublime 2.0.2 Update  (0) 2013.07.10
컬쳐랜드 오류에 대해서...  (0) 2013.06.20
OpenWeatherMap - free weather data and forecast API  (0) 2013.06.20
SSO(Single Sign On)  (0) 2013.06.14
Posted by 홍반장水 홍반장水

Text editor - 텍스트 에디터 : Sublime with TrailingSpaces

 

Sublime : http://www.sublimetext.com/

 └ (plugin) TrailingSpaces : https://github.com/SublimeText/TrailingSpaces

 

 Download :

                   http://www.sublimetext.com/2

                   http://www.sublimetext.com/3

Sublime Text 2.0.1 x64 Setup.exe

 

TrailingSpaces-master.zip

 

Sublime Text

Sublime Text is a sophisticated text editor for code, markup and prose.
You'll love the slick user interface, extraordinary features and amazing performance.

 

Trailing Spaces

A Sublime Text 2 and3 plugin that allows you to…

highlight trailing spaces and delete them in a flash!


 

 

Sublime의 awesome한 기능들.

 

Use Multiple Selections to rename variables quickly.
Here Ctrl+D is used to select the next occurrence of the current word. 

 

단어를 선택한 다음 "Ctrl + D" 를 처음 누르면 선택된 동일 단어 전체 검색.

"Ctrl + D" 를 계속 누르면 동일 단어가 순차적으로 선택되고, 순차적으로 선택된 단어는 동시 수정이 가능하다.

 

 Make batch edits with Multiple Selections.
Here Ctrl+Shift+L is used to split a selection into lines, and each line is then edited simultaneously.

 

영역 선택 후 "Ctrl + Shift + L" 를 선택하면 세로영역 선택이 된다. 세로줄에 커서가 생성됨.

 

 The Command Palette gives fast access to functionality.
Here Ctrl+Shift+P is used to show the Command Palette, "sspy" (short for Set Syntax: Python) is used set the syntax of the current file to Python.

 

"Ctrl + Shift + P"를 누르고 해당 파레트를 선택하면 명령어 파레트를 선택할 수 있다.  

예를 들어 Python의 Syntax를 사용하려면, "Ctrl + Shift + P"를 누르고, "sspy"라고 입력하면 "Set Suntax : Python" 이 선택된다. 선택하고 나면  해당 파일의 구문들이 Python에 맞는 구문색상으로 변경된다.

 

 Use Goto Anything to quickly navigate between files, even in the largest projects.
Ctrl+P shows Goto Anything, and typing then filters on file and directory names.

 

"File" - "Open Folder" 를 해서 폴더를 열었을 경우, 또는 여러 개의 파일이 열려있을 경우 "Ctrl + P"를 누르고 열려 있는 파일 또는 폴더에 존재하는 파일을 검색해서 바로 open 할 수  있다.

 

 Goto Anything can also be used to show a function, line or word within a file.
Type @ after a file name to filter on symbols. More...

 

"Ctrl + P"를 누르고 파일을 검색하는데, 해당 파일이 선택되었을때, 검색어 바로 뒤에 "@"를 입력하면 해당 파일에 존재하는 함수들을 검색 할 수 있다.

 

 

 

 Find and Replace with regular expressions.
Here unwanted whitespace is removed by using the regex " +" to find groups of spaces, which are then selected simultaneously with the Find All button.

 

"Ctrl + F"를 눌러서 "Find and Replace"를 할 경우 "공백(space)"을 입력하고 "+"를 넣으면 해당 공백 사이즈와 동일한 공백을 찾을 수 있고, 삭제 또는 교체 가능하다.

 

 

 

Trailing spaces 를 윈도우에서 설치할 때.

압축 풀고, "C:\Users\사용자폴더\AppData\Roaming\Sublime Text 2\Packages"에 폴더채로 옮겨두고 Sublime 재 실행 하면 확인 가능하다.

 

 

 

 

 

Posted by 홍반장水 홍반장水