[IntelliJ] Fix import on directory

Review Request #4389 — Created Nov. 18, 2016 and submitted

wisechengyi
intellij-pants-plugin
pants-reviews
benjyw, mateor, peiyu, stuhood, zundel

Earler https://rbcommons.com/s/twitter/r/4386 removed the usage of com.twitter.intellij.pants.util.PantsUtil#convertToTargetSpecs which implicitly convert an empty target spec (in the case where user chooses a directory instead of a specifc target) to <selected folder>::. This RB makes the directory case explicit as one of the GUI options.

Other fix:
* Target in GUI will show up correctly as a/b/c:: instead of Optional[a/b/c::]

https://travis-ci.org/pantsbuild/intellij-pants-plugin/builds/176898711

Loading file attachments...

MA
  1. Ship It!
  2. 
      
WI
Review request changed

Status: Closed (submitted)

Change Summary:

5a89552d6f50b28f90830969191897a9631f5d9c thanks!

Loading...