
If you want to create a duplicate line in Visual Studio Code, make use of the below keyboard shortcuts,
To create a duplicate line above the current line
Key the cursor on the line you want to duplicate,
Windows: Shift + Alt + Up Arrow Key ↑
Mac: Shift + ⌥ Option + Up Arrow Key ↑
Linux: Control + Shift + Alt + Up Arrow Key ↑
To create a duplicate line below the current line
Key the cursor on the line you want to duplicate,
Windows: Shift + Alt + Down Arrow Key ↓
Mac: Shift + ⌥ Option + Down Arrow Key ↓
Linux: Control + Shift + Alt + Down Arrow Key ↓
-
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to HowTos,
- Fix NVIDIA GeForce Experience ERROR CODE 0x0003
- How to convert byte array to String [Kotlin]
- Unzip a Zip file from Terminal Command
- How to write hello world different languages syntax
- [Error] zsh: command not found: mvn
- How to know the version of OpenSSL
- [Solution] IDEA IntelliJ System.out.println function shortcut (sysout alternative for eclipse IDE)
- The default username and password for RabbitMQ
- ChatGPT Outage: Hmm...something seems to have gone wrong. Maybe try me again in a little bit.
- How to check the version of NodeJS installed
- Gmail Unable to upload because it is a folder or a package (like an application bundle or RTFD document)
- How to remove password from pdf file
- BSNL Broadband upgrades speed to minimum 2MBps for all users 512Kbps 1Mbps
- MongoDB: Failed to connect to 127.0.0.1:27017 reason: Connection refused
- Turn off Focus Mode on Mac
- Steps to Delete or Deactivate Instagram Account
- [IRCTC] Indian railways official eRail API 1.1 for developers to get train info
- CentOS Cannot find a valid baseurl for repo base7x86_64 yum
- Why I see Download pre-built shared indexes in IntelliJ
- Copy file from a remote server to current local directory system using SCP command
- [Fix] Minecraft Error: A JNI error has occurred, please check your installation and try again
- How to install Zsh shell
- Merge multiple zip files without unzipping (extracting)
- How to find someone on Instagram
- How to get an embed code from Vimeo?
More Posts:
- Setting up JUnit 5 dependency with Maven Example - Java
- How to fix: You will need Google Chrome to install most apps, extensions and themes. - Chrome
- Python: Pandas Rename Columns with List Example - Python
- How to Center Align Image in Bootstrap - CSS
- How to delete SharePoint List Item programmatically using C#.Net - SharePoint
- Page actions are temporarily disabled [Google Search Console Page Crawling] - Google
- Bash Command To Go Back To Previous Directory - Bash
- How to revert a single file from Git Repo - Git