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, a entry Other... command 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.. File Close Orphaned Close all documents in the file list, which could not be reopened during startup, because they are not accessible anymore. &Ctrl;P File Print... Print the active file. &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;. &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.) If grouped undo is enabled, 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. &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, ⪚ 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 EditVI 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 statusbar. 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 EditOverwrite 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 Next Go to the nearest downwards match of the last text or regular expression searched for, starting from cursor position &Shift;F3 Edit Find Previous Go to the nearest upwards match of the last text or regular expression searched for, starting from cursor position &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;H EditFind Selected Finds next occurrence of selected text. &Ctrl;&Shift;H EditFind Selected Backwards Finds previous occurrence of selected text. &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 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 Back Opens the document displayed above the currently open document in the Documents list. &Alt;Right View Forward Opens the document displayed below the currently open document in the Documents list. &Alt;A View Show Active Displays the currently open document in the Documents list. &Shift;F8 ViewSplit View Previous Split View Focus the previous document view, if you have split the editor area in more views. F8 ViewSplit View Next Split View Focus the next document view, if you have split the editor area in more views. &Ctrl;&Shift;L ViewSplit 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 ViewSplit View Split Horizontal Splits the current frame (which may be the main editing area) in two equally sized frames, the new one at the bottom half. 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 ViewSplit View Close Current View Closes the active frame. 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 ViewTool Views &Ctrl;&Alt;&Shift;F ViewTool 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 below commands those will of course continue to work. ViewTool Views Show Documents Toggle the display of &kate;'s Documents list ViewTool Views Show Terminal Toggles the display of the built in terminal emulator. When activated the first time, the terminal will be created. When the terminal emulator is displayed, it will get the focus, so that you can start typing in commands immediately. If the Automatically synchronize the terminal with the current document when possible option is enabled in the Terminal page of the Main configuration dialog the shell session will change to the directory of the active document, if it is a local file. This menu item is displayed by the Terminal Tool View plugin, which is enabled by default. F7 ViewSwitch to Command Line This command will toggle the display of the built in command line. ViewShow the Javascript Console This opens a tool view that allows you to run Javascript code interactively. For more information, see Extending &kate; with Scripts. ViewSchema This menu lists the available schemas. 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 ViewDynamic 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. ViewShow 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 on checked will make the Icon Border visible in the left side of the active editor, and vice versa. F11 View Show Line Numbers This is a toggle Item. Setting it on checked will make a pane displaying the line numbers of the document visible in the left border of the active editor, and vice versa. ViewShow Scrollbar Marks Toggles the visualization of bookmarks (and other marks) on the vertical scrollbar. When enabled, marks are represented by a thin line in the mark color at the scrollbar, middleclicking on the lines will scroll the view to a position near the mark. F9 ViewShow Folding Markers Toggles the display of the folding marker pane in the left side of the view. See Using Code Folding. ViewCode Folding These options pertain to code folding: &Ctrl; - Fold Current Node Collapse the region that contains the cursor. &Ctrl; + Unfold current node Expand the region that contains the cursor. Unfold All Nodes Expand all regions in the document. &Ctrl; &Shift;- Fold Toplevel Nodes Collapse all toplevel regions in the document. Fold Nodes in Level 2 Collapse all level 2 nodes in the document. Fold Nodes in Level 3 Collapse all level 3 nodes in the document. Fold Nodes in Level 4 Collapse all level 4 nodes in the document. &Ctrl; &Shift;+ Unfold Toplevel Nodes Expand all toplevel regions in the document. Unfold Nodes in Level 2 Expand all level 2 nodes in the document. Unfold Nodes in Level 3 Expand all level 3 nodes in the document. Unfold Nodes in Level 4 Expand all level 4 nodes in the document. Enlarge Font This increases the display font size. Shrink Font This decreases the display font size. 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 BookmarksPrevious 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 BookmarksNext This will move the cursor to 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. SessionsOpen Session... Open an existing session. The Session Chooser dialog is displayed to let you choose one. SessionsQuick Open Session This submenu lets you open an existing session. SessionsSave Session Save the current session. If the session is anonymous, you will be prompted for a session name. SessionsSave Session As... Save the current session under a new name. You are prompted for a name to use. SessionsManage Sessions... Displays the Session Manager dialog which allows you to rename and delete sessions. The Tools Menu ToolsPipe to Terminal Feed the currently selected text into the built in terminal emulator. No newline is added after the text. This menu item is displayed by the Terminal Tool View plugin, which is enabled by default. Tools Synchronize Terminal with Current Document This will cause the built-in Terminal to cd into the directory of the active document. This menu item is also displayed by the Terminal Tool View plugin. Alternatively, you can configure &kappname; to always keep the terminal in sync with the current document. See for more information. Tools Focus/Defocus Terminal Switch the focus from the current document to the terminal and vice versa. This menu item is also displayed by the Terminal Tool View plugin. 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 own scripts. This way, &kate; can be extended with user-defined tools. The following scripts are included by default: ToolsScripts Sort Selected Text Sorts the selected text or whole document in ascending order. &Ctrl;&Shift;Down ToolsScripts Move Lines Down Move selected lines down. &Ctrl;&Shift;Up ToolsScripts Move Lines Up Move selected lines up. &Ctrl;&Alt;Down ToolsScripts Duplicate Selected Lines Down Duplicates the selected lines down. &Ctrl;&Alt;Up ToolsScripts Duplicate Selected Lines Up Duplicates the selected lines up. &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 Automatic Spell Checking When Automatic Spell Checking is enabled, wrong text is underlined in the document on-the-fly. ToolsSpelling... This initiates the spellchecking program - a program designed to help the user catch and correct any spelling errors. Clicking on this entry will start the checker and bring up the speller dialog box through which the user can control the process. There are four settings lined up vertically in the center of the dialog with their corresponding labels just to the left. Starting at the top they are: Unknown word: Here, the spellchecker indicates the word currently under consideration. This happens when the checker encounters a word not in its dictionary - a file containing a list of correctly spelled words against which it compares each word in the editor. Replace with: If the checker has any similar words in its dictionary the first one will be listed here. The user can accept the suggestion, type in his or her own correction, or choose a different suggestion from the next box. Language: If you have installed multiple dictionaries, here you can select which dictionary/language should be used. On the right side of the dialog box are 6 buttons that allow the user to control the spellcheck process. They are: Add to Dictionary Pressing this button adds the Unknown word to the checker's dictionary. This means that in the future the checker will always consider this word to be correctly spelled. Suggest The checker may list here a number of possible replacements for the word under consideration. Clicking on any one of the suggestions will cause that word to be entered in the Replace with box, above. Replace This button has the checker replace the word under consideration in the document with the word in the Replace with box. Replace All This button causes the checker to replace not only the current Unknown word: but to automatically make the same substitution for any other occurrences of this Unknown word in the document. Ignore Activating this button will have the checker move on without making any changes. Ignore All This button tells the checker to do nothing with the current Unknown word: and to pass over any other instances of the same word. This only applies to the current spellcheck run. If the checker is run again later it will stop on this same word. Three more buttons are located horizontally along the bottom of the spellcheck dialog. They are: Help This invokes the &kde; help system with the help page for this dialog. Finished This button ends the spellcheck process, and returns to the document. Cancel This button cancels the spellcheck process, all modifications are reverted, and you will return to your document. Tools Spelling (from cursor)... This initiates the spellchecking program but it starts where your cursor is instead of at the beginning of the document. Tools Spellcheck Selection... Spellchecks the current selection. Tools 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 ⪚ for automatic spellcheck of text in different languages. ToolsClean 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 SettingsConfigure Editor... 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. SettingsShow 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. SettingsShow Path 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 SettingsFull Screen Mode Toggles full screen display. Settings Configure Shortcuts... Display the familiar &kde; Keyboard Shortcut Configuration Dialog. Settings Configure Toolbars... Display the familiar &kde; Toolbar Configuration Dialog. 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;