Shortcuts

Visual Studio Code

Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.

Function

Mac

Windows

Move line
alt + down (or up)
alt + down (or up)
Duplicate line
alt + shift + down (or up)
alt + shift + down (or up)
Delete line
shift + cmd + K
shift + ctrl + K
Commenting out line (or block)
shift + cmd + 7
shift + alt + a
Mark next matching word
cmd + D
ctrl + D
Find file in project
cmd + P (then just start to type the filename)
ctrl + P (then just start to type the filename)
Multi-line cursor
alt + mouse click
alt + mouse click

Notepad++

Notepad++ is a free (as in "free speech" and also as in "free beer") source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GPL License.

Function

Description

Add text to beginning of each line

Press Ctrl-H to bring up the Find/Replace Dialog.
Choose the "Regular expressions" checkbox near the bottom of the dialog.

To add "test" to the beginning of each line, type ^ in the "Find what" field, and "test" in the "Replace with" field. Then hit "Replace All".

Add text to the end of each line

Press Ctrl-H to bring up the Find/Replace Dialog.
Choose the "Regular expressions" checkbox near the bottom of the dialog.

To add "test" to the end of each line, type $ in the "Find what" field, and "test" in the "Replace with" field. Then hit "Replace All".

Remove last X numbers of characters on every line

You can use a regular expression in the search and replace-dialog (Ctrl-H) that is anchored to the end of the line: .{13}$

Then replace it with nothing. This will remove the 13 last characters, so just change number to anything you want.

Multiple Cursors

Go to Settings > Preferences..., and in the Editing tab, turn on multi-editing, to enable selection of multiple separate regions or columns of text to edit at once.

Then press ctrl + d to add a cursor?

Column Mode Editing
alt + mouse drag or alt + shift + arrow keys
Move line
ctrl + shift + down (or up)

Google Chrome

Google Chrome is a web browser developed by Google. It allows users to access and browse the internet, view web pages, and interact with online content. Chrome is known for its speed, security features, and minimalist design.

Function

Mac

Windows

Developer Tools
cmd + alt + I
F12
Hard page refresh
cmd + shift + R
ctrl + shift + R
Reopen closed tab
cmd + shift + T
ctrl + shift + T
Move to the tab in position (number)
cmd + number (1-9)
ctrl + number (1-9)
Open link in a new tab
cmd + mouse click
ctrl + mouse click
Highlight the URL in the address bar
cmd + L
ctrl + L
Open Downloads page
cmd + shift + J
ctrl + shift + J