macos - How to use VSCode keyboard shortcuts with a Mac? - Stack Overflow
What are some of your nice keyboard shortcuts?
Why are keyboard shortcuts so bad in Mac?
VSCode keyboard shortcuts cheatsheet
Videos
For those out there who use VSCode and Java, what shortcuts are you using to be efficient on a Mac?
All i'm using is copy and paste and F5 for compiling and I feel like there is way more I should be using?
Things that i'm hoping people would know: Shortcut to find another class file, shortcut to jump to search for a method name in all classes in my workspace, etc.
Thanks!
A few options:
Hold the
fnkey and then pressf12(if your keyboard has anfnkey)Change the VS Code keybinding
Change your mac to use normal function keys:
System Preferences -> Keyboard -> Keyboard shortcuts -> Function Keys -> Use F1, F2, etc. as standard function keys
refer to the below Visual Studio Code URL https://code.visualstudio.com/docs/editor/editingevolved#_go-to-definition
For Macbook
Press COMMAND (i.e. ⌘) symbol and hover over a symbol for the preview of the definition.
You can also jump to the definition by with COMMAND button (i.e. ⌘) + Click or press COMMAND + OPTION + Click to open the definition to the side.