PL/SQL 快捷鍵可以大大提高效率
1 修改Code assistant快捷鍵
tools->preferences->User Interface -> Key Configuration -> tools/ code assistant 改為自己想要的快捷鍵
tools -> code assistant 可以查看幫助的快捷鍵
2 修改 Sql 語句大小寫
默認 pl/sql 沒有提供 快捷鍵
選中sql,點擊 edit --> selection --> Uppercase
當然了也可以按照1來增加快捷鍵
tools->preferences->User Interface -> Key Configuration --> edit/selection/Uppercase 改為自己想要的快捷鍵
使用PL/SQL中經常性需要輸入select * from 這樣類似的語句。能不能配置一個快捷鍵,比如輸入s,直接就顯示select * from 呢?顯然PL/SQL是支持該功能的。
在PL/SQL的安裝目錄下面:$:\Program Files\PLSQL Developer\PlugIns 中添加一個文本文件,比如命名為:shortcuts.txt。文本文件中填寫如下內容:
s = select * from
打開PL/SQL,在Tools->Perferences->Editor中Autoreplaces選擇配置的shortcuts文件。
確定后重啟PL/SQL就可以了。在編輯頁面,輸入s 就會顯示select * from
附錄:個人編寫文件內容:
s =select * from
sr = select t.* ,t.rowid from
w = where
sc=select count(3) from
應用時,快捷鍵+回車就可以出現了!