# Menu Entries

## The File Menu

&Ctrl;N File New

  This command starts a new document in the editing window. In the Documents list on the left the new file is named Untitled.

&Ctrl;O File Open...

  Displays a standard &kde; Open File dialog. Use the file view to select the file you want to open, and click on Open to open it.

File Open Recent

  This is a shortcut to open recently saved documents. Clicking on this item opens a list to the side of the menu with several of the most recently saved files. Clicking on a specific file will open it in &kappname; - if the file still resides at the same location.

File Open With

  This submenu presents a list of applications known to handle the mime type of your current document. Activating an entry will open the current document with that application.

  In addition, an entry Other... launches the open with dialog box that allows you to select another application to open the active file. Your file will still be open in &kate;.

&Ctrl;S File Save

  This command saves your file. Use it often. If the file is Untitled then Save becomes Save As.

File Save As...

  Name and rename files with this command. It launches the save file dialog box. This dialog works just as the open file dialog box does. You can use it to navigate through your file system, preview existing files, or filter your file view with file masks.

  Type the name you want to give the file you are saving in the Location combo box and press the OK button.

&Ctrl;L File Save All

  This command saves all modified open files.

F5 File Reload

  Reloads the active file. This command is useful if another program or process has changed the file while you have it open in &kate;

File Reload All

  Reloads all opened files..

&Ctrl;P File Print...

  Print the active file.

File Export as &HTML;...

  Save the currently open document as an &HTML; file, which will be formatted using the current syntax highlighting and color scheme settings.

  This menu item is displayed by the Exporter editor component extension, which is enabled by default.

&Ctrl;W File Close

  Close the active file with this command. If you have made unsaved changes, you will be prompted to save the file before &kate; closes it.

File Close Other

  Close other open documents.

File Close All

  This command closes all the files you have open in &kate;.

File Close Orphaned

  Close all documents in the file list, which could not be reopened during startup, because they are not accessible anymore.

File Close Except

  Close all documents in the file list, except those which match the path selected from this submenu.

  This menu item is displayed by the Close Except/Like plugin, which is enabled by default.

File Close Like

  Close all documents in the file list which match the path selected from this submenu.

  This menu item is displayed by the Close Except/Like plugin, which is enabled by default.

&Ctrl;Q File Quit

  This command closes &kate; and any files you were editing. If you have made unsaved changes to any of the files you were editing, you will be prompted to save them.

## The Edit Menu

The Edit menu contains a host of commands, all to work with the currently active document.

### Menu Entries

&Ctrl;Z Edit Undo

  Undo the last editing command (typing, copying, cutting etc.)

  This may undo several editing commands of the same type, like typing in characters.

&Ctrl;&Shift;Z Edit Redo

  Redo the last undo step.

&Ctrl;X Edit Cut

  Removes selected text if any, and places a copy of the removed text in the clipboard.

&Ctrl;C Edit Copy

  Copies selected text, if any, to the clipboard.

&Ctrl;V Edit Paste

  Copies the first item in the clipboard into the editor at cursor position.

  If Overwrite Selection is enabled, the pasted text will overwrite the selection, if any.

Edit Clipboard History

  This submenu will display the beginning of portions of text recently copied to the clipboard. Select an item from this menu to paste it in the currently open file.

Edit Copy as &HTML;

  Copy the selection as &HTML;, formatted using the current syntax highlighting and color scheme settings.

&Ctrl;A Edit Select All

  Selects all text in the editor.

&Ctrl;&Shift;A Edit Deselect

  Deselects the selected text in the editor if any.

&Ctrl;&Shift; B Edit Block Selection Mode

  Toggles Selection Mode. When the Selection Mode is BLOCK, you can make vertical selections, &eg; select column 5 to 10 in lines 9 to 15.

  The status bar shows the current state of the Selection Mode, either LINE or BLOCK.

Meta&Ctrl;V Edit VI input Mode

  Switch to a vi-like, modal editing mode. This mode supports the most used commands and motions from vim's normal and visual mode and has an optional vi mode status bar. This status bar shows commands while they are being entered, output from commands and the current mode.The behavior of this mode can be configured in the Vi Input Mode section of the Editing page in &kappname;'s settings dialog.

Ins Edit Overwrite Mode

  Toggles the Insert/Overwrite modes. When the mode is INS, you insert characters where the cursor is. When the mode is OVR, writing characters will replace the current characters if your cursor is positioned before any character. The status bar shows the current state of the Overwrite Mode, either INS or OVR.

&Ctrl;F Edit Find...

  Launch the incremental search bar to allow you to search for text in the edited document.

F3 Edit Find Variants Find Next

  Go to the nearest downwards match of the last text or regular expression searched for, starting from cursor position

&Shift;F3 Edit Find Variants Find Previous

  Go to the nearest upwards match of the last text or regular expression searched for, starting from cursor position

&Ctrl;H Edit Find Variants Find Selected

  Finds next occurrence of selected text.

&Ctrl;&Shift;H Edit Find Variants Find Selected Backwards

  Finds previous occurrence of selected text.

&Ctrl;R Edit Replace...

  Launch the power search and replace bar to replace one or more instances of a defined text with something else.

&Ctrl;G Edit Go to Line...

  Launches the Go To Line bar, allowing you to enter the number of a line to find in the document

Edit Search in Files

  Launches the Search and Replace tool view. This provides more advanced functionality than the Replace menu item described above, which can only search in the currently open document. It allows you to search either within all open files, in a directory of your choosing, or within the currently open project.

  This menu item is displayed by the Search & Replace plugin, which is enabled by default. For more information, see

Edit Go to Next Match

  Go to the next match in a search performed by the Search and Replace plugin. To go to the next match in a single file search initiated by the Find command, use Find Next.

  This menu item is displayed by the Search & Replace plugin, which is enabled by default.

Edit Go to Previous Match

  Go to the previous match in a search performed by the Search and Replace plugin. To go to the previous match in a single file search initiated by the Find command, use Find Previous.

  This menu item is displayed by the Search & Replace plugin, which is enabled by default.

## The View Menu

The View menu allows you to manage settings specific to the active editor, and to manage frames.

### Menu Items

View New Window

  Opens another instance of &kate;. The new instance will be identical to your previous instance.

&Alt;Left View Previous Document

  Opens the document displayed above the currently open document in the Documents list.

&Alt;Right View Next Document

  Opens the document displayed below the currently open document in the Documents list.

View Show Active

  Displays the currently open document in the Documents list.

&Ctrl;&Alt;O View Quick Open

  Show a search field and a list of opened files in the editor area. While entering text in the search field the document names and document &URL;s are searched for matching text. While entering text in the search field you can use the cursor keys Up and Down to navigate in the list view. Pressing the &Enter; key or double clicking on an item in the list switches the view to the document selected in the list view. This makes switching between documents easier, if there are a lot of them open.

&Shift;F8 View Split View Previous Split View

  Focus the previous document view, if you have split the editor area in more views.

F8 View Split View Next Split View

  Focus the next document view, if you have split the editor area in more views.

&Ctrl;&Shift;L View Split View Split Vertical

  This will split the frame (which may be the main editing area) in two equally sized frames, the new one to the left of the current one. The new frame gets the focus, and will display the same document as the old one.

  See also Working with the &kate; MDI

&Ctrl;&Shift;T View Split View Split Horizontal

  Splits the current frame (which may be the main editing area) in two equally sized frames, the new one below the current one. The new frame gets the focus, and displays the same document as the old one.

  See also Working with the &kate; MDI

&Ctrl;&Shift;R View Split View Close Current View

  Closes the active frame, which can be identified as the one displaying a blinking cursor. This is disabled, if there is only one frame (the main editing area).

  No documents get closed by closing a frame – they will still be available in the View Menu as well as in the File List.

  See also Working with the &kate; MDI

View Split View Close Inactive Views

  Closes all frames except the active frame (the one with a blinking cursor). This is disabled, if there is only one frame (the main editing area).

  No documents get closed by closing a frame – they will still be available in the View Menu as well as in the File List.

View Split View Move Splitter Left

  When Split View is enabled, this will move the border between two vertically split documents further left.

View Split View Move Splitter Right

  When Split View is enabled, this will move the border between two vertically split documents further right.

View Split View Move Splitter Up

  When Split View is enabled, this will move the border between two horizontally split documents further up.

View Split View Move Splitter Down

  When Split View is enabled, this will move the border between two horizontally split documents further down.

View Tool Views
  &Ctrl;&Alt;&Shift;F View Tool Views Show Sidebars

    Toggles the display of the sidebar button rows. This command does not affect the display of the sidebar content widgets, any sidebar that is visible will stay visible, and if you assigned shortcuts to the commands below those will of course continue to work.

  View Tool Views Show Documents

    Toggle the display of &kate;'s Documents list

  View Tool Views Show Search and Replace

    Displays the advanced Search and Replace tool view, which supports searching through multiple files. For more information, see .

    This menu item is displayed by the Search & Replace plugin, which is enabled by default.

  View Tool Views Show Projects

    Displays the Projects sidebar, which allows you to view a list of open projects and a list of files in those projects.

    This menu item is displayed by the Project plugin, which is enabled by default.

  View Tool Views Show Current Project

    Displays the Current Project tool view, which allows you to access details about the code contained within the currently open project.

    This menu item is displayed by the Project plugin, which is enabled by default.

F7 View Switch to Command Line

  This command will toggle the display of the built-in command line.

View Show the Javascript Console

  This opens a tool view that allows you to run Javascript code interactively. For more information, see Extending &kate; with Scripts.

View Schema

  This menu lists the available color schemes. You can change the schema for the current view here, to change the default schema you need to use the Fonts & Colors page of the config dialog.

F10 View Dynamic Word Wrap

  Toggles dynamic word wrap in the current view. Dynamic word wrap makes all the text in a view visible without the need for horizontal scrolling by rendering one actual line on more visual lines as needed.

View Dynamic Word Wrap Indicators

  Choose when and how the dynamic word wrap indicators should be displayed. This is only available if the Dynamic Word Wrap option is checked.

View Show Static Word Wrap Marker

  Toggles the display of a vertical line indicating the position of the wrap width as configured in the config dialog. This feature requires that you use a true fixed-width font.

F6 View Show Icon Border

  This is a toggle item. Setting it to be checked will make the Icon Border visible in the left side of the active editor, and vice versa. The Icon Border indicates the positions of the marked lines in the editor.

F11 View Show Line Numbers

  This is a toggle Item. Setting it to be checked will make a pane displaying the line numbers of the document visible in the left border of the active editor, and vice versa.

View Show Scrollbar Marks

  Toggles the visualization of bookmarks (and other marks) on the vertical scrollbar. When enabled, a mark is represented by a thin line in the mark color at the scrollbar, clicking the &MMB; on the line will scroll the view to a position near the mark.

View Show Scrollbar Minimap

  This will replace the scrollbar with a visualization of the current document. For more information on the scrollbar minimap, see

F9 View Show Folding Markers

  Toggles the display of the folding marker pane in the left side of the view. See Using Code Folding.

View Code Folding

  These options pertain to code folding:

  Fold Current Node

    Collapse the region that contains the cursor.

  Unfold Current Node

    Expand the region that contains the cursor.

  &Ctrl; &Shift;- Fold Toplevel Nodes

    Collapse all toplevel regions in the document. Click on the right pointing triangle to expand all toplevel regions.

&Ctrl; + View Enlarge Font

  This increases the display font size.

&Ctrl; - View Shrink Font

  This decreases the display font size.

## The Projects Menu

The Projects menu allows you to switch between currently open projects. It is displayed by the Project plugin, which is enabled by default.

### Menu Items

&Ctrl;&Alt;Left Projects Back

  Switch to the previous project.

&Ctrl;&Alt;Right Projects Forward

  Switch to the next project.

## The Bookmarks Menu

The Bookmarks menu allows you to work with the bookmarks in the currently active document.

Below the entries described here, one entry for each bookmark in the active document will be available. The text will be the first few words of the marked line. Choose an item to move the cursor to the start of that line. The editor will scroll as necessary to make that line visible.

### Menu Items

&Ctrl;B Bookmarks Set Bookmark

  Sets or removes a bookmark in the current line of the active document. (If it's there, it is removed, otherwise one is set.)

Bookmarks Clear All Bookmarks

  Clears (removes) all bookmarks in the active document.

&Alt; PgUp Bookmarks Previous

  This will move the cursor to beginning of the first above line with a bookmark. The menuitem text will include the line number and the first piece of text on the line. This item is only available when there is a bookmark in a line above the cursor.

&Alt; PgDown Bookmarks Next

  This will move the cursor to the beginning of the next line with a bookmark. The menuitem text will include the line number and the first piece of text on the line. This item is only available when there is a bookmark in a line below the cursor.

## The Sessions Menu

This menu contains entries for using and managing &kate; sessions. For more information, read Using Sessions.

Sessions New

  Creates a new empty session. All currently open files will be closed.

Sessions Open Session...

  Open an existing session. The Session Chooser dialog is displayed to let you choose one.

Sessions Quick Open Session

  This submenu lets you open an existing session.

Sessions Save Session

  Save the current session. If the session is anonymous, you will be prompted for a session name.

Sessions Save Session As...

  Save the current session under a new name. You are prompted for a name to use.

Sessions Manage Sessions...

  Displays the Session Manager dialog which allows you to rename and delete sessions.

## The Tools Menu

Tools Read Only Mode

  Set the current document to Read Only mode. This prevents any text addition and any changes in the document formatting.

Tools Mode

  Choose the filetype scheme you prefer for the active document. This overwrites the global filetype mode set in Settings Configure &kate;... in the Filetypes tab for your current document only.

Tools Highlighting

  Choose the Highlighting scheme you prefer for the active document. This overwrites the global highlighting mode set in Settings Configure Editor... for your current document only.

Tools Indentation

  Choose the style of indentation you want for your active document. This overwrites the global indentation mode set in Settings Configure Editor... for your current document only.

Tools Encoding

  You can overwrite the default encoding set in Settings Configure Editor... in the Open/Save page to set a different encoding for your current document. The encoding you set here will be only valid for your current document.

Tools End of Line

  Choose your preferred end of line mode for your active document. This overwrites the global end of line mode set in Settings Configure Editor... for your current document only.

Tools Add Byte Mark Order (BOM)

  Checking this action you can explicitly add a byte order mark for unicode encoded documents. The byte order mark (BOM) is a Unicode character used to signal the endianness (byte order) of a text file or stream, for more information see Byte Order Mark.

Tools Scripts

  This submenu contains a list of all scripted actions. The list can easily be modified by writing your own scripts. This way, &kate; can be extended with user-defined tools.

  For more information about the scripts included with &kate;, see .

&Ctrl;Space Tools Invoke Code Completion

  Manually invoke command completion, usually by using a shortcut bound to this action.

Tools Word Completion

  Reuse Word Below (&Ctrl; 9) and Reuse Word Above (&Ctrl; 8) complete the currently typed text by searching for similar words backward or forward from the current cursor position. Shell Completion pops up a completion box with matching entries.

&Ctrl;&Shift;O Tools Spelling Automatic Spell Checking

  When Automatic Spell Checking is enabled, wrongly spelled text is underlined in the document on-the-fly.

Tools Spelling Spelling...

  This initiates the spellchecking program - a program designed to help the user catch and correct any spelling errors.

  For more information on how to use the &kde; spellchecking program, see the Check Spelling section of the &kde; Fundamentals documentation.

Tools Spelling Spelling (from cursor)...

  This initiates the spellchecking program but it starts from where your cursor is instead of at the beginning of the document.

Tools Spelling Spellcheck Selection...

  Spellchecks the current selection.

Tools Spelling Change Dictionary

  Displays a drop down box with all available dictionaries for spellchecking at the bottom of the editor window. This allows easy switching of the spellcheck dictionary &eg; for automatic spellchecking of text in different languages.

Tools Clean Indentation

  This cleans the indentation for the current selection or for the line the cursor is currently in. Cleaning the indentation ensures that all your selected text follows the indentation mode you choose.

Tools Align

  Causes a realign of the current line or selected lines using the indentation mode and indentation settings in the document.

&Ctrl;D Tools Comment

  This adds one space to the beginning of the line where the text cursor is located or to the beginning of any selected lines.

&Ctrl;&Shift;D Tools Uncomment

  This removes one space (if any exist) from the beginning of the line where the text cursor is located or from the beginning of any selected lines.

&Ctrl;U Tools Uppercase

  Put the selected text or the letter after the cursor in uppercase.

&Ctrl;&Shift;U Tools Lowercase

  Put the selected text or the letter after the cursor in lowercase.

&Alt;&Ctrl;U Tools Capitalize

  Capitalize the selected text or the current word.

&Ctrl;J Tools Join Lines

  Joins the selected lines, or the current line and the line below with one white space character as a separator. Leading/trailing white space on joined lines is removed in the affected ends.

Tools Apply Word Wrap

  Apply static word wrapping on all the document. That means that a new line of text will automatically start when the current line exceeds the length specified by the Wrap words at option in the Editing tab in Settings Configure Editor...

Tools Create Snippet

  Create a new snippet, which is a reusable chunk of text you may insert in any part of any document.

Tools Snippets...

  Display a list of available snippets.

Menu items for the selected plugins are displayed at the end of this menu.

## The Settings Menu

The Settings menu allows you to change the properties of the main window, such as showing/hiding toolbars, and provides access to the configuration dialogs.

Settings Show Toolbar

  When this is checked, this displays a movable toolbar containing buttons used to initiate frequently used commands. When unchecked the toolbar is hidden.

Settings Show Statusbar

  When checked, this displays a small bar at the bottom of the editor containing information about the status of the current document. When unchecked the status bar is hidden.

Settings Show Path in Titlebar

  When selected, this displays in the titlebar the path (its location in the file system) of the current document. When unchecked the path is hidden.

&Ctrl;&Shift;F Settings Full Screen Mode

  Toggles full screen display.

Settings Configure Shortcuts...

  Display the familiar &kde; Keyboard Shortcut Configuration Dialog. For more information on using this, see the Using and Customizing Shortcuts section of the &kde; Fundamentals documentation.

Settings Configure Toolbars...

  Display the familiar &kde; Toolbar Configuration Dialog. For more information on using this, see the Customizing Toolbars section of the &kde; Fundamentals documentation.

Settings Configure &kate;...

  Launch the Main Configuration Dialog

## The Help Menu

Apart from standard &kde; Help menu items described below you will have menu entries to show the Tip of the Day and the About Editor Component information.

&help.menu.documentation;