Datasheet

92 PSoC Designer IDE Guide, Document # 001-42655 Rev *B
Code Editor
4.2 Working in Code Editor
Before you begin adding and modifying files, take a few moments to navigate Code Editor, take
inventory of your current files, and map out what you plan to do and how you plan to do it.
4.2.1 Modifying Files
When you are ready to program and modify assembly language source files, double-click the target
file located in the file source tree. The file opens and appears in the main active window. You can
open multiple files simultaneously. Table 4-2 details the menu options available for modifying source
files.
Table 4-2. Menu Options for Modifying Source Files
Icon Option Menu Shortcut Feature
Compile/Assemble Build > Compile [Ctrl] [F7]
Compiles or assembles the
open, active file (
.c or .asm)
Build Current Project Build > Build Project
Generate and Build All
Projects
Build > Generate/Build All
Projects
[Shift] [F6]
Build
Build > Generate/Build cur-
rent project
[F6]
Builds the entire project and
links applicable files
New File File > New [Ctrl] [N] Adds a new file to the project
Open File File > Open [Ctrl] [O]
Opens an existing file in the
project
Indent Indents specified text
Outdent Outdents specified text
Comment [Ctrl][E]+[C] Comments selected text
Uncomment [Ctrl][E]+[U] Uncomments selected text
Toggle Bookmark
Edit > Bookmarks > Toggle
Bookmark
[Ctrl] [B] +
[T]
Toggles the bookmark: Sets/
removes user-defined book-
marks used to navigate source
files
Clear Bookmarks
Edit > Bookmarks > Clear
Bookmarks
[Ctrl] [B] +
[C]
Clears all user-defined book-
marks
Next Bookmark
Edit > Bookmarks > Next
Bookmark
[Ctrl] [B] +
[N]
Goes to next bookmark
Previous Bookmark
Edit > Bookmarks >
Previous Bookmark
[Ctrl] [B] +
[P]
Goes to previous bookmark
Find Text Edit > Find and Replace [Ctrl] [F] Find specified text
Undo Edit > Undo [Ctrl] [Z] Undo last action
Redo Edit > Redo [Ctrl] [Y] Redo last action