📄 ccide.hsc
字号:
\par \tab Replace\tab Replace a string
\par \tab To Upper Case\tab The selected text in the edit window is converted to upper case
\par \tab To Lower Case\tab The selected text in the edit window is converted to lower case
\par \tab Indent Selection\tab Indents the selected area by one tab spacing
\par \tab UnIndent Selection\tab Moves the indent of the selected area backwards
\par \tab Select all\tab Select the entire text
\par \tab Goto Line\tab A dialog will be displayed, asking for a line number to position to
\par \f1
\par \f0\tab
\par The right-click menu in each edit window has the following settings:
\par
\par \tab Save file\tab This saves the file in the current window
\par \tab Cut/Copy/Paste\tab This is standard windows functionality. The Clipboard is supported.
\par \tab Toggle Bookmark\tab The line the cursor is on will have its bookmark turned on or off
\par \tab Goto Line\tab A dialog will be displayed, asking for a line number to position to
\par \tab Toggle Breakpoint\tab The line the cursor is on will have its breakpoint status turned on or off
\par \tab Run To Cursor\tab When in debug mode, the program will run until it reaches the cursor position
\par \tab Add To Watch\tab When in debug mode, the variable name under the cursor will be added to the watch window
\par
\par \pard\ri1440\tx660\tx2820 Pressing CTRL-F1 will bring up help for the word under the cursor. What words actually have help depends largely on the help file installed. See the section \cf2\strike Platform Help\cf3\strike0\{linkID=90\}\cf0 for details.
\par }
30
Scribble30
Project Window
Writing
FALSE
44
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Arial;}{\f1\fnil Arial;}}
{\colortbl ;\red0\green0\blue255;\red0\green128\blue0;\red128\green0\blue0;}
\viewkind4\uc1\pard\ri1420\tx700\tx2800\cf1\b\fs32 Project Window\cf0\b0\f1\fs20
\par
\par \f0 The project window shows a list of targets to build. Each target is an EXE or DLL file. Underneath each target is a list of all the source files which are required to make the target. Clicking on a file opens up an edit window for that file. When a build is requested, CCIDE parses through the list of files to see which ones have changed, and spawns an appropriate compiler for each one.
\par
\par The following items are available on the main menu, under the PROJECTS subheading:
\par \pard\fi-2860\li2860\ri1400\tx680\tx2780
\par \pard\fi-2800\li2800\ri1380\tx660\tx2760\tab New Project\tab This closes the current project and starts a new one
\par \tab Open Project\tab This opens an existing project
\par \tab Save Project\tab This saves the current project to disk, if it has changed
\par \tab Close Project\tab This closes the current project
\par \pard\fi-2780\li2780\ri1380\tx660\tx2760\tab Add Target\tab This adds brings up a dialog, and adds a new target (exe file or DLL) to the project window
\par
\par
\par The following items are available on the main menu, under the BUILD subheading:
\par
\par \tab Compile File\tab This compiles the file in the currently selected edit window
\par \tab Make\tab This compiles all source files which have changed
\par \tab Build All\tab This compiles every source file in the project window, regardless of whether it has changed or not.
\par \tab Generate Make File\tab This takes the project and generates a make file for use with the command line tools.
\par
\par The following items are available on the main menu, under the FILE subheading:
\par
\par \tab Recent Projects\tab This brings up a list of recent projects to select from
\par
\par The following items are available on the Project window right-click menu:
\par
\par \tab Add File\tab When a target or file is selected, this will allow a new source file to be added under the given target Multiple files may be added at one time, and will be inserted in alphabetical order.
\par \tab Remove File\tab Removes the selected source file
\par \tab Add Target\tab Adds a new target to the window
\par \tab Remove Target\tab Removes the selected target from the window
\par \tab Calculate Dependencies\tab Calculates a list of all dependent files, to be used for build purposes
\par \tab Compile File\tab This compiles the file in the currently selected edit window
\par \tab Make\tab This compiles all source files which have changed
\par \tab Build All\tab This compiles every source file in the project window, regardless of whether it has changed or not.
\par \tab Open File\tab When a source file is selected, open it up. This is the same as double-clicking on the source.
\par \tab Properties\tab Brings up the \cf2\strike Target Properties\cf3\strike0\{linkID=131\}\cf0 pane for the selected target.
\par
\par \pard\ri1380\tx660\tx2760 The following items are available on the Editor tab of the main properties window. Select the FILE menu, then PROPERTIES to get to this window.
\par
\par \pard\fi-2780\li2780\ri1380\tx660\tx2760\tab Backup Project\tab Selecting this will force the project to be backed up any time it is saved.
\par \f1
\par }
40
Scribble40
Information Windows
Writing
FALSE
14
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Arial;}{\f1\fnil Arial;}}
{\colortbl ;\red0\green0\blue255;}
\viewkind4\uc1\pard\ri1440\cf1\b\fs32 Information Windows\cf0\b0\f1\fs20
\par
\par \f0 The Information window has four tabs. The tabs will generally auto-select themselves when information is being displayed in them, or they can be manually selected at any time.
\par
\par The Build tab gives information about the compile in progress; errors and general status can be viewed here. Clicking on an error line will bring up that line in an edit window.
\par
\par The Debug tab gives information about the debug status, such as what DLLs and THREADs are starting or ending. It also displays messages from the program that are sent via the OutputDebugString API function.
\par
\par The Find In Files 1 tab is the main output window for results of grep operations.
\par
\par The Find In Files 2 tab is similar; the output of grep operations are sent to this window when the 'output to window 2' box is clicked on the Find In Files dialog.\f1
\par }
50
Scribble50
Integrated Debugger
Writing
FALSE
31
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Arial;}{\f1\fnil Arial;}}
{\colortbl ;\red0\green0\blue255;\red0\green128\blue0;\red128\green0\blue0;}
\viewkind4\uc1\pard\ri1440\cf1\b\fs32 Integrated Debugger\cf0\b0\f1\fs20
\par
\par \f0 The debugger is a full-featured debugger. Providing that the executable is compiled in such a way as to enable debug information, all features are available once the debugger has started. Note that in this version of the IDE, breakpoints may be set while the debugger is stopped; this allows the possibility of setting breakpoints before the program starts.
\par
\par To start the debugger, open the Debug menu and press Start Debugging. At this point the program will start, and run until it hits a breakpoint. If the Break In Winmain box is checked on the debug pane of the \cf2\strike Target Properties\cf3\strike0\{linkID=130\}\cf0 dialog, the program will stop at the beginning of main() or WinMain(). An arrow will appear next to the line the programs stops at as a visual queue as to where it is.
\par
\par Note that when the debugger stops on a function declaration, the stack is not set up yet. Therefore, it is not possible to accurately determine where the function's variables are; most variables will appear as 'out of scope' until the function is stepped into
\par
\par The following items are available on the Debug menu:
\par \pard\fi-2820\li2820\ri1440\tx700\tx2800
\par \tab Start Debugging\tab Starts the debugger
\par \tab Stop Debugging\tab Stops the debugger
\par \tab Run\tab Starts the program if it is at a breakpoint
\par \tab Stop\tab Stops the program if it is running. This inserts an artificial breakpoint long enough to get the program to stop.
\par \tab Toggle Breakpoint\tab Toggles the breakpoint at the selected line into the opposite state
\par \tab Remove Breakpoints\tab Removes all breakpoints
\par
\par Note that there is a button on the toolbar which will turn the debugger on and off as well.
\par
\par The following items are available on the right-click menu in the Editor menu:
\par
\par \tab Toggle Breakpoint\tab Toggle the breakpoint marker at the current line
\par \tab Run To Cursor\tab Run the program and stop at the position the cursor is at
\par \tab Add To Watch\tab Add the variable under the cursor to the watch window
\par
\par \pard\ri1440\tx680\tx2780 A variety of debug properties exist on the properties pane of the \cf2\strike Debug Properties\cf3\strike0\{linkID=132\}\cf0 dialog.
\par
\par \pard\ri1440\f1
\par }
60
Scribble60
Debugging Windows
Writing
FALSE
18
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Arial;}{\f1\fnil Arial;}}
{\colortbl ;\red0\green0\blue255;\red0\green128\blue0;\red128\green0\blue0;}
\viewkind4\uc1\pard\ri1440\cf1\b\fs32 Debugging Windows\cf0\b0\f1\fs20
\par
\par \f0 CCIDE has several ancilliary windows used for helping to debug. Most of these windows are available by selecting VIEW from the main menu, then selecting DEBUG WINDOWS. However the register window is actually in the project pane.
\par
\par Note that when you stop the debugger, CCIDE will make a list of which debugging windows were open and then close them. It will reopen them again at the same position the next time the debugger is started.
\par
\par The debugging windows are as follows:
\par
\par \pard\ri1440\tx680\tx3680\tab\cf2\strike Watch Window\cf3\strike0\{linkID=140\}\cf0\tab Shows the value of variables
\par \tab\cf2\strike Assembly Window\cf3\strike0\{linkID=150\}\cf0\tab Shows an assembly language listing
\par \tab\cf2\strike Memory Window\cf3\strike0\{linkID=160\}\cf0\tab Shows a memory dump
\par \tab\cf2\strike Stack Window\cf3\strike0\{linkID=170\}\cf0\tab Shows a backtrace of the stack
\par \tab\cf2\strike Threads Window\cf3\strike0\{linkID=180\}\cf0\tab Shows a list of threads
\par \tab\cf2\strike Register Window\cf3\strike0\{linkID=190\}\tab\cf0 Shows registers
\par \cf3\tab\cf2\strike Hardware Breakpoints\cf3\strike0\{linkID=195\}\cf0\tab Shows/Sets hardware breakpoints\f1
\par }
70
Scribble70
Find in Files
Writing
FALSE
19
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Arial;}{\f1\fnil Arial;}}
{\colortbl ;\red0\green0\blue255;\red0\green128\blue0;\red128\green0\blue0;}
\viewkind4\uc1\pard\ri1440\cf1\b\fs32 Find in Files\cf0\b0\f1\fs20
\par
\par \f0 The Find In Files menu item is on the Editor menu. When it pressed it brings up a dialog box which controls the process of locating strings in files. Strings that are found will be displayed in one of the panes of the error window. Also, a visual indication is given to the left of the edit window as to which lines in the file match the expression.
\par
\par The Find In Files dialog has the following options:
\par \pard\fi-2820\li2820\ri1440\tx720\tx2780
\par \pard\fi-2760\li2760\ri1440\tx720\tx2760\tab Find What\tab type the item that is to be found
\par \tab File Type\tab select a file type
\par \tab In Directory\tab select a directory to search in
\par \tab Regular Expressions\tab determines wether to use a direct search or \cf2\strike regular expressions\cf3\strike0\{linkID=250\}\cf0 .
\par \tab Match Case\tab determines whether the search is case-insensitive
\par \tab Output to Window 2\tab normally output goes to Find In Files 1 pane of the error window; Checking this selects Find In Files 2 pane for the output.
\par \pard\fi-2820\li2820\ri1440\tx720\tx2780
\par \pard\ri1440 Using Find In files implicitly spawns the command-line GREP program.
\par
\par Note that the lines output to the Find In Files window will cause a tag to appear next to the line of code the output corresponds to.\f1
\par }
75
Scribble75
Find and Replace
Writing
FALSE
28
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Arial;}{\f1\fnil Arial;}}
{\colortbl ;\red0\green0\blue255;\red0\green128\blue0;\red128\green0\blue0;}
\viewkind4\uc1\pard\ri1440\cf1\b\fs32 Find and Replace\cf0\b0\f1\fs20
\par
\par \f0 CCIDE uses a variation of the standard windows find and replace dialog boxes. The main difference is that the CCIDE version of the dialog has an option to allow \cf2\strike regular expression\cf3\strike0\{linkID=250\}\cf0 matching. CCIDE will also show a history of previously used expressions in a pulldown window.
\par
\par The Find dialog has the following options:
\par \pard\fi-2800\li2800\ri1440\tx700\tx2780
\par \tab Match Whole Word Only\tab makes sure that any match made matches an entire word
\par \tab Match Case\tab allows for the possibility of case sensitive or case insensitive matches
\par \tab Regular Expressions\tab turns on regular expression matching
\par \tab Direction\tab Allows the find operation to go either forward or backward through the file.
\par
\par The Find dialog has the following buttons:
\par
\par \tab Find Next\tab Finds the next match
\par \tab Cancel\tab Exits the dialog
\par
\par You can also find text by hitting the ENTER key, and exit by hitting ESC.
\par
\par \pard\ri1440\tx680\tx2760 The replace dialog has similar options, except the direction option does not exist and all matches are in the forward direction.
\par
\par \pard\fi-2800\li2800\ri1440\tx700\tx2780 The replace dialog has the following additional keys:
\par
\par \tab Replace\tab Replace the selected text and find the next match
\par \tab Replace all\tab Replace all occurrences of the text.
\par \pard\tab\f1
\par }
77
Scribble77
Open File Dialog
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -