Can we add logic to invoke Maven install or Gradle Build on target projects that don't have a target folder with generated classes? We can achieve this using Maven Embedder and Gradle Tooling API.
I think this would be a nice-to-have feature when you have to navigate to and build/install your project that was cleaned or just checked out.