Skip to content

Intellisence is very slow when using VS Code #1023

Answered by wooorm
m-haketa asked this question in Q&A
Discussion options

You must be logged in to vote

Right, visit can be slow.
You can help it by passing a test.
And, split things up in different files, so that the file using expensive operations doesn‘t affect others.

PRs to unist-util-visit’s fancy types to improve this are welcome! Practically, it would be these types: https://github.com/syntax-tree/unist-util-visit-parents/blob/c4fdbdbdf9ce1a4549d2d6ba32a1f0eef92cf237/complex-types.d.ts#L43-L86.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ChristianMurphy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants