# &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

Ctrl N File New

- Opens an empty editor window.

Ctrl O File Open...

- Opens a file for editing.

Ctrl W File Close

- Closes the active editor window

Ctrl Q 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

Ctrl E Edit Edit in External Editor

- Launches an editor application for the current file and line number

Ctrl Shift T Edit Go To Tag

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

Ctrl Space 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.

Ctrl M Project Make Project...

- Displays the Build dialogue.

Ctrl Shift M 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

Ctrl 0 Cscope References...

- Finds all references to a given symbol

Ctrl 1 Cscope Definition...

- Finds the global definition of a symbol

Ctrl 2 Cscope Called Functions...

- Finds all functions called by a given function

Ctrl 3 Cscope Calling Functions...

- Finds all functions calling a given function

Ctrl 4 Cscope Find Text...

- Finds all occurrences of a text string

Ctrl 5 Cscope Find EGrep Pattern...

- Finds all text strings matching a regular expression

Ctrl 8 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

Alt Up Arrow Go Previous Result

- Selects the previous result in the current query window.

Alt Down Arrow Go Next Result

- Selects the next result in the current query window.

Alt Left Arrow Go Previous Position

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

Alt Right Arrow Go Next Position

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

Ctrl H Go Position History...

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

Ctrl Shift G Go Global Bookmarks...

- Displays the Bookmarks dialogue.

## The Window Menu

Window Close All

- Closes all open editor windows

Alt Shift Left Arrow Window Go Left

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

Alt Shift Right 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.