format java code in vscode code example Example: java vscode If you have installed vs, click more> java> install and click refresh :)