Opening, Viewing and Editing Files Flashcards
Describe the interface
How can you open files
From the File Menu
Drag and drop file on the application
Drag and drop the file on to application icon
How do we reopen the lost closed file
Command-Shift-t
What are the shortcuts to open and close files
Open: command-O
Close: Command-W
Ways to switch between tabs
Go to specific tab: Command-Number Key
Cycle throught tabs: Command-Option-left/right arrow
Cycle through tabs based on when last accessed: Control-Tab
Adjust line endings
Menu: View>Line Endings
Waht basic editing features does sublime text offer
Spellcheck: Menu: View > Spellcheck (F6)
Indent shortcuts: Command-[or]
Reindent document: Menu: Edit > Line > Reident
Automatic closing
Bracket matching (use Control-m to switch between postions)
Adjust character encoding
Menu: File > Reopen with Encoding then select appropriate option
What’s the benefit of saving a sublime text project
Its easy to switch between different sublime text projects.
When you save a sublimt text project. It creates 2 files
filename. sublimetext-project - info about folders, files that make up the project
filename. sublimtext-project.workspace - (info about what files are being worked on)
Command-Control-P to open up project pallete
What is shortcut for find?
What find options exist?
Command-F
Options: regular expression syntax, case, reverse direction, whole world, highlight matches, search in a selection, search
Navigating results
Find next Command-G
Find previous Command-Shift-G
Find and select all Option-Return
What is incremental search?
Command-I
Its a navigation technique, will find the next match (Command-G to go to next one). Press enter to move thecursor to that point.
What are options for finding replacing in 1 file and in multiple files?
Repalce - Command-Option-F
Replace across files - Command-Shift-F. You can slect files or fiolders to make the updates too.