# Register Compilers with CodeSnip

Before you can test compile a snippet you must first register one or more installed compilers with CodeSnip.

To do this you must tell CodeSnip how to find the compiler and configure the required options for it. There are three ways to do this:

1. Manually configure the compiler using the Configure Compilers dialogue box, accessed from the Tools | Configure Compilers dialogue box.

   Note: This is the only option available for Free Pascal.

2. Use the Detect Delphi Compilers button in the Configure Compilers dialogue box. This searches for any installed Delphi compilers that are not registered and registers them. Any compilers for which automatic detection has been disabled is ignored (see below).

3. By default CodeSnip checks for any un-registered installed version of Delphi at start-up, and offers to register them by popping up the Unregistered Delphi Installation(s) Detected Dialogue Box.

### Inhibiting Auto-Detection

If you don't want CodeSnip to detect any new, unregistered, Delphi compilers at startup you can switch the feature off entirely from the Unregistered Delphi Installation(s) Detected Dialogue Box, by ticking the Don't show this again check box. You can do the same thing from the Configure Compilers dialogue box by clearing the Automatically register newly installed Delphi compilers at startup check box.

Alternatively, if you don't want CodeSnip to automatically detect one or more specific Delphi compilers you can do that in the Configure Compilers dialogue box. You just need to clear the Permit auto-detection & registration of this compiler check box on a selected compiler's Compiler tab. If you do this then CodeSnip will not suggest registering that compiler at startup. The Configure Compilers dialogue box's Detect Delphi Compilers feature will ignore them too.

### (Re-)enabling Auto-Detection

Global automatic detection can be enabled from the Configure Compilers dialogue box by ticking the Automatically register newly installed Delphi compilers at startup check box.

Individually excluded compilers can be included in automatic detection again by ticking the Permit auto-detection & registration of this compiler check box on a selected compiler's Compiler tab in the Configure Compilers dialogue box.