vscode-rufo icon indicating copy to clipboard operation
vscode-rufo copied to clipboard

Slow to format

Open garyking opened this issue 6 years ago • 0 comments

This is a nice extension. But, when I run it, even on a very small document, it's very slow to run. The default timeout for onSave formatters in VS Code is 750 ms, and this ext needs about 2500 ms for a file that has 3 lines, in order to run.

Any reason why it's so slow? Running rufo from the CLI on the same file takes much less time, about 300 ms.

garyking avatar Apr 19 '18 03:04 garyking