Hannah-Sten / TeXiFy-IDEA

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

Pycharm freezes with increasing delay every time latex escaped command is autocompleted #1160

Closed gijzelaerr closed 4 years ago

gijzelaerr commented 4 years ago

hi!

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

pycharm 2019.2

Operating System

OSX 10.15.1

TeXiFy IDEA version

0.6.7

What I did (steps to reproduce)

type latex, type an escaped latex command (like \boldsymbol), wait for a couple of seconds till IDE stops freezing. It seems the freeze time is increasing over time, a restart of pycharm seems to help.

Expected behaviour

no freeze,

Actual behavior

freeze :)

(if applicable) The full stacktrace of the exception thrown

none

Thanks!

PHPirates commented 4 years ago

Sounds a bit like #1030. Do you have texdoc installed? If so, try uninstalling it. You can also try to download the latest alpha build to check if the issue is already resolved (https://github.com/Hannah-Sten/TeXiFy-IDEA/wiki/Alpha-builds)

gijzelaerr commented 4 years ago

I've temporarily renamed textdoc, but this doesn't solve the issue:

sudo mv /Library/TeX/texbin/texdoc /Library/TeX/texbin/texdoc.old

It seems to only happen in math environments, so if I start typing:

$\

pycharm hangs for a couple of seconds and then to autocomplete window pops up. will try to dev build.

PHPirates commented 4 years ago

If it only hangs for a couple of seconds it may be a different problem, but I don't really know. In the past there has been a case where someone solved a 'hanging' problem by reinstalling Pycharm, can you try that as well?

gijzelaerr commented 4 years ago

The problem seems to be solved after upgrading to pycharm 2019.3, i did not manage to reproduce the problem anymore.