Since scala changes a lot of files in build and vscode watches those files. It actually has quite a delay. Adding this to settings will improve performance by an enormous degree. Especially on larger projects.
"files.exclude": {
"**/.bloop": true,
"**/.metals": true,
"**/target": true