I'm using flash cs5.5 with FlashDevelop. When I make a mistake in my code and get a compiler error, flash displays information about the error in the compiler error panel. This has two parts, the location and the description. I am mostly interested in the description, but I would also like to know in which .as file the error can be found, so I do need to see the location too.
Unfortunately, the location is displayed as the full file path, which could be very long, such as :
This leaves no room on my screen for the description to be displayed. If I shrink down the portion of the screen given over to the location info, it gets truncated, and only displays the useless end of the filepath, eg:
Ideally I would prefer the location to simply display the filename, not the full path. Is there any way to configure it to do this?
And if not, why not?....
I have no ability to answer the "why not" and doubt anyone here does. While I cannot be sure what you are trying to describe, if it involves the compiler error window I have found that you can hover over the error and it will appear as a tooltip displaying the whole error.
It could help to better understand your problem if you include screenshots.
While you might prefer to have it your way, I am sure there are others who prefer more information rather than less, which is probably why they did it the way it is done, though I can't understand why they have it falling out the area and not wrapping instead. Still, being able to see the entire message by hovering it is sufficient to get the information you want to see and it doesn't take much time/effort to do it.
I would like to see better error reporting myself, with more information, such as the ones that involve file loading errors where they won't tell you the name of the file that is causing the problem. Or then there's the 1009 errors where they say an object is null, but you have to do your own research to find out which one it is.
yeah I can't help but agree with regards to the run-time error reporting.
But anyway, with regards to the compile error panel I'm not saying 'this is how it should behave' I'm asking 'can I configure it to behave how I would like'
Sounds like as far as we can tell so far the answer is 'no'.
thanks but what I'm really after is a way to be able to see both the location and the description at a glance without having to interact with the panel at all.
The objective being to streamline my workflow.
for compiler errors, you should be able to double click the error and be taken to the line of problematic line of code. but if you don't recognize the error type in the panel, you'll still need to drag the description header to view the complete error text.
so, i don't think you can customize that panel to do what you want. however, you probably could build a custom panel that does what you want but you'll need to use jsfl and that might be more work than it's worth for you.
Yes, I can double click it but then it opens the .as file in flash which I don't want - I do my coding in FlashDevelop.
A colleague has just pointed out that if I press f6 in flash develop then it triggers flash to compile automatically, and additionally displays info about any compile errors - in the format that I want (ie filename, and description). So this looks like the best answer for now.
Thanks for the replies
Europe, Middle East and Africa