Skip to content

TeXstudio doesn't autocomplete \include{} and \includegraphics{}, but works for \ref{} and \cite{} #4026

Open
@lphysical

Description

@lphysical

TeXstudio: 4.8.6
Qt: 6.8.2
OS: Win11
TeX distribution: texlive

Hello, I am experiencing an issue with TeXstudio's autocomplete feature.

When I type \ref{} and \cite{}, TeXstudio correctly suggests available references and bibliography entries. However, when I try to use \include{} or \includegraphics{}, it does not suggest any available files.

Here’s what I have already checked:
✅ I have properly loaded the required packages (graphicx for \includegraphics{}).
✅ My images and included files are in the same directory as main.tex.
✅ I have reinstalled TeXlive and TeXstudio multiple times.
✅ I have tried manually triggering autocomplete using Ctrl + Space, but it still does not show file suggestions.

Is there any possible reason why \include{} and \includegraphics{} are not working with autocomplete while \ref{} and \cite{} work fine?
Any help would be greatly appreciated!

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