TeXiFy-IDEA documentation Help

General

Code folding

Using the gutter icons (to the left of your open file), the menu (Code | Folding) or context menu (right-click), or the shortcuts (see the menu or the keymap), you can fold and unfold regions of text.

You can for example fold sections, subsections, greek letters, etc. Note you can easily fold or collapse until a certain level using the menu or shortcuts.

Which elements are folded by default can be configured in File | Settings | Editor | General | Code Folding | LaTeX.

folding

For more information, see https://www.jetbrains.com/help/idea/code-folding-settings.html.

Unicode math preview

TeXiFy can show a unicode preview of some math characters like greek letters. You can trigger this with your cursor on a math command and clicking Code | Folding | Collapse or using Ctrl + NumPad -. Clicking on it will expand it again. TeXiFy shows these previews automatically when a project is opened.

Line markers

File | Settings | Editor | General | Appearance | Show method separators

When enabled, horizontal line markers will be shown above sectioning commands.

line-markers

By default, TeXiFy will show breadcrumbs at the bottom of the editor, indicating in which environments your cursor is. See Breadcrumbs | IntelliJ IDEA Documentation

Gutter icons

Color preview

Since b0.6.10

A color preview will be shown in the gutter when using an xcolor command like \color or \textcolor, and when defining a color with xcolor. This also supports the xcolor syntax to mix colors, like red!50!yellow. When you use the color picker on a color definition, choosing a different color will update the color definition in the document.

color-gutter

If you include a file, for example like \input{beta.tex}, there will be a gutter icon in front of the line which you can click to navigate to the included file (Ctrl + B). See Code navigation/File inclusion navigation.

Run file

Next to any \begin{document}, there will be a gutter icon which you can press to compile the file (Ctrl + Shift + F10).

Last modified: 01 May 2024