[IntelliJ] Use Pants to determine target list

Review Request #4386 — Created Nov. 17, 2016 and submitted

wisechengyi
intellij-pants-plugin
target_list_Fix
218
pants-reviews
benjyw, nhoward_tw, peiyu, stuhood, zundel

Previously IntelliJ looks into the selected BUILD file to determine the targets during GUI import, which is not ideal especially since default target name is now optional.

This change make the plugin call Pants instead for target info and prompts a progress bar while getting the target list.

Other minor changes:

  • Rename Tempfile -> TempFile
  • Add one more check for Metrics whether it is enabled

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

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

Status: Closed (submitted)

Change Summary:

9c2d3e186543285de18db78be0dfefe15273c5c7 thanks!

Loading...