-
-
Notifications
You must be signed in to change notification settings - Fork 89
Refactoring
Since b0.6.9
Currently, refactoring (renaming) elements is only supported for labels and environments.
To rename a label, place your cursor on a label definition or reference, e.g. \ref{some-<cursor>label}
and press Shift+F6.
To find out what elements need to be renamed as well (definition and other usages), the functionality from Find usages is used.
Similarly, you can easily rename an environment, i.e. replace
\begin{center}
\end{center}
with
\begin{abstract}
\end{abstract}
by making sure your cursor is on the environment name inside either the \begin
or \end
command and using Shift+F6, then type the new name.
When you try to rename an element for which refactoring is not supported, the element will simply not change or in some cases a warning "Inserted identifier is not valid" will be shown.
This documentation has moved to https://hannah-sten.github.io/TeXiFy-IDEA