鍵盤快捷鍵參考

使用這些捷徑執行 PostgreSQL 指令並瀏覽查詢結果,無需離開編輯器。

擴充鍵綁定

Action Windows/Linux macOS When
執行查詢(PostgreSQL) ctrl+shift+e CMD+shift+e editorTextFocus && editorLangId == 'sql' && (!isInDiffEditor || !pgsql.migrationDiff.active)
執行查詢(PostgreSQL) shift+enter shift+enter editorTextFocus && editorLangId == 'sql' && (!isInDiffEditor || !pgsql.migrationDiff.active)
執行目前語句(PostgreSQL) ctrl+shift+enter。 ctrl+shift+enter。 editorTextFocus && editorLangId == 'sql' && (!isInDiffEditor || !pgsql.migrationDiff.active)
執行 PgSQL 目標查詢 ctrl+shift+e CMD+shift+e editorTextFocus & isInDiffEditor & pgsql.migrationDiff.active & pgsql.migrationDiff.targetConnected
執行 PgSQL 目標查詢 shift+enter shift+enter editorTextFocus & isInDiffEditor & pgsql.migrationDiff.active & pgsql.migrationDiff.targetConnected
執行目前的 PgSQL 目標語句 ctrl+shift+enter。 ctrl+shift+enter。 editorTextFocus & isInDiffEditor & pgsql.migrationDiff.active & pgsql.migrationDiff.targetConnected
Connect(PostgreSQL) ctrl+shift+c CMD+shift+C editorTextFocus && editorLangId == 'sql' && (!isInDiffEditor || !pgsql.migrationDiff.active)
Disconnect(PostgreSQL) ctrl+shift+d CMD+shift+d editorTextFocus && editorLangId == 'sql' && (!isInDiffEditor || !pgsql.migrationDiff.active)
開啟 PostgreSQL 檢視 ctrl+alt+d CMD+ALT+D -
複製名稱 ctrl+c CMD+C sideBarFocus && activeViewlet == workbench.view.extension.objectExplorer

結果格子捷徑

當查詢結果網格聚焦時,這些捷徑會適用。 透過設定 pgsql.shortcuts 自訂它們。

Action 按鍵繫結
切換結果面板 ctrl+alt+R
焦點結果網格 ctrl+alt+G
切換訊息窗格 ctrl+alt+Y
先前的起跑陣容 ctrl+up
下一格 ctrl+down
文案選擇 ctrl+C
全選 ctrl+A
變更欄位寬度 ctrl+alt+S