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

Declaring TEXMFHOME in run configuration results in an error being highlighted even though there is none. #3311

Closed
sujaldev opened this issue Nov 12, 2023 · 0 comments · Fixed by #3738
Assignees
Labels
bug Deficiencies in TeXiFy behaviour.
Milestone

Comments

@sujaldev
Copy link

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

PyCharm 2023.2.1 (Professional Edition) Build #PY-232.9559.58, built on August 22, 2023

Operating System

Fedora 38

TeXiFy IDEA version

0.9.1

What I did (steps to reproduce)

  • Add TEXMFHOME=/path/to/some/folder/in/the/project/ as an environment variable in the run configuration template for LaTeX.
  • Add a class file (say myexampleclass.cls) inside the declared path under this directory ./tex/latex/.
  • Use this class file as the document class for any tex file in the project.

Minimal example to reproduce the problem

\documentclass{myexampleclass}  % <- File 'myexampleclass.cls' not found
\begin{document}
    Hello, World!
\end{document}

Expected behavior

TeXiFy is able to find class files from the TEXMFHOME directory declared as an environment variable in the run configuration and not show an error.

Actual behavior

The \documentclass{myexampleclass} line is highlighted with an error saying "File 'myexampleclass.cls' not found" even though there are no errors when compiling.

@sujaldev sujaldev added bug Deficiencies in TeXiFy behaviour. untriaged Issue type still needs to be triaged or verified. labels Nov 12, 2023
@PHPirates PHPirates removed the untriaged Issue type still needs to be triaged or verified. label Nov 12, 2023
@PHPirates PHPirates self-assigned this May 31, 2024
@PHPirates PHPirates modified the milestones: 0.9.6, Next Jun 1, 2024
@PHPirates PHPirates modified the milestones: 0.9.7, Next Jul 12, 2024
@PHPirates PHPirates modified the milestones: 0.9.8, Next 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

Successfully merging a pull request may close this issue.

2 participants