Skip to content

Performance troubleshooting

Jason Fields edited this page May 23, 2025 · 2 revisions

VS Code extensions run in the extension host, all sharing a single thread in a process separate from the rest of VS Code. In normal usage, this works great, as extensions cannot block the UI, but VSCodeVim essentially hijacks the UI because it must respond to nearly all keystrokes. This means that while VSCodeVim is active, slow extensions will be much more apparent than when it is not active.

This can be mitigated by adding this to settings.json:

"extensions.experimental.affinity": {
  "vscodevim.vim": 1
}
Clone this wiki locally