disable IDEA local analysis

disable IDEA local analysis - code copied from 2.5.1 branch.