Closed mprinc closed 5 years ago
Is there any error message like "command 'markdown.extension.onEnterKey' not found"?
And could you test it with all the other extensions disabled? It is also possible that some of the extensions conflict.
The worst problem is that after few minutes when it recovers, it starts flushing the key queue and deleting where my cursor is at that moment
If there is still lag after doing all these above, it would be better to provide me with your sample document.
I have quite many of extensions (mostly default, but also additionally installed), I can test by completely disabling all others, but not trace which one is conflicting.
Currently I disabled and re-enabled extension for the current workspace and it started response properly. I switched to another workspace, the problem persisted, re-enabled extension for that workspace as well and the response is fine
I was tracking Dev Tools but there were no any errors while I had problem with the responsiveness
The MD file doesn’t matter, I can open old regular file, or create a new file and just start typing, it is the same
This was the example of the last file I created for testing:
# dobro
# a
+ sd
+ sdsd
+ dd
On Mar 16, 2019, at 10:57 поподне, Yu Zhang notifications@github.com wrote:
Is there any error message like "command 'markdown.extension.onEnterKey' not found"?
And could you test it with all the other extensions disabled? It is also possible that some of the extensions conflict.
The worst problem is that after few minutes when it recovers, it starts flushing the key queue and deleting where my cursor is at that moment
If there is still lag after doing all these above, it would be better to provide me with your sample document.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yzhang-gh/vscode-markdown/issues/399#issuecomment-473580441, or mute the thread https://github.com/notifications/unsubscribe-auth/AA8yoc9-BvfDJzPFdJIqQq7mIrfZtQPbks5vXUydgaJpZM4b3_tl.
So I highly suspect that is a conflict of extensions. There were some similar reports before.
The problem is that I cannot do anything on my side since I cannot reproduce.
I would recommend the "binary search". Disable half of the extensions at a time, check whether it works or not, repeatedly, then we can find out. (only log(n)
time complexity 😉)
I have quite many of extensions (mostly default, but also additionally installed)
What are the "default" extensions? If they are vscode built-in, you don't have to take them into account. Just check the additional extensions you installed. I guess the latter is what you can see from the extension list by default.
Yes I am familiar with binary search, but here is a problem as I have also too many extensions to even do that simply (manually enable+restart VS, etc) and the biggest problem is that it accumulates until the MD-extension starts lagging.
For example now whole day passed and still it behaves more or less fine. So log(n) has to be multiplied with maybe day(s) of the accumulation + lack of other useful extensions for that time (log(n) * time(day(s))_to_notice) :(
Can you elaborate what kind of conflict you have on your mind, and what should I trace for in the Dev Console to indicate the conflict?
On Mar 17, 2019, at 4:01 преподне, Yu Zhang notifications@github.com wrote:
So I highly suspect that is a conflict of extensions. There were some similar reports before.
The problem is that I cannot do anything on my side since I cannot reproduce.
I would recommend the "binary search". Disable half of the extensions at a time, check whether it works or not, repeatedly, then we can find out. (only log(n) time complexity 😉)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yzhang-gh/vscode-markdown/issues/399#issuecomment-473605775, or mute the thread https://github.com/notifications/unsubscribe-auth/AA8yoRLUSIYIgea-HTxHlAz5mTXRztsFks5vXZPTgaJpZM4b3_tl .
--
Sasha Mile Rudan
Norway: +47 454 77 454
Serbia: +381 64 31 000 51
Croatia: +385 99 670 674 2
QMUL UK
qmul.ac.uk
IFI @ UiO
ifi.uio.no
ChaOS - Cultural Humane Art of Science, Co-founder
www.Cha-OS.org
International Congress Nikola Tesla, Organizing Committee Vice-chair http://www.tesla2017.com/
Knowledge Federation - research and innovation relationships
http://knowledgefederation.org
ProtopiaLabs & Metaversity - International Projects and Research Coordinator
www.protopialabs.org http://www.protopialabs.org metaversity.ru
HeadsWare - CEO
I am afraid I also have no idea and these so-called "conflicts" merely have obvious patterns.
I just know somebody had the similar lag issue but disabling some of the other extensions (don't know what they are; they also varies) resolved it.
Another promising way to track it down is this. You can have a try the next time you feel the lag.
Thanks, but just to stress out, it is not about lagging but rather “disabling” backspace and enter, and then processing them after some time. During that period I still can write but then when the extension is finally “initialized” it starts processing enter and backspace keys wherever I am at that moment in the document
P.S. it is usually happening when I am opening/creating a document but I think it also reoccurs on open document after switching on it after some time
Will keep eye on it
On Mar 17, 2019, at 7:35 поподне, Yu Zhang notifications@github.com wrote:
I am afraid I also have no idea and these so-called "conflicts" merely have obvious patterns.
I just know somebody had the similar lag issue but disabling some of the other extensions (don't know what they are; they also varies) resolved it.
Another promising way to track it down is this https://github.com/Microsoft/vscode/wiki/Performance-Issues#profile-the-running-extensions. You can have a try the next time you feel the lag.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yzhang-gh/vscode-markdown/issues/399#issuecomment-473682323, or mute the thread https://github.com/notifications/unsubscribe-auth/AA8yoQISKl65tDnsUezdO1fk9rZMMjhkks5vXm7kgaJpZM4b3_tl.
Hmm, I get this as well. On Ubuntu in VS Codium.
When I try to use backspace or enter it pops up with an error like this "command 'markdown.extension.onBackspaceKey' not found" and this is the only extension I have installed so it can't be a conflict on my side.
Anyway to solve this?
Updating to latest version of the software fixed the issue. I missed there was an update, but that solved it!
Close for now. Feel free to open a new one if it happens again.
Same problem as with https://github.com/yzhang-gh/vscode-markdown/issues/335
Extension version: v2.1.1 VS Code version: 1.32.1 (1.32.1)
@yzhang-gh suggested that it should work after v2.0.0, but it is still there
The worst problem is that after few minutes when it recovers, it starts flushing the key queue and deleting where my cursor is at that moment
I had to disable extension to continue my work