CHAPTER 3 - 快速鍵與常用指令

上一節我們提到了 EZoApp 左邊的程式編輯區,相信已經習慣寫程式的朋友們,一定會有自己開發工具的快速鍵 ( 特別是學校的學生,Ctrl + c 和 Ctrl + v 一定是必備的,哈哈開玩笑的!) 在 EZoApp 裏,也有許多的這種快速鍵可以用,下面就把所有的快速鍵列出來,並推薦一些最常用到的快速鍵。

首先來看一下該如何秀出快速鍵,點選右上方的問號 icon 就可以打開快速鍵列表。

CHAPTER 3 - EZoApp 快速鍵與常用指令



常用的快速鍵:

  1. Ctrl + / :單行註解
  2. Ctrl + z:復原
  3. Ctrl + y:取消復原
  4. Ctrl + p :刪除單行
  5. Alt + up:把游標的這一行與上一行互換
  6. Alt + down:把游標的這一行與下一行互換
  7. Ctrl + f:查詢
  8. Ctrl + shift + f:自動排版程式碼
  9. Ctrl + [、Ctrl + ]:縮排指令
  10. Alt + /:在游標處跳出提示



完整的快速鍵列表:

toggleFoldWidgetf2overwriteinsert
golineupupgolinedowndown|Ctrl-n
gotolinestarthome|Ctrl-a|Cmd-leftgotoleftleft|Ctrl-b
gotolineendend|Ctrl-e|Cmd-rightgotorightright|Ctrl-f
gotopagedownpagedown|Ctrl-vgotopageuppageup
deldelete|Ctrl-d|Shift-deletebackspacebackspace|Ctrl-backspace|Ctrl-h|Shift-backspace
expandSnippettabcenterselectionCtrl-l
selectOrFindNextCtrl-gjumptomatchingCtrl-p
removetolineendCtrl-kblockoutdentCtrl-[
blockindentCtrl-]splitlineCtrl-o
transposelettersCtrl-ttouppercaseCtrl-u
toggleParentFoldWidgetAlt-f2gotowordleftAlt-left
gotowordrightAlt-rightpagedownAlt-pagedown
pageupAlt-pageupmovelinesupAlt-up
movelinesdownAlt-downremovewordleftAlt-backspace|Ctrl-Alt-backspace
removewordrightAlt-deletestartAutocompleteAlt-/
addCursorAboveCtrl-Alt-upaddCursorBelowCtrl-Alt-down
selectMoreBeforeCtrl-Alt-leftselectMoreAfterCtrl-Alt-right
splitIntoLinesCtrl-Alt-lalignCursorsCtrl-Alt-a
findAllCtrl-Alt-gselectupShift-up
selectdownShift-downselectleftShift-left
selectrightShift-rightselectpagedownShift-pagedown
selectpageupShift-pageupselectlinestartShift-home
selectlineendShift-endoutdentShift-tab
goToPreviousErrorCtrl-Shift-eselectOrFindPreviousCtrl-Shift-g
selecttomatchingCtrl-Shift-ptolowercaseCtrl-Shift-u
formatContentCtrl-Shift-fselectwordleftAlt-Shift-left
selectwordrightAlt-Shift-rightmodifyNumberUpAlt-Shift-up
modifyNumberDownAlt-Shift-downaddCursorAboveSkipCurrentCtrl-Alt-Shift-up
addCursorBelowSkipCurrentCtrl-Alt-Shift-downselectNextBeforeCtrl-Alt-Shift-left
selectNextAfterCtrl-Alt-Shift-rightshowSettingsMenuCmd-,
selectallCmd-agotolineCmd-l
foldCmd-f1|Cmd-Alt-lfindnextCmd-g
findCmd-fgotostartCmd-home|Cmd-up
gotoendCmd-end|Cmd-downremovelineCmd-d
togglecommentCmd-/undoCmd-z
redoCmd-y|Cmd-Shift-zremovetolinestartCmd-backspace
foldOtherCmd-Alt-0togglerecordingCmd-Alt-e
sortlinesCmd-Alt-sreplaceCmd-Alt-f
copylinesupCmd-Alt-upcopylinesdownCmd-Alt-down
showKeyboardShortcutsCmd-Alt-hfoldallCmd-Ctrl-Alt-0
unfoldCmd-Shift-f1|Cmd-Alt-Shift-lfindpreviousCmd-Shift-g
selecttostartCmd-Shift-upselecttoendCmd-Shift-down
selecttolinestartCmd-Shift-leftselecttolineendCmd-Shift-right
replaymacroCmd-Shift-eduplicateSelectionCmd-Shift-d
toggleBlockCommentCmd-Shift-/expandtolineCmd-Shift-l
unfoldallCmd-Alt-Shift-0passKeysToBrowsernull




繼續閱讀 Chapter 4 - jQuery Mobile 元件
回文章目錄

results matching ""

    No results matching ""