The Tools Menu

ToolsRead Only Mode

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

ToolsMode

Choose the filetype scheme you prefer for the active document. This overwrites the global filetype mode set in SettingsConfigure Kate... in the Filetypes tab for your current document only.

ToolsHighlighting

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

ToolsIndentation

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

ToolsEncoding

You can overwrite the default encoding set in SettingsConfigure 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.

ToolsEnd of Line

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

ToolsAdd 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.

ToolsScripts

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.

There is a complete list of scripts in the KatePart documentation.

ToolsInvoke Code Completion (Ctrl+Space)

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

ToolsWord 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.

ToolsSpellingAutomatic Spell Checking (Ctrl+Shift+O)

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

ToolsSpellingSpelling...

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.

ToolsSpellingSpelling (from cursor)...

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

ToolsSpellingSpellcheck Selection...

Spellchecks the current selection.

ToolsSpellingChange 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 e.g. 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.

ToolsAlign

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

ToolsComment (Ctrl+D)

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

ToolsUncomment (Ctrl+Shift+D)

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.

ToolsUppercase (Ctrl+U)

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

ToolsLowercase (Ctrl+Shift+U)

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

ToolsCapitalize (Ctrl+Alt+U)

Capitalize the selected text or the current word.

ToolsJoin Lines (Ctrl+J)

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.

ToolsApply 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...