Parse Source Links

The Parse Source Links command searches the current file for a specified pattern. Whenever it finds a match, it creates a source link at that location. The source link links the source line in the current file to the file and line number that was parsed using the pattern.

File, then Line

and Line, then File. Select File, then Line if the first group in the pattern expression is the file name, and the second group is the line number. With this setting, the second group, (i.e. the line number), is optional.

Select Line, then File if the first group in the pattern expression is the line number, and the second group is the file name.

Pattern

Contains the regular expression used to search the command output for file names and line numbers. This text box must contain a valid regular expression that contains “groups” for the file name and the line number. The contents of this text box are saved in the current workspace.

The Parse Source Links command is useful if you have some kind of log file that contains compiler output and error messages. You just open the log file, and run the Parse Source Links command. A link will be setup for each line in the log file containing an error message. “Searching and Source Links”.

In this section: