Ok, I love the Eclipse platform, but it has a few... eccentricities that annoy the heck out of me. One of them involves how uppity Eclipse gets if a file is modified by another process. Instead of simply refreshing the file, Eclipse will give you a snooty message and demand you refresh the file. I complained about this on Twitter (is there any other reason to use Twitter) and Steve Good let me know that you can set Eclipse to automatically refresh. Turns out he was exactly right:
Woot. A few notes. First - in my testing, this did not pick up new folders. It did pick up new files in the folders. Secondly - if you have a file open and it's modified, you will not lose the file. In other words, you still get the normal "This file was modified - do you want to load" message. That's a good thing of course. What you won't get is a complaint if you open the file after it was modified by something else.
Anyway - hope this helps other and thanks Steve!
One small note. When I renamed a file in Finder, Eclipse didn't get it _immediately_. It did get it eventually though.
I believe this is the default behavior of Flex Builder. It can slow to a crawl if your project has lots of files.
In Eclipse auto-refresh capability ist turned off by default. The problem is that there is no way to do auto-refresh in a platform-neutral way. On platforms that have efficient native support for change notification, it can be quite fast. On other platforms it can be very slow. If you modify files externally on a regular basis, you have to check out, if you want to pay the performance cost. If you do not make external modification, you should leave auto-refresh off and manually hit the refresh button if needed.
Good tip Ray, cheers.
Looking at that screen in CFB makes me pause for thought... in the context of a ColdFusion project, what does the "build" option actually do? Do you know?
No idea AC. I'd assume nothing. You go ahead and push that button though and tell me. ;)
Heh... sounds like you're trying to trick me into doing something I'll regret...
I'll switch it off and see what happens. Or what doesn't happen.
I was really thinking from the perspective of trying to eke out any performance gains possible... CFB's not exactly a rocket in the performance dept.
Hi Ray, did you finally found a solution about how to refresh the Browser-View within the cfBuilder? Like it works within cfEclipse. In cfEclipse you just have to press F5.
Don't you see a refresh icon next to the browser? For me, on the bottom, I see:
Source / Firefox / IE / refreshicondhoohicky
Yes, shure. But i have to click it with my mouse?! with F5 i don't have to move my Hands from my Keyboard, which is much faster (F5=1 sec, Mousecklick 3-5). And i do not now how often i do this each day? Is it possible to put/match that Iconclick on a ShortCut?
Oh - sorry - no idea. I'm the wrong person to ask about keyboard shortcuts. I rarely use em.