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

\input{file.pgf} results in a "File not found" inspection error #3587

Open
adityasz opened this issue Jun 21, 2024 · 0 comments
Open

\input{file.pgf} results in a "File not found" inspection error #3587

adityasz opened this issue Jun 21, 2024 · 0 comments
Assignees
Labels
bug Deficiencies in TeXiFy behaviour.
Milestone

Comments

@adityasz
Copy link

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

PyCharm 2024.1.2 (Professional Edition) Build #PY-241.17011.127, built on May 28, 2024

Operating System

Fedora 40 (Workstation Edition)

TeXiFy IDEA version

0.9.6

\input{file.pgf} results in a "File not found" inspection error even when file.pgf is reachable from the document's root, and the suggested action is "Create file file.pgf.tex":

File 'file.pgf' not found
Inspection info: The file entered as argument could not be resolved.

\input{file} results in the following error when file* doesn't exist, and suggests "Create file file.tex":

File 'file.tex' not found
Inspection info: The file entered as argument could not be resolved.

In the error, .tex is appended to the file name only if it is written without any extension inside the \input macro. The suggested action (to create a file) always appends a .tex to the filename.


Note that XeLaTeX appends .tex only when file doesn't exist. When both file and file.tex exist, \input{file} will import file and not file.tex.

@adityasz adityasz added bug Deficiencies in TeXiFy behaviour. untriaged Issue type still needs to be triaged or verified. labels Jun 21, 2024
@PHPirates PHPirates removed the untriaged Issue type still needs to be triaged or verified. label Jun 23, 2024
@PHPirates PHPirates self-assigned this Jun 23, 2024
@PHPirates PHPirates added this to the Next milestone Jun 23, 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