shigma / vscode-wl

Wolfram Language support for Visual Studio Code.
MIT License
49 stars 4 forks source link

Large files freeze when first opened. #12

Open padinadrian opened 4 years ago

padinadrian commented 4 years ago

I am only noticing this on one of my WL source files. It seems that either syntax highlighting or bracket checking is causing the entire vscode UI to freeze for several seconds.

I can't attach the source file as it is proprietary code but the file is over 14000 lines long, which may be contributing to the slowdown. The issue only happens when I first open the file, and occasionally when I edit things very near the beginning of the file, but never when I edit towards the bottom of the file.