Preferred Text Editor (Options Dialog Box)

You open this dialog box by clicking Preferred Text Editor under General in the Options dialog box.

Specifies the text editor you want to use to create and open text files, and allows you to use that editor to browse for the source of a message in text files.

  • Text editor—Allows you to select a text editor to create and open text files. You can select Quartus® Prime Text Editor, or an external text editor from the list. If you select an external text editor, you must specify the directory path and name of the text editor application you want to use to create and open text files.
  • Command-line—Specifies the file name and line number of command-line options that apply to the specified external text editor. You must type these command-line options if you want to locate the source of a message at a specific line number of a text file; otherwise, the external editor opens the text file in which the source of the message is located. You can either type the directory path and name of the editor in the Command-line box, or browse to locate the text editor application. Quotation marks are inserted automatically and are required when there are spaces in the path to the executable. For Linux workstations, if you are using the external text editor feature with a text editor that does not open in its own window, you must use the xterm command. If you do not use the xterm command, the Quartus® Prime software might stop responding. To add the xterm command, type the following information in the Command-line box: <path>/xterm -e <path>/<editor>. You can ignore the message: Can't find executable file. Most external text editors use their own command-line syntax for the Command-line box, as shown in the following examples:

    Text Editor

    Command-line Options


    +%l %f


    -n%l %f


    %f+%l -p %p




    -c%l %f