Skip to content
jojo2357 edited this page Nov 10, 2022 · 2 revisions

Nearly every JetBrains IDE offers a refactoring tool called Inline which allows you to replace every reference of something with its definition. TeXiFy implements this in the following way:

Before


Main.tex:

\documentclass[11pt]{article}
\begin{document}

   \section{Demo}
   \input{demo}

\end{document}

demo.tex:

Hello World!

After


Main.tex:

\documentclass[11pt]{article}
\begin{document}

   \section{Demo}
   Hello World!

\end{document}

To perform this, you can right click an input command -> refactor -> inline and select what kind on inlining you are looking for.

This documentation has moved to https://hannah-sten.github.io/TeXiFy-IDEA

Clone this wiki locally