IntelliJ – Connect to MySQL running in Vagrant

The Database feature of IntelliJ/PHPStorm is very powerful compared to the MySQL CLI. It allows your edit your data from the UI easily without writing any MySQL commands. Here is how you can connect your MySQL server running in a vagrant machine to the IntelliJ’s database feature and improve your productivity during development. Create a… Continue reading IntelliJ – Connect to MySQL running in Vagrant

Avoiding Wildcard imports in Java/Kotlin with IntelliJ

What is a wildcard import or a star import? When you want to import multiple classes from the same package like this: Java has an option to combine them into a single line using wildcard imports: Is it bad? Performance-wise, no. Using a wildcard import doesn’t actually import all the classes in the package. When… Continue reading Avoiding Wildcard imports in Java/Kotlin with IntelliJ