No file highlighting for errors, and no files in problems view for Flex project?
If I'm doing something wrong please let me know, but if I have a file in a Flex project that has an error in it, I can see the red error indicator in the right gutter of the editor. But in the project view, the file has no highlight, and if I choose View Problems Scope, no files are listed. Being able to see any files that have errors would seem to be pretty crucial, so can someone explain how to do this? Or does the IDE simply not support this key feature? Thanks.
Please sign in to leave a comment.
To the best of my knowledge, the problems highlighting in the project view and the "Problems" scope is limited to issues with Java Classes. I am not sure if JetBrains is planning to add this as functionality for other files.
As an alternative, you can use the Analyze | Inspect Code... option to get a report of all problems in your project. Via the use of a more limited inspection profile, you could create one that would be focused on your MXML files.
Of course the other option would be to Make your project and the errors would be listed. A novel concept.
You might want to look at opening a feature request so files with errors other than java classes are highlighted in the project view. There may already be such a feature request.
As a side note, I am not sure that this classifies as a "key feature" for an IDE. IMHO, its a nice-to-have additional feature, not a key one; but to each their own
Thanks Mark. Unfortunately, Inspect Code doesn't actually catch ANY MXML or AS3 errors, so that approch is useless here. Yes, I can compile the project and then go look in the console to see file(s) that had compile errors, but this seems pretty silly. The editor itself clearly flags and underlines any errors in the code. I really can't believe it would take more than a few hours to simply aggregate the errors and list them or highlight the files in the project tree.
As someone who has used Flex Builder extensively, I can tell you that the Problems View (which is the FB equivalent of what I'm asking for) is one of the single most used features of the entire IDE. I shouldn't have to wait to compile and run the app, and then hunt through console output, to find problems in the project. Is it insurmountable? No. Is it a pretty annoying omission? Definitely.
Will be added in Maia (IntelliJ IDEA 9)
Thans Maxim! Good to know that it's on the radar. Is there a JIRA ticket for this already? I looked but I couldn't find one on this subject.
No, please, create one
Brian Kotek wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Done, at http://www.jetbrains.net/jira/browse/IDEA-23162
Please have a quick look and let me know if that is OK, and if it is in the right place. This is my first issue submitted to the issue tracker so I just want to be sure it's acceptable. Thanks.
This is now avaialbe in IDEA 9 EAP build 10338. You have to love JetBrains
Um, yes! I'm a new user (just a few weeks) and I have to say the rapid turnaround on this is really amazing. Thanks guys!