You can create new or change existing menus with a comfortable user menu configuration wizard found at WizardEdit User Menu.

User Menu Wizard

On the left side you will see an existing menu-tree. Like a standard menu, three different kinds of menu items are available:

  • standard menu entries, which are assigned to an action

  • submenus, which contain more menu items

  • separators, to get a visible structure of all entries.

To modify this menu, use the six buttons on the left side. More possible actions are available in the context menu of already existing menu items.

User-Defined Menutree

Each standard menu item is assigned to one of three action types, where each of them has different attributes, which could be set:

  • Text:  Kile gives you the ability to make your own tags. A tag is similar to a shortcut that launches some command or writes frequently-used texts, e.g. Joe Sixpack often uses the sentences Hi, I have been inserted .... This tag will be inserted at the current cursor position, when this action is called (see above). Metachars are also available (see Placeholders).

  • Insert file contents:  Inserts the complete contents of a given file.

    Insert file contents
  • Execute an external program:  The output of this program can be inserted into the opened document. Metachar %M is also possible in the command line of this program, as the selected text will be saved in a temporary file. Use %M for the filename of this temporary file.

    Execute an external program

If some important information for an action is missing, menu items are colored red. This may be a nonexisting file

Nonexisting file

or a missing title for the menu entry, which will be shown with question marks as ???.

Missing title of a menu entry

If you open the context menu of such a red colored menu item, you will get an additional option for more information concerning this error.

Additional info

More information may also be available using the What's this feature of most widgets.