# &kapp;'s Main Menu

This section describes the menu entries declared by &kapp; only. Additional entries may be added to the main menu by the embedded editor (e.g., Edit, View or Tools.) Please refer to the editor's manual for a description of the commands under these sub-menus.

## The File Menu

CtrlN File New

  Opens an empty editor window.

CtrlO File Open...

  Opens a file for editing.

CtrlW File Close

  Closes the active editor window

CtrlQ File Quit

  Quits &kapp;

Other file operations such as Save and Print are not integral &kapp; actions, but are rather defined by the type of editor used.

## The Edit Menu

CtrlE Edit Edit in External Editor

  Launches an editor application for the current file and line number

CtrlShiftT Edit Go To Tag

  Moves the cursor to the tag list, used for browsing through the file's tags

CtrlSpace Edit Complete Symbol

  Generates a list of possible symbol completions for the text to the left of the cursor. Note that this option is available even if automatic completion is disabled.

## The View Menu

Ctrl/ View Toggle File List

  Shows or hides the project's file list window.

Ctrl. View Toggle Query Window

  Shows or hides the query window.

Ctrl. View Toggle Tag List

  Shows or hides the tag lists attached to the editor windows.

## The Project Menu

Project New...

  Displays the New Project dialogue box.Use this dialogue to create a new project.

Project Open...

  Displays the Open Project dialogue box, which lets you search for an existing project to open.

Project Open Cscope.out...

  Prompts for an existing Cscope.out, which can be opened as a temporary project.

Project Add/Remove Files...

  Displays the Project Files dialogue box, which allows you to add source files to the current project, or remove files from it.

Project Properties...

  Displays the Project Properties dialogue box.

CtrlM Project Make Project...

  Displays the Build dialogue.

CtrlShiftM Project Remake Project

  Displays the Build dialogue and executes the last build command.

Project Close

  Closes the active project, along with all open editor windows.

## The Cscope Menu

Cscope Rebuild Database

  Updates the cross-reference database for the current project

Ctrl0 Cscope References...

  Finds all references to a given symbol

Ctrl1 Cscope Definition...

  Finds the global definition of a symbol

Ctrl2 Cscope Called Functions...

  Finds all functions called by a given function

Ctrl3 Cscope Calling Functions...

  Finds all functions calling a given function

Ctrl4 Cscope Find Text...

  Finds all occurrences of a text string

Ctrl5 Cscope Find EGrep Pattern...

  Finds all text strings matching a regular expression

Ctrl8 Cscope Find Including Files...

  Finds all files #including a given file

Ctrl] Cscope Quick Definition

  Finds the global definition of the symbol currently under the cursor. The symbol dialogue appears only if a symbol cannot be determined automatically.

Ctrl\ Cscope Call Graph...

  Displays a call-graph and/or a call-tree for a given function

## The Go Menu

AltUp Arrow Go Previous Result

  Selects the previous result in the current query window.

AltDown Arrow Go Next Result

  Selects the next result in the current query window.

AltLeft Arrow Go Previous Position

  Jumps to the previous stored position in the active history list.

AltRight Arrow Go Next Position

  Jumps to the next stored position in the active history list.

CtrlH Go Position History...

  Selects the active position history page in the query window. If the query window is hidden, it becomes visible.

CtrlShiftG Go Global Bookmarks...

  Displays the Bookmarks dialogue.

## The Window Menu

Window Close All

  Closes all open editor windows

AltShiftLeft Arrow Window Go Left

  Selects the editor window to the left of the current one.

AltShiftRight Arrow Window Go Right

  Selects the editor window to the right of the current one.

This menu displays the full path of each file edited in an open window. Clicking a file name will make its editor window active.

## The Settings Menu

Settings Toolbars

  Toggles the different toolbars.

Settings Configure Shortcuts...

  Allows the user to assign different shortcuts to &kapp; commands.

Settings Configure KScope...

  Displays the &kapp; configuration dialogue

A menu item to configure the embedded editor may also appear under this menu.