These settings configure external tools, which can be invoked by Edit|Open.
You can link a specific File Pattern to an external tool. A tool is defined by the operating system Command to be executed, its Arguments and Run In. Arguments are passed to the Command as it would occur from the OS command line. Additionally the place holder ${filePath} can be used, which is substituted by the absolute file path of the file (from the file table), on which the command is invoked. Run In specifies to run the command either in SmartSVN's working directory or in the File's directory.
The File Pattern typically contains wild-card symbols (? and *) and may also consist of multiple patterns, separated by comma.
When running SmartSVN with Java 6 (or above), you can also choose to invoke the System Edit Command or System Open Command instead of the self-defined command specified by Following Application.
Example |
To configure Acrobat Reader (TM) as the default editor (viewer) for PDF-files, enter *.pdf for File Pattern, the path of Acrobat Reader Executable (e.g. on Microsoft Windows acrord32.exe) for Command and keep ${filePath} for Arguments. |
The Edit|Open command can also be performed on directories. For this case a Directory Command can be configured.
To be able to use Edit|Open on a directory, you have to select Use following command to open a directory. As for files you can configure the Command which shall be executed and the Arguments to be passed. The directory command will always be executed in the selected directory.
Example |
On Microsoft Windows, to open the command shell for a selected directory, enter cmd.exe for Command and /c start cmd.exe for Arguments. |