10.02.2013 Views

SlickEdit User Guide

SlickEdit User Guide

SlickEdit User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuration Directories and Files<br />

<strong>User</strong> Configuration Directory<br />

CONFIGURATION DIRECTORIES AND FILES<br />

Your <strong>SlickEdit</strong>® configuration directory contains configuration files representing the changes you have<br />

made through setting editor options, and it preserves the state of <strong>SlickEdit</strong> by using the state file,<br />

vslick.sta.<br />

You should make periodic backups of your <strong>SlickEdit</strong> configuration directory. If you experience a problem in<br />

the editor, you can often solve it by using a saved config directory.<br />

Configuration changes are saved when you exit the editor. Note that <strong>SlickEdit</strong> cannot save configuration<br />

changes when another instance is running. If you attempt to close an instance that contains configuration<br />

changes, while another instance is running, a Save failed message is displayed, then a prompt asks<br />

whether or not to exit anyway.<br />

Configuration Directory Location<br />

By default, the user configuration directory is located in My Documents/My <strong>SlickEdit</strong> Config on<br />

Windows, and $HOME/.slickedit on UNIX, Linux, and Mac. <strong>SlickEdit</strong>® creates a versioned config<br />

subdirectory for each version of <strong>SlickEdit</strong> you run.<br />

You can view the path to the config directory by clicking Help > About <strong>SlickEdit</strong>. When <strong>SlickEdit</strong> displays<br />

the config directory, it includes the versioned subdirectory. For example: C:\Documents and<br />

Settings\<strong>SlickEdit</strong><strong>User</strong>\My Documents\My <strong>SlickEdit</strong> Config\13.0.0\.<br />

If you want to use a different directory for your config files, set the SLICKEDITCONFIG environment<br />

variable (see Environment Variables), or specify the location by using the -sc invocation option on the<br />

command line (see Invocation Options). In both cases, <strong>SlickEdit</strong> will create a versioned subdirectory below<br />

the specified directory.<br />

Resetting the Configuration Directory<br />

For troubleshooting purposes, it is sometimes helpful to reset the configuration directory to the defaults.<br />

<strong>SlickEdit</strong> Product Support may also ask you to use a default configuration to help debug problems. To<br />

reset to the default configuration:<br />

1. Exit any instances of <strong>SlickEdit</strong>® that are running.<br />

2. Make a backup of the user config directory and store the backup in a safe location.<br />

3. Delete the contents of the versioned config directory (i.e. 13.0.0) but NOT the directory itself.<br />

4. Start <strong>SlickEdit</strong>.<br />

After completing these steps, <strong>SlickEdit</strong> opens with the default configuration settings. Note that you will be<br />

prompted for all of the initial setup information just as if you were running <strong>SlickEdit</strong> for the first time (see<br />

Running <strong>SlickEdit</strong>® for the First Time).<br />

NOTE If, instead of deleting the contents of the directory, you delete the directory itself, <strong>SlickEdit</strong> will<br />

attempt to migrate your settings from a previous version.<br />

<strong>SlickEdit</strong>® <strong>User</strong> <strong>Guide</strong> 771

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!