Slow new lines, code generation, and pasting
See original GitHub issueType of JetBrains IDE (IntelliJ, PyCharm, etc.) and version
IntelliJ
Operating System
MacOS
TeXiFy IDEA version
0.7.16
What I did (steps to reproduce)
In any LaTeX file, pressing ENTER to create a newline is incredibly slow (~500ms).
Same with if I type \begin, wait for the suggestions, and press enter. It takes ~500ms to create the block:
\begin{}
\end{}
Same after entering the environment name and pressing ENTER. Slower depending on the size automated entered.
Pasting is also slow. Slower the larger the paste.
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
Slow loading and copy/paste of big content #2912 - GitHub
The issue is slow loading and copy/paste of big content. It actually freeze the browser and take 10s to even 1min if the...
Read more >Why is pasting a long one-liner very slow in Vim's insert mode?
I tried :set paste and :set nowrap and still as slow. Pasting the line straight into a terminal is equally slow.
Read more >109587 - Pasting lots of text to a textarea is slow - chromium
Issue 163131: Clearing a textarea which contains a large amount of text is extremely slow. Restricting this bug to "Pasting is slow".
Read more >Fast version of paste - Unix & Linux Stack Exchange
paste is an order of magnitude slower than cat; paste 's throughput is extremely consistent (~300MB/s) across a wide range of line widths, ......
Read more >Solved: Pasting from Excel to Text Input extremely slow (c...
that's an interesting issue you figured out. It's quicker on my pc but it still takes "forever" (a couple minutes with 50k lines)....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@schwepmo Thanks for the snapshot, the issue seems to be that we’re retrieving information from the index every time, but because you have installed TeX Live the index is huge. We do this because information might have changed, which is true for the files inside your project but not so much for TeX Live, so we could just cache that in memory. Can you try if the following build fixes the performance issue? It should only be slow once. TeXiFy-IDEA-0.7.16-2318.zip
Same here, the build fixed the lag.
Note: I am using MacTeX. Now that I think about it, I did not have this issue when I used BasicTeX.