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.

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

Xcode

Xcode is and IDE from Apple that includes everything you need to create amazing apps for iPhone, iPad, Mac, Apple Watch, and Apple TV.

Commenting out line (or block)
shift + cmd + 7
Show/Hide Navigator
cmd + 0
Show/Hide Inspectors
cmd + alt + 0
Show/Hide Debug Console
cmd + shift + Y
Show Object Library
cmd + shift + L

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.

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)

macOS

Operativsystem från Apple för bland annat persondatorer under varumärket Mac. Ungefär 6% av världens persondatorer uppskattas använda macOS (2017).

F*cking backslash
alt + shift + 7 (Maybe only Swedish layout)
Pipe character
alt + 7 (Maybe only Swedish layout)
Screenshot entire screen
shift + cmd + 3
Screenshot snippingtool
shift + cmd + 4 (Add spacebar to capture a specific window)
Screenshot Tool (new)
shift + cmd + 5 (Only for macOS Mojave and above)
Lock Computer
shift + ctrl + power (Eject if you have one)

Google Chrome

Google Chrome är en webbläsare utvecklad av Google. Chromium är ett open source-projekt bakom Google Chrome.

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