Previous Next
Integrating Codewright

Prerequisites

Connecting Codewright to SNiFF+
To connect Codewright to SNiFF+, complete the following steps

    Note
    We assume that you installed Codewright in the following directory:
C:\codewright

  1. Copy the cwsniff.dll file from
    %SNIFF_DIR%\integrations\codewright-5.0 to C:\codewright
  2. Make a backup of your old C:\codewright\cwright.ini file.
  3. Copy the cwright.ini file from
    %SNIFF_DIR%\integrations\codewright-5.0 to C:\codewright
  4. If you want, merge your old cwright.ini file with the one supplied by us. See also Merging the old cwright.ini file with the new cwright.ini file
  5. Make sure SNiFF+ can start Codewright by setting your PATH environment variable to:
    PATH=%PATH%;C:\codewright

        Note
        You can have only one Codewright-SNiFF+ connection active at a given time.

Setting Codewright as your preferred editor
  1. Start SNiFF+.
  2. Choose Tools > Preferences in any open SNiFF+ tool.
In the Preferences dialog
  1. Select the Tools > Source Editor node.
  2. From the Current Editor drop-down, choose Codewright.
  3. Press Ok.
    SNiFF+ will now use Codewright for all editing requests.
Merging the old cwright.ini file with the new cwright.ini file
If you have already customized Codewright and don't want to lose the changes, merge the old
cwright.ini file with the new one. To do so: