Sublime 快速鍵製作,sublime快速鍵製作

來源:互聯網
上載者:User

Sublime 快速鍵製作,sublime快速鍵製作


流程:

開啟Sublime軟體---喜好設定----瀏覽程式包-----找見"php.sublime-snippet"---然後修改內容為自己所需要的.




<snippet>    <content><![CDATA[這裡面加自己所要設定的快速鍵]]></content>    <tabTrigger>pre</tabTrigger>    <scope>text.html - source.php</scope>    <description>pre</description></snippet>


在 <content><![CDATA[這裡面加自己所要設定的快速鍵 ]]></content>

   <tabTrigger>pre</tabTrigger>
    <scope>text.html - source.php</scope>
    <description>pre</description>

是一些描述性資源.


${1:\}表示最後游標停留的位置.


寫好後的全部代碼:

<snippet>    <content><![CDATA[echo "<pre>";print_r(${1:\$arr});echo "</pre>";]]></content>    <tabTrigger>pre</tabTrigger>    <scope>text.html - source.php</scope>    <description>pre</description></snippet>







sublime text 2怎使用快速鍵跳轉到上一個編輯點

ctrl+alt+←或者ctrl+alt+→
跳到上一次或下一處可編輯的地方
 
WIN7系統中,sublime text2的Alignment外掛程式用什快速鍵使用?

官方說是 ctrl+alt+a ,但是我這裡不行,你可以試試,同求答案。
我找到原因了,可能是QQ和這個衝突了,我設定了一下快速鍵就可以用了。
開啟 Preferences=>Package Settings=>Alignment=>Key Bindding - User

然後寫入

[
{ "keys": ["ctrl+alt+f"], "command": "alignment" }
]

或者改成其他不衝突的快速鍵即可
參考資料:親身實踐
 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.