Hopefully a solution exists to this problem in new versions of the IDE. It's been an issue for years with IntelliJ IDEA. I have an ant build file which reads properties from a property file using the propertyfile tag. Any property defined in the property file is not resolved by IDEA and shows up as an error in the editor. I've also noticed tags defined with taskdef often show their attributes in red with a message stating attribute is not allowed here. Is this an issue with IntelliJ or ant because I've observed the behavior since I started using Intellij (version 3). It's quite distracting and I'm not aware of a way to disable error checking in ant build files. Is there a solution, a workaround, or is this a known issue that won't be fixed?