📄 认识 codewarrior.htm
字号:
entire IDE -- in a later lesson. For now, notice that this toolbar
can be used to quickly access features within the IDE.</P>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD><IMG height=85
alt="Figure 1-1: The CodeWarrior IDE toolbar."
src="认识 CodeWarrior.files/icwwL1_fig1.gif" width=505
align=left> </TD></TR>
<TR>
<TD align=middle><FONT size=1><I>Figure 1-1: The CodeWarrior
IDE toolbar.</I></FONT> </TD></TR></TBODY></TABLE>
<P><B><FONT size=+1>File Menu</FONT></B></P>
<P>The menus in the CodeWarrior IDE are set up in a relatively
standard manner. The File menu contains choices that manage the care
and feeding of files. It has standard items that let you create,
open, save, and print files. </P>
<P><B><FONT size=+1>Edit Menu</FONT></B></P>
<P>The Edit menu will also seem familiar if you use other Windows
applications. You'll find commands that cut, copy, and paste text,
as well as a few other options to help programmers more easily
manage source code layout. There is also a Preferences item in the
Edit menu that we'll discuss later in this lesson.</P>
<P><B><FONT size=+1>View Menu</FONT></B></P>
<P>The View menu (Figure 1-2) gives you options to manage which
toolbars and other windows are displayed in the CodeWarrior
environment. Some of these windows include various specialty
windows, such as the Watchpoints window, Expressions window,
Processes window, and Global Variables window.</P>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD><IMG height=397
alt="Figure 1-2: The Toolbar submenu of the View Menu."
src="认识 CodeWarrior.files/icwwL1_fig2.gif" width=500
align=left> </TD></TR>
<TR>
<TD align=middle><FONT size=1><I>Figure 1-2: The Toolbar
submenu of the View Menu.</I></FONT> </TD></TR></TBODY></TABLE>
<P><B><FONT size=+1>Search Menu</FONT></B></P>
<P>The Search menu's commands allow you to locate source code within
a single file, or within the directories of your hard disk. You can
also easily replace large blocks of text or search your source code
for references to other source code. These tools can be very handy,
even for small projects.</P>
<P><B><FONT size=+1>Project Menu</FONT></B></P>
<P>Tools in the Project menu allow you to manage CodeWarrior
projects. A project includes all of the files that make up a program
you are writing, including its headers, source code, and libraries.
The Project window serves as a container for these files. We'll
discuss this in more depth in Lesson 2.</P>
<P><B><FONT size=+1>Debug Menu</FONT></B></P>
<P>When your source code doesn't do exactly what you want it to (or
your computer crashes when you run your program), you'll develop a
close relationship with the items on the Debug menu. We'll discuss
debugging in Lesson 5.</P>
<P><B><FONT size=+1>Window Menu</FONT></B></P>
<P>The Window menu gives you the basic options to manage cascading
and tiling windows in the CodeWarrior environment. </P>
<P><B><FONT size=+1>Help Menu</FONT></B></P>
<P>Lastly, use the Help menu to get online help with just about any
item in CodeWarrior. Pretty cool setup, huh?</P></FONT>
<P> </P>
<P><FONT face="Arial, Helvetica, sans-serif" color=#000000
size=3><B><B>Getting to Know IDE
Preferences</B></B><BR></FONT><BR></P><FONT
face="Arial, Helvetica, sans-serif" size=2>
<P>The CodeWarrior IDE has numerous preferences that you can use to
customize your work environment. You may only want to change the
text color, or you might want to get more personal, changing lots of
settings. When you select Preferences from the Edit menu, you are
presented with the IDE Preferences dialog box (Figure 1-3). There,
you'll find options that control the appearance and behavior of the
CodeWarrior editor, debugger, and lots more. In this section, we'll
take a look at these preferences.</P>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD><IMG height=420
alt="Figure 1-3: The Preferences dialog box."
src="认识 CodeWarrior.files/icwwL1_fig3.gif" width=622
align=left> </TD></TR>
<TR>
<TD align=middle><FONT size=1><I>Figure 1-3: The Preferences
dialog box.</I></FONT> </TD></TR></TBODY></TABLE>
<P>As each item is described below, follow along in your own copy of
CodeWarrior, and check out the various options available. You can
get additional help by clicking on the question mark, then the item
you're interested in. You'll see a terse description of the selected
item's purpose. More detailed information is also available from the
Help menu. </P>
<P><B><FONT size=+1>The General Preferences</FONT></B>
<UL>
<LI><B>Build Settings:</B> Choose whether to save open-source code
files before performing a build and how much memory to use while
building.
<LI><B>IDE Extras:</B> Various settings that don't belong anywhere
else. Here's where you can have CodeWarrior interoperate with a
third-party text editor. The integration of editors with the IDE
is often less than perfect, but this limitation may be offset by
the ability to use an editor that you know and like.
<LI><B>Plug-In Settings: </B>Used by plug-in developers to assist
in the debugging of plug-ins.
<LI><B>Shielded Folders:</B> Directories listed here are skipped
(ignored) during project and/or find and compare operations. This
can be useful if you have a large directory of "data" files inside
your project hierarchy yet you do not want those files to slow
down certain operations of CodeWarrior.
<LI><B>Source Trees:</B> This lets you specify directories other
than the standard ones CodeWarrior searches when it builds a
program. </LI></UL>
<P><B><FONT size=+1>Editor Preferences</FONT></B>
<UL>
<LI><B>Editor Settings:</B> Various settings to customize the way
the Editor displays and manages text and windows.
<LI><B>Fonts and Tabs:</B> Text size, font, tab, and other display
settings for the Editor windows.
<LI><B>Text Colors:</B> Like the browser display, you choose the
color in which certain language elements (such as comments) appear
in the Editor window. </LI></UL>
<P><B><FONT size=+1>Debugger Preferences</FONT></B>
<UL>
<LI><B>Display Settings:</B> Various settings to customize the
display of the debugger.
<LI><B>Windowing:</B> How the debugger manages its windows (e.g.,
hiding any open editor windows).
<LI><B>Global Settings:</B> Various settings that customize how
the debugger works on a global level, such as whether to launch a
program when you open a file that contains the program's debugging
information.
<LI><B>Remote Connections:</B> Allows debugging over TCP/IP. You
can debug software on a computer on the other side of the Earth!
<LI><B>Java Settings/Java Debugging:</B> Allows you to set
specific java programming language options, not covered in this
course. </LI></UL>
<P><B><FONT size=+1>RAD Tools</FONT></B>
<UL>
<LI><B>Layout Editor:</B> Various settings to customize the use of
rapid application development tools within CodeWarrior. </LI></UL>
<P>As you can see, there are numerous settings and options that can
be set. Clicking the Save button will save any changes you've made.
Clicking the Close box for the Preferences window will cause
CodeWarrior to ignore any changes you've made. Go ahead and play
with it a little before you proceed to the next lesson. Make sure
the Default Text File Format (in the Editor Settings panel) remains
set for DOS.</P></FONT>
<P align=center> </P>
<P><FONT size=1> </FONT><FONT size=1><A
href="http://www.withwind.net/study.htm"></A></FONT></P></TD></TR></TBODY></TABLE></CENTER></DIV></TD></TR>
<TR>
<TD width="100%">
<P align=right><NOBR><INPUT onclick=self.close(); type=button value="关闭此窗口 "></NOBR>
</P></TD></TR>
<TR>
<TD width="100%">
<HR width="96%" color=#000000 noShade SIZE=1>
</TD></TR>
<TR>
<TD class=font width="100%">
<P align=center>Copyright(C) 2000 <A
href="http://www.tsinghua-solution.com.cn/"
target=_blank>北京清华北方思路信息技术有限公司</A> 版权所有<BR>未经许可,不得转载、摘登、结集出版<BR>联系电话:(8610)-62978899-146</P></TD></TR></TBODY></TABLE></CENTER></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -