Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing suggestions for files in subdirectories \includegraphics{} #3611

Open
JannisNe opened this issue Jul 29, 2024 · 1 comment
Open

Missing suggestions for files in subdirectories \includegraphics{} #3611

JannisNe opened this issue Jul 29, 2024 · 1 comment
Labels
bug Deficiencies in TeXiFy behaviour.

Comments

@JannisNe
Copy link

JannisNe commented Jul 29, 2024

Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version

Build #PY-241.18034.82, built on June 24, 2024

Operating System

MacOS 12.5.1

TeXiFy IDEA version

0.9.7

What I did (steps to reproduce)

Install the newest TeXiFy IDEA version

Minimal example to reproduce the problem

With a directory structure

test.tex
images
  |- test_image1.pdf
test_image2.pdf

I would expect to get the suggestion test_image1.pdf for

\documentclass{article}
\usepackage{graphix}
\graphicspath{images/}
\begin{document}
\includegraphics{<Tab>}
\end{document}

which in fact worked up until version 0.9.6.

I still get the corresponding suggestion for test_image2.pdf.

Expected behavior

Get suggestions for files.

Actual behavior

No suggestions appear.

@JannisNe JannisNe added bug Deficiencies in TeXiFy behaviour. untriaged Issue type still needs to be triaged or verified. labels Jul 29, 2024
@JannisNe JannisNe changed the title Missing suggestions for files in \includegraphics{} Missing suggestions for files in subdirectories \includegraphics{} Jul 29, 2024
@JannisNe
Copy link
Author

JannisNe commented Aug 1, 2024

Edit:
If I add the images directory as a source directory under Preferences -> Project: my_project -> Project Structure I get the suggestions. This is also the behaviour for version 0.9.6 but wasn't always the case. Did something in PyCharm itself change?

@PHPirates PHPirates removed the untriaged Issue type still needs to be triaged or verified. label Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Deficiencies in TeXiFy behaviour.
Projects
None yet
Development

No branches or pull requests

2 participants