Sublime Text ʹÓýéÉÜ/È«Ì׿ì½Ý¼ü¼°²å¼þÍƼö

µ¼Óï Èç¹û˵Notepad++ÊÇÒ»¿î²»´íCodeÉñÆ÷£¬ÄÇôSublime TextÓ¦µ±³ÆµÃÉÏÊÇÉñÆ÷µÎ¸ç¡£Sublime Text×î´óµÄÓŵã¾ÍÊÇ¿çƽ̨£¬MacºÍWindows¾ù¿ÉÍêÃÀʹÓã»Æä´ÎÊÇÇ¿´óµÄ²å¼þÖ§³Ö£¬¼¸ºõÎÞËù²»ÄÜ¡£¿ªÊ¼Ê¹ÓÃSublime Text£ºSu
Èç¹û˵Notepad++ÊÇÒ»¿î²»´íCodeÉñÆ÷£¬ÄÇôSublime TextÓ¦µ±³ÆµÃÉÏÊÇÉñÆ÷µÎ¸ç¡£Sublime Text×î´óµÄÓŵã¾ÍÊÇ¿çƽ̨£¬MacºÍWindows¾ù¿ÉÍêÃÀʹÓã»Æä´ÎÊÇÇ¿´óµÄ²å¼þÖ§³Ö£¬¼¸ºõÎÞËù²»ÄÜ¡£

\

¿ªÊ¼Ê¹ÓÃSublime Text£º

Sublime TextÓÐDev°æ±¾£¬ÍƼöʹÓã¬ÏÂÔصØÖ·£¬Ò»°ãÍƼöÏÂÔرãЯ°æ±¾£¨Portable version£©£¬ÕâÑùÄÃÀ´ÄÃÈ¥ºÜ·½±ã£¬Ò²²»Óð²×°£¬¶øÇÒ²å¼þºÍÖ÷ÌåÔÚÒ»¸öĿ¼Ï£¬±ãЯ¡£

ÎÞ·¨ÏÂÔØÇëµã»÷´ÎµØÖ·£ºSublime Text 3×îаæÏÂÔØ

Sublime Text¿ì½Ý¼ü£º

Ctrl+Shift+P£º´ò¿ªÃüÁîÃæ°å
Ctrl+P£ºËÑË÷ÏîÄ¿ÖеÄÎļþ
Ctrl+G£ºÌøתµ½µÚ¼¸ÐÐ
Ctrl+W£º¹Ø±Õµ±Ç°´ò¿ªÎļþ
Ctrl+Shift+W£º¹Ø±ÕËùÓдò¿ªÎļþ
Ctrl+Shift+V£ºÕ³Ìù²¢¸ñʽ»¯
Ctrl+D£ºÑ¡Ôñµ¥´Ê£¬Öظ´¿ÉÔö¼ÓÑ¡ÔñÏÂÒ»¸öÏàͬµÄµ¥´Ê
Ctrl+L£ºÑ¡ÔñÐУ¬Öظ´¿ÉÒÀ´ÎÔö¼ÓÑ¡ÔñÏÂÒ»ÐÐ
Ctrl+Shift+L£ºÑ¡Ôñ¶àÐÐ
Ctrl+Shift+Enter£ºÔÚµ±Ç°ÐÐÇ°²åÈëÐÂÐÐ
Ctrl+X£ºÉ¾³ýµ±Ç°ÐÐ
Ctrl+M£ºÌøתµ½¶ÔÓ¦À¨ºÅ
Ctrl+U£ºÈí³·Ïú£¬³·Ïú¹â±êλÖÃ
Ctrl+J£ºÑ¡Ôñ±êÇ©ÄÚÈÝ
Ctrl+F£º²éÕÒÄÚÈÝ
Ctrl+Shift+F£º²éÕÒ²¢Ìæ»»
Ctrl+H£ºÌæ»»
Ctrl+R£ºÇ°Íù method
Ctrl+N£ºÐ½¨´°¿Ú
Ctrl+K+B£º¿ª¹Ø²àÀ¸
Ctrl+Shift+M£ºÑ¡Öе±Ç°À¨ºÅÄÚÈÝ£¬Öظ´¿ÉÑ¡×ÅÀ¨ºÅ±¾Éí
Ctrl+F2£ºÉèÖÃ/ɾ³ý±ê¼Ç
Ctrl+/£º×¢Ê͵±Ç°ÐÐ
Ctrl+Shift+/£ºµ±Ç°Î»ÖòåÈë×¢ÊÍ
Ctrl+Alt+/£º¿é×¢ÊÍ£¬²¢Focusµ½Ê×ÐУ¬Ð´×¢ÊÍ˵Ã÷ÓõÄ
Ctrl+Shift+A£ºÑ¡Ôñµ±Ç°±êÇ©Ç°ºó£¬Ð޸ıêÇ©ÓõÄ
F11£ºÈ«ÆÁ
Shift+F11£ºÈ«ÆÁÃâ´òÈÅģʽ£¬Ö»±à¼­µ±Ç°Îļþ
Alt+F3£ºÑ¡ÔñËùÓÐÏàͬµÄ´Ê
Alt+.£º±ÕºÏ±êÇ©
Alt+Shift+Êý×Ö£º·ÖÆÁÏÔʾ
Alt+Êý×Ö£ºÇл»´ò¿ªµÚN¸öÎļþ
Shift+ÓÒ¼üÍ϶¯£º¹â±ê¶à²»£¬ÓÃÀ´¸ü¸Ä»ò²åÈëÁÐÄÚÈÝ
Êó±êµÄÇ°½øºóÍ˼ü¿ÉÇл»TabÎļþ
°´Ctrl£¬ÒÀ´Îµã»÷»òÑ¡È¡£¬¿ÉÐèÒª±à¼­µÄ¶à¸öλÖÃ
°´Ctrl+Shift+ÉÏϼü£¬¿ÉÌæ»»ÐÐ
 

Sublime Text ÉèÖãº

Setting User

ÒÔÏÂÊÇÎÒʹÓõÄ

"font_face": "courier new",

"font_size": 11,

"highlight_line": true,

"scroll_past_end": false,

"tab_size": 4,

"word_wrap": true

 

Sublime Text ²å¼þ£º

½¨ÒéÏÈÆôÓÃPackage Control
 

×÷ÓÃÊÇ°²×°²å¼þʱºÜ·½±ã£¬ÆôÓ÷½·¨£º²Ëµ¥À¸ – View – Show Console£¬ÌùÈëÒÔÏ´úÂë²¢»Ø³µ£¬È»ºóÖØÆôSublime¡£Èç¹ûÄãËùÔÚµÄÍøÂçÎÞ·¨ÆôÓã¬ÔòÎÞ·¨Ê¹Óã¬ÊÖ¶¯ËÑË÷ÏÂÔØÈ¥°É£¨»°ËµÄãµÄÍøÒ²±»·âÁË£¿£©¡£

  1. import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); 
  2. urllib.request.install_opener( urllib.request.build_opener( 
  3. urllib.request.ProxyHandler()) );
  4.  open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 
  5. 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read()) 

 


ÈôûÓа²×°³É¹¦»òûÓÐÏÔʾ£¬ÇëʹÓÃÒÔÏ·½·¨£º

µÚÒ»²½£ºÏÂÔØsublime_package_control-master.zip £¬½âѹÃüÃûÎļþ¼ÐΪPackage Control¡£(×¢Òâ´óСд)
µÚ¶þ²½£ºÏÂÔØsublime_package_control-python3.zip£¬½âѹºó¸²¸Çµ½¸Õ¸ÕµÄPackage ControlÖУ¬Íê³É²å¼þAPIº¯ÊýµÄ¸üС£
 

µÚ¶þ²½£º´ò¿ªSublime Text 3£¬Ñ¡Ôñ²Ëµ¥£ºPreference-->Browse Package... ä¯ÀÀ²å¼þ

\

µÚÈý²½£º°Ñpackage control¸´ÖƵ½´ËĿ¼£¬ÖØÆô Sublime text 3¡£

È»ºó²Ëµ¥Preferences¾Í»á¶àÁËÁ½¸öPackage..µÄ¶«Î÷ÈçÏ£º Package Control °²×°³É¹¦

\

µÚËIJ½£º

µã»÷²Ëµ¥Preference-->Package Control

µã»÷Install Package

 \

µÈ´ý¼¸ÃëºóÔÙµ¯³öÈçÏÂÄÚÈÝ£¬ÇüüÅÌemmet£¬Ñ¡ÔñÈçÏ£º

\

ÔÚ Emmet °²×°Íê³Éºó£¬»áÏÔʾÈçÏÂÆÁÄ»£ºÈ»ºó»á×Ô¶¯°²×°PyV8£¬°²×°Íê³É£¬ÖØÆô Sublime Text 3¡£

\

ÖÁ´Ëemmet²å¼þ°²×°Íê³É¡£

ËÑË÷¿òûÓÐemmetÏà¹ØÄÚÈÝ£¬ÊÖ¶¯°Ñemmet²å¼þ·ÅÈëµÚ¶þ²½´ò¿ªµÄÎļþ¼Ð£¬emmet²å¼þÏÂÔØ>>
emmet²å¼þ°²×°

¿ªÊ¼°²×°Ò»Ð©ÆäËû·Ç³£ÊµÓõIJå¼þ°É£¬Ctrl+Shift+P£¨²Ëµ¥ – Tools – Command Paletter£©£¬ÊäÈë install Ñ¡ÖÐInstall Package²¢»Ø³µ£¬ÊäÈë»òÑ¡ÔñÄãÐèÒªµÄ²å¼þ»Ø³µ¾Í°²×°ÁË£¨×¢Òâ×óϽǵÄСÎÄ×ֱ仯£¬»áÌáʾ°²×°³É¹¦£©£¬°²×°ÆäËü²å¼þÒ²ÊÇÕâ¸ö·½·¨£¬·Ç³£¿ìËÙ¡£
 

ZenCoding

²»µÃ²»ÓõÄÒ»¿îÇ°¶Ë¿ª·¢·½ÃæµÄ²å¼þ£¬Write less , show more.°²×°ºó¿ÉÖ±½ÓʹÓã¬Tab¼ü´¥·¢£¬Alt+Shift+WÊǸö´úÂë»úÆ÷¡£

Alignment

´úÂë¶ÔÆ룬Èçд¼¸¸ö±äÁ¿£¬Ñ¡ÖÐÕ⼸ÐУ¬Ctrl+Alt+A£¬ÍÛ£¬ÆëÁË¡£

Prefixr

д CSS¿É×Ô¶¯Ìí¼Ó -webkit µÈ˽ÓдÊ׺£¬Ctrl+Alt+X´¥·¢¡£

Tag

Html¸ñʽ»¯£¬ÓÒ¼üAuto-Format Tags on Ducument¡£

Clipboard History

¼ôÌù°åÀúÊ·¼Ç¼£¬ÏÔʾ¸ü¶àÀúÊ·¸´ÖÆ£¬Ctrl+Shift+V´¥·¢¡£

SideBarEnhancements

²àÀ¸ÓÒ¼ü¹¦ÄÜÔöÇ¿£¬·Ç³£ÊµÓÃ

Theme – Soda

ÍêÃÀµÄ±àÂëÖ÷Ì⣬ÓùýµÄ¶¼ËµºÃ£¬Setting userÀïÃæÌí¼Ó”theme”: “Soda Dark.sublime-theme”

GBK to UTF8

½«Îļþ±àÂë´ÓGBKת»Æ³ÉUTF8£¬²Ëµ¥ – FileÀïÃæÕÒ

SFTP

Ö±½Ó±à¼­ FTP »ò SFTP ·þÎñÆ÷ÉϵÄÎļþ£¬¾ø¶ÔFTP¸¡ÔÆ

WordPress

¼¯³ÉһЩWordPressµÄº¯Êý£¬¶ÔÓÚÏñÎÒÕâÖÖ¾­³£ÒªÐ´WPÄ£°æºÍ²å¼þµÄÈËÌرðÓÐÓÃ

PHPTidy

ÕûÀíÅÅ°æPHP´úÂë

YUI Compressor

ѹËõJSºÍCSSÎļþ
 

Sublime Prefixr

Prefixr£¬CSS3 ˽ÓÐǰ׺×Ô¶¯²¹È«²å¼þ£¬ÏÔȻҲºÜÓÐÓÃÍÛ

JS Format

Ò»¸öJS´úÂë¸ñʽ»¯²å¼þ¡£

SublimeLinter

Ò»¸öÖ§³ÖlintÓï·¨µÄ²å¼þ£¬¿ÉÒÔ¸ßÁÁlinterÈÏΪÓдíÎóµÄ´úÂëÐУ¬Ò²Ö§³Ö¸ßÁÁһЩÌرðµÄ×¢ÊÍ£¬±ÈÈç“TODO”£¬ÕâÑù¾Í¿ÉÒÔ±»¿ìËÙ¶¨Î»¡££¨IntelliJ IDEAµÄTODO¹¦ÄܺÜÔÞ£¬Õâ¸ö²å¼þËäÈ»±È²»ÉÏ£¬µ«ÊÇÒ²¹»ÓÃÁË°É£©

Placeholders

¹ÊÃû˼Ò⣬ռλÓ㬰üÀ¨Ò»Ð©Õ¼Î»ÎÄ×ÖºÍHTML´úÂëƬ¶Î£¬ÊµÓá£

Sublime Alignment

ÓÃÓÚ´úÂë¸ñʽµÄ×Ô¶¯¶ÔÆë¡£´«Ëµ×îаæSublime ÒѾ­¼¯³É¡£

Clipboard History

Õ³Ìù°åÀúÊ·¼Ç¼£¬·½±ãʹÓø´ÖÆ/¼ôÇеÄÄÚÈÝ¡£

DetectSyntax

ÕâÊÇÒ»¸ö´úÂë¼ì²â²å¼þ¡£

Nettuts Fetch

Èç¹ûÄãÔÚÓÃһЩ¹«ÓõĻòÕß¿ªÔ´µÄ¿ò¼Ü£¬±ÈÈç Normalize.css»òÕßmodernizr.js£¬µ«ÊÇ£¬¹ýÁËÒ»¶Îʱ¼äºó£¬¿ÉÄܸÿªÔ´¿âÒѾ­¸üÐÂÁË£¬¶øÄãûÓз¢ÏÖ£¬Õâ¸öʱºò¿ÉÄÜÒѾ­²»Ì«ÊʺÏÄãµÄÏîÄ¿ÁË£¬ÄÇôÄã¾ÍÒªÖØÐÂÕÛÌÚÒ»±é»òÕß¼ÌÐøÓó¾ɵÄÎļþ¡£Nettuts Fetch¿ÉÒÔÈÃÄãÉèÖÃһЩÐèҪͬ²½µÄÎļþÁÐ±í£¬È»ºó±£´æ¸üС£

JsMinifier

¸Ã²å¼þ»ùÓÚGoogle Closure compiler£¬×Ô¶¯Ñ¹ËõjsÎļþ¡£

Sublime CodeIntel

´úÂë×Ô¶¯Ìáʾ

Bracket Highlighter

ÀàËÆÓÚ´úÂëÆ¥Å䣬¿ÉÒÔÆ¥ÅäÀ¨ºÅ£¬ÒýºÅµÈ·ûºÅÄڵķ¶Î§¡£

Hex to HSL

×Ô¶¯×ª»»ÑÕÉ«Öµ£¬´Ó16½øÖƵ½HSL¸ñʽ£¬¿ì½Ý¼ü Ctrl+Shift+U

GBK to UTF8

½«Îļþ±àÂë´ÓGBKת»Æ³ÉUTF8£¬¿ì½Ý¼üCtrl+Shift+C

Git

¸Ã²å¼þ»ù±¾ÉÏʵÏÖÁËgitµÄËùÓй¦ÄÜ¡£

http://www.aseoe.com/ true Sublime Text ʹÓýéÉÜ/È«Ì׿ì½Ý¼ü¼°²å¼þÍƼö http://www.aseoe.com/show-33-452-1.html report <£¿php echo strlen($content) / 2; ?> Èç¹û˵Notepad++ÊÇÒ»¿î²»´íCodeÉñÆ÷£¬ÄÇôSublime TextÓ¦µ±³ÆµÃÉÏÊÇÉñÆ÷µÎ¸ç¡£Sublime Text×î´óµÄÓŵã¾ÍÊÇ¿çƽ̨£¬MacºÍWindows¾ù¿ÉÍêÃÀʹÓã»Æä´ÎÊÇÇ¿´óµÄ²å¼þÖ§³Ö£¬¼¸ºõÎÞËù²»ÄÜ¡£¿ªÊ¼Ê¹ÓÃSublime Text£ºSu
TAG:Sublime Text ¿ì½Ý¼ü ²å¼þ
±¾Õ¾»¶Ó­ÈκÎÐÎʽµÄתÔØ£¬µ«ÇëÎñ±Ø×¢Ã÷³ö´¦£¬×ðÖØËûÈËÀͶ¯³É¹û
תÔØÇë×¢Ã÷£º ÎÄÕÂתÔØ×Ô£º°®Ë¼×ÊÔ´Íø http://www.aseoe.com/show-33-452-1.html

[Ç°¶Ë²å¼þÍƼö] Plugin

1 2 3 4
  • jQueryʵÏÖÖð×ÖÖð¾äÏÔʾ²å¼þl-by-l.min.js
  • jQuery´ø·½Ïò¸ÐÖªµÄÊó±ê»¬¹ýͼƬ±ß¿òÌØЧ²å¼þ
  • jQuery HotKeys¼àÌý¼üÅÌ°´ÏÂʼþkeydown²å¼þ
  • ÏìӦʽÎÞÏÞÂÖ²¥jQueryÐýתľÂí²å¼þ
ÏìӦʽÎÞÏÞÂÖ²¥jQueryÐýתľÂí²å¼þ
webÇ°¶Ë¿ª·¢
°®Ë¼×ÊÔ´Íø Copyright 2012-2014 Www.Aseoe.Com All rights reserved.(½úICP±¸13001436ºÅ-1)