ashwintemkar commented on PR #9608: URL: https://github.com/apache/netbeans/pull/9608#issuecomment-6029877046
Comparing this against what I had in #9672, here's what might be worth pulling in (and a couple of things worth double checking): **Shortcuts from the official VS Code reference that aren't mapped yet:** * Code folding entirely: `collapse-fold` (Ctrl+Shift+[), `expand-fold` (Ctrl+Shift+]), `collapse-all-folds` (Ctrl+K Ctrl+[), `expand-all-folds` (Ctrl+K Ctrl+]) * Indent/outdent line: `shift-line-right` (Ctrl+]), `shift-line-left` (Ctrl+[) * Scroll line up/down: `scroll-up` (Ctrl+Up), `scroll-down` (Ctrl+Down) * Add/remove line comment as distinct from toggle: `comment` (Ctrl+K Ctrl+C), `uncomment` (Ctrl+K Ctrl+U) * Peek Definition: `goto-source` (Alt+F12) * Format selection: `format` bound again to (Ctrl+K Ctrl+F), alongside Shift+Alt+F for the whole document * Trim trailing whitespace: `remove-trailing-spaces` (Ctrl+K Ctrl+X) * Expand/shrink selection: `select-element-next` (Shift+Alt+Right), `select-element-previous` (Shift+Alt+Left) * Close editor (Ctrl+F4) and split editor (Ctrl+\) don't seem to be mapped at all yet * Quick Fix (Ctrl+.): worth adding as a global shadow pointing at `Actions/Source/org-netbeans-modules-editor-hints-FixAction.instance`, using `D-PERIOD` so it resolves to Cmd+. on Mac too (the DTD parses `.` as `VK_PERIOD`, `C-DOT`/`VK_DOT` isn't a real key, that's actually what tripped up the earlier PR) **Things your PR already has that I'd missed:** `redo`, `zoom-text-in`/`zoom-text-out`, `clipboard-history`, the editor-level `in-place-refactoring` binding on F2 (I only had the global rename shadow, so in my version F2 wouldn't do in-place symbol rename inside the editor), and `complete-line` on Ctrl+Shift+Enter. Worth keeping those. One thing worth double-checking while you're in there: `DS-O` is currently mapped to Open Project, but the official shortcut sheet has Ctrl+Shift+O as "Go to Symbol" (`Actions/Edit/org-netbeans-modules-jumpto-symbol-GoToSymbol.instance`), so that one might be worth remapping. Happy to answer questions on any of this, I went through the official VS Code Windows/Mac shortcut references and cross-checked action names against `BaseKit`/`EditorActionNames` and the existing Idea/Eclipse profiles while working on #9672. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
