In some IDEs, Intellij IDEA for example, pressing control + j
will display the docstring like this question. How do I get similar functionality for VS code?
To launch the Define Keybinding widget, press Ctrl+K Ctrl+K. The widget listens for key presses and renders the serialized JSON representation in the text box and below it, the keys that VS Code has detected under your current keyboard layout.
Download this and alt + D will duplicate your selection or if nothing is highlighted it will duplicate the entire line.
You can define a keyboard shortcut for any task. From the Command Palette (Ctrl+Shift+P), select Preferences: Open Keyboard Shortcuts File, bind the desired shortcut to the workbench.
The best I've found is cmd + shift + space for mac
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With