visual studio code is better for java code example Example: java vscode If you have installed vs, click more> java> install and click refresh :)