Hannah-Sten / TeXiFy-IDEA

LaTeX support for the IntelliJ platform by JetBrains.
https://hannah-sten.github.io/TeXiFy-IDEA
MIT License
892 stars 89 forks source link

"article.cls not found" on IntelliJ, Mac #1815

Closed mgroth0 closed 3 years ago

mgroth0 commented 3 years ago

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

IntelliJ IDEA 2020.3.3 (Ultimate Edition) Build #IU-203.7717.56, built on March 15, 2021 Licensed to Matthew Groth Subscription is active until April 22, 2021. For educational use only. Runtime version: 11.0.10+8-b1145.96 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 10.16 GC: ParNew, ConcurrentMarkSweep Memory: 2966M Cores: 4 Registry: search.everywhere.settings=true, ide.tree.collapse.recursively=false, ide.balloon.shadow.size=0 Non-Bundled Plugins: AceJump, Gradle View, MatlabSupport, Realigner, Statistic, YAML/Ansible support, com.github.camork.fileExpander, com.intellij.ideolog, IntelliTail, String Manipulation, com.dubreuia, com.intellij.javafx, com.intellij.plugin.applescript, com.staszkox.test.navigator, com.jetbrains.plugins.ini4idea, com.mallowigi, com.pinkfloyded.idea-file-path-autocomplete.idea-file-path-autocomplete, com.your.company.unique.plugin.id, com.zxwl.statistics, itaka.intellij.plugin.json.navigator, krasa.CpuUsageIndicator, lermitage.intellij.extra.icons, mobi.hsz.idea.gitignore, net.seesharpsoft.intellij.plugins.file-preview, org.jetbrains.plugins.vagrant, org.para.plugin.openInSplittedTab, org.sonarlint.idea, socrates.tabshifter, com.wix.coffeelint, org.jetbrains.kotlin, com.chrisrm.idea.MaterialThemeUI, PlantUML integration, Pythonid, R4Intellij, cz.daku.intellij.extraActions, ru.meanmail.plugin.requirements, nl.rubensten.texifyidea

Operating System

MacOS Big Sur

TeXiFy IDEA version

0.7.4

Details in https://github.com/Hannah-Sten/TeXiFy-IDEA/issues/1785 . I wanted to create this new issue so it is re-opened

mgroth0 commented 3 years ago

Also I noticed in some of the comments it was thought that this issue might be caused by using PyCharm instead of IntelliJ. So maybe this is a different issue

PHPirates commented 3 years ago

Hi, I found this issue because I have probably the same exact problem. I'm trying to use TeXiFy on Mac with Intellij. which pdflatex = /Library/TeX/texbin/pdflatex which kpsewhich = /Library/TeX/texbin/kpsewhich kpsewhich article.sty = /usr/local/texlive/2020/texmf-dist/tex/latex/base/article.sty

Screen Shot 2021-03-18 at 12 29 58 PM

The only problem here seems to be article.cls not being found.

I've also tried adding a TeXLive SDK at /usr/local/texlive/2020. I then added the folder containing this TeX file as a TeX module. This did not fix the issue.

And adding a Native TeX Live SDK at /Library/TeX/texbin, does that fix it? You have to update to an alpha version for this to work at the moment, sorry about that. See the wiki for how to install an alpha version: https://github.com/Hannah-Sten/TeXiFy-IDEA/wiki/Alpha-builds 0.7.5 will be released in two weeks.

What SDKs do you have being suggested automatically (using the alpha release)?

mgroth0 commented 3 years ago

I installed the latest alpha (0.7.4) like you suggested and it without any additional steps it works! (just slowly?)

The article.cls reference resolves. In addition, I can even jump to it like in any other code.

The only thing I need to note is high cpu usage as well as a very long load time (~2 min) for the cls file. However, its likely this is a personal issue with my machine since I've had CPU issues before (https://youtrack.jetbrains.com/issue/KT-45570). Closing.