yzhang-gh / vscode-markdown

Markdown All in One
https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one
MIT License
2.93k stars 325 forks source link

extension slows down inputting comments in a jsonc file #1450

Open bastian-1 opened 3 months ago

bastian-1 commented 3 months ago

Type: Performance Issue

With a jsonc file which has ~120k lines when formatted pretty: enter comment ("// some comment"). Characters appear very slowly, you can see the character which represents the "line break" move bit by bit.

Extension version: 3.6.2 VS Code version: Code 1.91.1 (f1e16e1e6214d7c44d078b1f0607b2388f29d729, 2024-07-09T22:06:49.809Z) OS version: Windows_NT x64 10.0.22631 Modes:

bastian-1 commented 3 months ago

And regarding this (https://github.com/yzhang-gh/vscode-markdown?tab=readme-ov-file#q-the-extension-is-unresponsive-causing-lag-etc-performance-issues) recommendation: I identified the extension using the VS Code Extension Bisect feature - so alle other extensions were disabled at that point.