Skip to content

No completions for commands defined in another file #52

Description

@Glitzy3033

Greetings. Suppose I have two LaTeX files called main.tex and macro.tex in the same directory. Suppose macro.tex reads:

% !TeX root = main.tex
\newcommand{\hellohello}{\mathrm{hello}}

and it is included in main.tex:

\documentclass{article}
\input{macro.tex}
\begin{document}

...

\end{document}

An expected behavior is that when one starts to type \helloh... in main.tex, a completion should pop up. But the actual behavior is that no such completion is suggested by digestif. It seems that digestif does not find the commands defined in the included files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions