Menu

[r2017]: / trunk / Src / Help / HTML / quickstart.htm  Maximize  Restore  History

Download this file

185 lines (184 with data), 7.4 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--
* $Rev$
* $Date$
*
* ***** BEGIN LICENSE BLOCK *****
*
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
* the specific language governing rights and limitations under the License.
*
* The Original Code is quickstart.htm
*
* The Initial Developer of the Original Code is Peter Johnson
* (http://www.delphidabbler.com/).
*
* Portions created by the Initial Developer are Copyright (C) 2005-2012 Peter
* Johnson. All Rights Reserved.
*
* ***** END LICENSE BLOCK *****
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text-html; charset=Windows-1252">
<title>
QuickStart Guide
</title>
<link rel="stylesheet" href="../css/codesnip.css" type="text/css">
</head>
<body>
<object
type="application/x-oleobject"
classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e"
>
<param name="ALink Name" value="QuickStart">
</object>
<h1>
<a
name="quickstart"></a>QuickStart Guide
</h1>
<p>
This is a guide to getting up and running quickly with <em>CodeSnip</em>.
</p>
<h2>
Download the database
</h2>
<p>
If you have not already done so, you need to get an up to date copy of
the <em>CodeSnip</em> database. You will know if this is the case because
the program will display a message to that effect when it first starts.
Use the <a
href="dlg_update.htm">Update From Web</a> dialogue box, reached from the
<em>Database | Update From Web</em> menu option.
</p>
<p>
If you need <em>CodeSnip</em> to access the internet via a Proxy Server
you should use the <em>Tools | Proxy Server</em> menu option and enter
information and the proxy in the resulting <a
href="dlg_proxyserver.htm">Proxy Server Configuration</a> dialogue box.
</p>
<h2>
Customise the Database
</h2>
<p>
You can add your own snippets to the database. These snippets are held
separately to the main database and are not affected by database updates.
If you wish you can submit user defined code to be considered for
inclusion in the main database.
</p>
<p>
Add, edit and delete snippets using the appropriate menu items on the
<em>Database</em> menu. You can also save, backup and restore the user
database from this menu.
</p>
<p>
Snippets can be categorised using any of the available categories or you
can defined your own.
</p>
<h2>
Navigating the database
</h2>
<p>
All the snippets in the database are displayed in the
<a href="overview_pane.htm">Overview Pane</a>, grouped in different ways
depending on which tab is selected. Select the name of a snippet in the
Overview Pane to display its source code, description and other
information in the Detail Pane. Any snippets required to compile
the displayed snippet are listed in the &quot;Required snippets&quot;
section. Clicking a snippet's name displays its details. Similar
snippets are accessible in the &quot;See also&quot; section. The
compilers the snippet is known to compile with are indicated at the bottom
of the display.
</p>
<p>
Clicking a section heading in the <a href="overview_pane.htm">Overview
Pane</a> displays a table listing all the snippets in that section in the
<a href="detail_pane.htm">Detail Pane</a>. Clicking any snippet name will
display the snippet's details.
</p>
<h2>
Searching the database
</h2>
<p>
You can search the database for specific words, for snippets that
compile (or don't compile) under certain compilers or for
cross-referenced snippets. Use the <a href="dlg_findtext.htm">Find
Text</a>, <a href="dlg_findcompiler.htm">Find Compiler</a> or
<a href="dlg_findxrefs.htm">File Cross References</a> dialogue boxes to
perform a search. These dialogues are accessed via the
<a href="menu_search.htm">Search</a> menu.
</p>
<p>
When a search has been performed only those snippets that are found are
listed in the <a href="overview_pane.htm">Overview Pane</a>. When a text
search is performed the found words are highlighted in the detail pane.
</p>
<p>
The list of snippets resulting from a search can be stored in a file for
later restoration. Use the <em>Save Selection</em> and <em>Load
Selection</em> options from the <em>File</em> menu to do this.
</p>
<p>
To cancel a search and view all the database again, select the <em>Search
| Show All</em> menu item.
</p>
<h2>
Test Compiling Snippets
</h2>
<p>
When any snippet is selected you can test it with any supported compilers
currently installed on your computer, provided it is not a
<a href="snippet_freeform.htm">freeform</a> snippet. To do this you must
first have configured <em>CodeSnip</em> to work with your compilers by
providing the required information in the
<a href="dlg_configcompilers.htm">Configure Compilers</a> dialogue box.
</p>
<p>
To perform a test compilation select the required snippet in the Overview
pane and choose <em>Compile | Test Compile Snippet</em> menu option. The
program will then compile the snippet and display the result in the
<a href="dlg_testcompile.htm">Test Compile Results</a> dialogue box. Full
details of any compiler errors or warnings can be displayed from this
dialogue box.
</p>
<h2>
Exporting Snippets
</h2>
<p>
<em>CodeSnip</em> can export snippets or complete units, as follows:
</p>
<ul>
<li>
Any selected routine can be exported to a file using the
<a href="dlg_savesnippet.htm">Save Snippet</a> dialogue box accessed
from the <em>File | Save Snippet</em> menu option.
</li>
<li>
Plain text copies of selected snippets can be copied to the clipboard
via the <em>Edit | Copy Snippet</em> or <em>Edit | Copy Source Code</em>
menu options.
</li>
<li>
Complete Pascal units can be generated and written to file. The unit
will contain all the currently selected snippets (i.e. those displayed
in the <a href="overview_pane.htm">Overview Pane</a>). You can
explicitly specify the selected snippets by using the
<a href="dlg_selectroutines.htm">Select Snippets</a> dialogue box
available via <em>Search | Select Snippets</em>. The unit is configured
and saved from the <a href="dlg_saveunit.htm">Save Unit</a> dialogue
box, displayed from the <em>File | Save Unit</em> menu option.
</li>
<li>
User-defined snippets can be exported to a file that can be imported by
other <em>CodeSnip</em> users.
</li>
</ul>
</body>
</html>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.