|
| 1 | +<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 | +<!-- |
| 3 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
| 4 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
| 5 | + * obtain one at https://mozilla.org/MPL/2.0/ |
| 6 | + * |
| 7 | + * Copyright (C) 2022, Peter Johnson (gravatar.com/delphidabbler). |
| 8 | + * |
| 9 | + * Hell topic describing how to register compilers with CodeSnip. |
| 10 | +--> |
| 11 | +<html> |
| 12 | + <head> |
| 13 | + <meta http-equiv="Content-Type" content="text-html; charset=Windows-1252"> |
| 14 | + <title> |
| 15 | + Register Compilers |
| 16 | + </title> |
| 17 | + <link rel="stylesheet" href="../css/codesnip.css" type="text/css"> |
| 18 | + </head> |
| 19 | + <body> |
| 20 | + <object |
| 21 | + type="application/x-oleobject" |
| 22 | + classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" |
| 23 | + > |
| 24 | + <param name="ALink Name" value="TaskRegisterCompilers"> |
| 25 | + </object> |
| 26 | + <h1> |
| 27 | + <a name="task_registercompilers"></a>Register Compilers with |
| 28 | + <em>CodeSnip</em> |
| 29 | + </h1> |
| 30 | + <p> |
| 31 | + Before you can <a |
| 32 | + href="task_testcompile.htm" |
| 33 | + >test compile</a> a snippet you must first register one or more installed |
| 34 | + compilers with <em>CodeSnip</em>. |
| 35 | + </p> |
| 36 | + <p> |
| 37 | + To do this you must tell <em>CodeSnip</em> how to find the compiler and |
| 38 | + configure the required options for it. There are three ways to do this: |
| 39 | + </p> |
| 40 | + <ol> |
| 41 | + <li> |
| 42 | + <p> |
| 43 | + Manually configure the compiler using the <a |
| 44 | + href="dlg_configcompilers.htm" |
| 45 | + >Configure Compilers</a> dialogue box, accessed from the <em>Tools | |
| 46 | + Configure Compilers</em> dialogue box. |
| 47 | + </p> |
| 48 | + <p class="bordered"> |
| 49 | + <strong>Note:</strong> This is the only option available for Free |
| 50 | + Pascal. |
| 51 | + </p> |
| 52 | + </li> |
| 53 | + <li> |
| 54 | + <p> |
| 55 | + Use the <em>Detect Delphi Compilers</em> button in the <a |
| 56 | + href="dlg_configcompilers.htm" |
| 57 | + >Configure Compilers</a> dialogue box. This searches for any installed |
| 58 | + Delphi compilers that are not registered and registers them. Any |
| 59 | + compilers for which automatic detection has been disabled is ignored |
| 60 | + (see below). |
| 61 | + </p> |
| 62 | + </li> |
| 63 | + <li> |
| 64 | + <p> |
| 65 | + By default <em>CodeSnip</em> checks for any un-registered installed |
| 66 | + version of Delphi at start-up, and offers to register them by popping |
| 67 | + up the <a |
| 68 | + href="dlg_registercompilers.htm" |
| 69 | + >Unregistered Delphi Installation(s) Detected Dialogue Box</a>. |
| 70 | + </p> |
| 71 | + </li> |
| 72 | + </ol> |
| 73 | + <h3> |
| 74 | + Inhibiting Auto-Detection |
| 75 | + </h3> |
| 76 | + <p> |
| 77 | + If you don't want <em>CodeSnip</em> to detect any new, unregistered, |
| 78 | + Delphi compilers at startup you can switch the feature off entirely from |
| 79 | + the <a |
| 80 | + href="dlg_registercompilers.htm" |
| 81 | + >Unregistered Delphi Installation(s) Detected Dialogue Box</a>, by ticking |
| 82 | + the <em>Don't show this again</em> check box. You can do the same thing |
| 83 | + from the <a |
| 84 | + href="dlg_configcompilers.htm" |
| 85 | + >Configure Compilers</a> dialogue box by clearing the <em>Automatically |
| 86 | + register newly installed Delphi compilers at startup</em> check box. |
| 87 | + </p> |
| 88 | + <p> |
| 89 | + Alternatively, if you don't want <em>CodeSnip</em> to automatically detect |
| 90 | + one or more specific Delphi compilers you can do that in the <a |
| 91 | + href="dlg_configcompilers.htm" |
| 92 | + >Configure Compilers</a> dialogue box. You just need to clear the |
| 93 | + <em>Permit auto-detection & registration of this compiler</em> check |
| 94 | + box on a selected compiler's <em>Compiler</em> tab. If you do this then |
| 95 | + <em>CodeSnip</em> will not suggest registering that compiler at startup. |
| 96 | + The <a |
| 97 | + href="dlg_configcompilers.htm" |
| 98 | + >Configure Compilers</a> dialogue box's <em>Detect Delphi Compilers</em> |
| 99 | + feature will ignore them too. |
| 100 | + </p> |
| 101 | + <h3> |
| 102 | + (Re-)enabling Auto-Detection |
| 103 | + </h3> |
| 104 | + <p> |
| 105 | + Global automatic detection can be enabled from the <a |
| 106 | + href="dlg_configcompilers.htm" |
| 107 | + >Configure Compilers</a> dialogue box by ticking the <em>Automatically |
| 108 | + register newly installed Delphi compilers at startup</em> check box. |
| 109 | + </p> |
| 110 | + <p> |
| 111 | + Individually excluded compilers can be included in automatic detection |
| 112 | + again by ticking the <em>Permit auto-detection & registration of this |
| 113 | + compiler</em> check box on a selected compiler's <em>Compiler</em> tab in |
| 114 | + the <a |
| 115 | + href="dlg_configcompilers.htm" |
| 116 | + >Configure Compilers</a> dialogue box. |
| 117 | + </p> |
| 118 | + </body> |
| 119 | +</html> |
| 120 | + |
0 commit comments