How to format source code in Visual Studio Code (VSCode)

This article shows how to format source code in Visual Studio Code (VSCode). Tables of contents 1. VSCode – Code Formatting Shortcuts 2. VSCode – Code Formatting Shortcut #2 3. Formatter is not installed 4. References 1. VSCode – Code Formatting Shortcuts The code formatting is available in Visual Studio Code (VSCode) through the following …

Read more

Eclipse – How to know this class belongs to which JAR

For example, I want to know this SpringBootApplication class belongs to which JAR or dependency : import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class SpringBootWebApplication { public static void main(String[] args) throws Exception { SpringApplication.run(SpringBootWebApplication.class, args); } } Solution In Eclipse IDE, double clicks on the class name, press CTRL + SHIFT + T (win/*nix) or …

Read more