vsch / idea-multimarkdown

Markdown language support for IntelliJ IDEA.
https://plugins.jetbrains.com/plugin/7896-markdown-navigator
Apache License 2.0
812 stars 129 forks source link

Editor is blocked two or three second #838

Closed pabloalmunia closed 4 years ago

pabloalmunia commented 4 years ago

When I change between Markdown windows, the editor is blocked two or three seconds before I can write. Typically, my .md files has between 5Kb to 30Kb, no more.

vsch commented 4 years ago

@pabloalmunia, is it blocked or the text shows as plain text without syntax highlighting for a couple of seconds?

pabloalmunia commented 4 years ago

It's complety blocked, I cannot write or move the cursor or click over other position into the text.

pabloalmunia commented 4 years ago

multimarkdown

This is a simple example. After the page change, I try to click on the title, but it doesn't respond until several seconds later.

vsch commented 4 years ago

@pabloalmunia, I am not able to reproduce this on my test system with Windows 10, WebStorm 2020.1 and Markdown Navigator 3.0.201.79.

Q: Do you have preview enabled? Q: Do you update your IDE through JetBrains Toolbox or manually through the IDE?

pabloalmunia commented 4 years ago

Q: Do you have preview enabled? No Q: Do you update your IDE through JetBrains Toolbox or manually through the IDE? from the IDE

vsch commented 4 years ago

@pabloalmunia, in my experience updating the IDE manually had a tendency to make it unstable after a few updates, especially EAP.

I cannot claim that this is the problem but I am not able to replicate this issue and suspect that there is something out of whack.

It is also possible that it is an interaction between plugins. The two somehow cause a UI lock up for a couple of seconds.

Are you getting any errors in the logs? The IDE now generates errors in the log if the UI freezes, which sounds like what you are getting.

pabloalmunia commented 4 years ago

Well, I have advanced work and I had already completely uninstalled WebStorm and deleted absolutely all the configuration folders.

I have installed Webstorm and have only installed and activated the minimal set of plugins.

As a result I have a more stable behavior. I have a small deleay of few seconds the first time when I open an .md file, but after this first open the response is immediate.

vsch commented 4 years ago

@pabloalmunia, that is good news.

I used to update my IDEs manually, but noticed that after a few updates the IDE started developing all kinds of issues which would go away if I uninstalled it, backed up the settings and then deleted all its support directories, then re-installed it fresh.

Since I adopted using JetBrains Toolbox which updates the IDEs, I never have experienced these stability issues. It also gives you one place to upgrade/install/uninstall all your JetBrains IDEs, including managing multiple versions.

I would recommend installing JetBrains toolbox to manage the IDEs.

pabloalmunia commented 4 years ago

Thanks for your recommendation. I have installed a new version over a previous version from 2016 to today with no problems. I will install the toolbox and follow your recommendation. Best regards