Skip to content

Autocompletion for files in user texmf tree #336

@jchampavere

Description

@jchampavere

TeXstudio does not provide autocompletion for files located in user texmf tree. Assume I have some ~/texmf/tex/latex/mydirectory directory with some files, e.g., myfile.tex which loads packages and/or provide new commands. When using \input{myfile} in preambule of some test.tex file (not located in ~/texmf, of course), TeXstudio won't recognise any command from myfile.tex, nor command from packages myfile.tex would load. This does not affect the compilation of test.tex, but it can be annoying to edit this file without the expected autocompletion.

This has already been pointed at https://sourceforge.net/p/texstudio/feature-requests/634/ but I could find no good solution to this trouble. I have to symlink or copy/past files in ~/texmf tree, which I would rather not to do…

Environment

  • TeXstudio: 2.12.10
  • Qt: 5.9.5, compiled with Qt 5.7.1 R
  • OS: Linux Mint 19
  • TeX distribution: TeX Live

Expected behavior

Autocompletion when \input files located in ~/texmf tree.

Actual behavior

No autocompletion.

How to reproduce

See description above. I will provide MWE if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions