LSP: Build Project (refresh all problems)
lsp.buildWorkspace Rebuild the Java project and show problems for every file, not just the open ones.
How to run it
Open the command palette (M-x in the Emacs keymap) and search for LSP: Build Project (refresh all problems), then press Enter. It has no default keybinding, but you can bind one in Settings → Keymaps.