0% found this document useful (0 votes)
228 views

Brackets Cheat Sheet-PC

This cheat sheet provides keyboard shortcuts for navigating, editing, and working with code in the Brackets text editor across various functions: 1) shortcuts for cursor placement and selection, 2) shortcuts for finding, replacing, and navigating code, and 3) shortcuts for writing and editing code like commenting, indentation, and moving lines of code. The sheet also includes notes on usage for many of the shortcuts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
228 views

Brackets Cheat Sheet-PC

This cheat sheet provides keyboard shortcuts for navigating, editing, and working with code in the Brackets text editor across various functions: 1) shortcuts for cursor placement and selection, 2) shortcuts for finding, replacing, and navigating code, and 3) shortcuts for writing and editing code like commenting, indentation, and moving lines of code. The sheet also includes notes on usage for many of the shortcuts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Brackets Cheat Sheet – PC

(index.html)
Expand All Collapse All

Workspace
Keyboard Shortcuts Notes

Ctrl++ Increase Font Size Working Files can be sorted by name, type or order added by
clicking on the Gear icon
Ctrl+- Decrease Font Size
Or you can drag them into your own desired order.
Ctrl+0 Return to Default
Change Projects by clicking on the project name and choosing a
Ctrl+Shi +H Hide/Show the Sidebar di erent project
Ctrl+Alt+P Live Preview Set your tab/spacing preferences at the bottom right corner by
clicking on Tab/Spaces and the number
Ctrl+Shi +C Live Preview Highlight
Look at the bottom status bar for information on Linting Errors,
From menu Turn Line Numbers on/o
current line/column and more
From menu Turn Word Wrap on/o

Opening Closing/Files
Keyboard Shortcuts Notes

Ctrl+Shi +O Quick Open You can drag a file from Explorer/Finder into Brackets to open it

Ctrl+W Close Current File You can open files by right-clicking on them and opening in
Brackets
Ctrl+Shi +W Close All Files
Setting the default open to Brackets will depend on your
Ctrl+O Open a File operating system
Ctrl+N New File Right-click on files/folders in sidebar to rename, delete or reveal
in Explorer/Finder
Ctrl+Alt+R Switch Project
F2 Rename current file

Writing/Editing Code
Keyboard Shortcuts Notes

Ctrl+X Delete/Cut line/selection When using a shortcut to copy/delete/cut code, if you have a
selection made, that is what will get copied or cut. If you don't
Ctrl+D Duplicate line/selection have an active selection, the current line will get copied or cut.
Ctrl+C Copy line/selection You can get comments to line up with your code if you select all
Ctrl+V Paste line/selection the text on the line and do a block comment instead of a single
line comment.
Ctrl+/ Single line comment
When copying a block of code, make sure you select from the
Ctrl+Shi +/ Block comment beginning of the first line to the end of the last line, instead of
Ctrl+Enter Add a new line a er the current line just the beginning and the end of text.

Ctrl+Shi +Enter Add a new line before the current line

Cursor Placement
PC Keyboard Shortcuts
→ Move to the le
← Move to the right
↑ Move up one line
↓ Move down one line
Ctrl+→ Move to next word
Ctrl+← Move to previous word
Alt+→ Move to the end of line
Alt+← Move to the beginning of the line
Ctrl+Home Move to the beginning of file
Ctrl+End Move to the end of file
Ctrl+↑ Scroll up
Ctrl+↓ Scroll down

Selecting Code
PC Keyboard Shortcuts Notes

Ctrl+L Select the current line The PC and Mac shortcuts have some more complicated
di erences than normal for this section, so make sure you
Ctrl+B Select the current word understand how it works on your system.
Ctrl+A Select all the text
Shi +→ Select the next character
Shi +← Select the previous character
Shi +↑ Select the previous line
Shi +↓ Select the next line
Shi +Alt+→ Select next word
Shi +Alt+← Select previous word
Shi +Cmd+→ Select to the end of line
Shi +Cmd+← Select to the beginning of line
Shi +Cmd+Home Select to the beginning of file
Shi +Cmd+End Select to the end of file

Moving Code
Keyboard Shortcuts

Ctrl+Shi +↑ Move current line/selection up

Ctrl+Shi +↓ Move current line/selection down


Ctrl+] Indent Right
Ctrl+[ Indent Le
Tab Indent Right (when lines are selected)
Shi +Tab Indent Le

Quick Edit
Keyboard Shortcuts Notes

Ctrl+E Open/Close Quick Edit You can have multiple Quick Edit windows open

Alt+↓ Go to next rule in list If your cursor is inside of a Quick Edit window, ESC will only
close that window
Alt+↑ Go to previous rule in list
If your cursor is in the original document, hitting ESC will close
Esc Close Quick Edit all Quick Edit windows
Ctrl+N Create a New Rule You can access the Color Picker or Transition Editor by starting
Quick edit on a color or transition value while in a CSS, Sass or
Less file.

Find & Replace


Keyboard Shortcuts Notes

Ctrl+F Find The case sensitive toggle in the find screen will stay set and will
be used for any find operations – even when find panel is closed
F3 Find Next
The "Replace" button will replace the highlighted word. The
Shi +F3 Find Previous "Batch" button will allow you to first see everywhere the word is
Ctrl+Shi +F Find in Files found and then pick and choose where you want to replace with
the new word.
Ctrl+H Replace
When finding across files in a folder or project, you can deselect
Ctrl+Shi +H Replace in Files an entire file or specific lines in the file for Batch replacement.

Multiple Cursors
Keyboard Shotcuts Notes

Ctrl+B Add next match to your selection Splitting your selection into lines gives you multiple cursors

Ctrl+Shi +B Skip and add next match Any editing you do will happen at each cursor position
Knowing how to move your cursor placement shortcuts will
Ctrl+U Undo last selection change
make this tool even more powerful
Ctrl+Shi +U Redo last selection change
Alt+F3 Find all and select
Ctrl+Click Add to your selection
Alt+Click+Drag Select a column
Alt+Shi +↑ Add Cursor to Previous Line
Alt+Shi +↓ Add Cursor to Next Line
Ctrl+Alt+L Split Selection Into Lines
Esc Switch to a Single Selection

Navigation (Go To)


Keyboard Shortcuts Notes

Ctrl+E Quick Edit The Quick Open, Find Defintion and Go to Line all use the same
panel, so if you pick the wrong one, you can change your mind
Ctrl+J Jump to Definition by typing :, @ or nothing.
Ctrl+Shi +O Quick Open
Ctrl+T Go to Definition
Ctrl+G Go to Line
Ctrl+K Quick Docs

You might also like