



I frequently work with multiple remote files that are named the same. When I want to use the code browser tab to jump to another function in the active file - I either have to guess which of them is the one I am working on or double click each filename - many times I am wrong and I have to go through the list of files until I am back to the one I want. Wouldn't it be nice to highlight the filename in the code browser tab for the currently active file? This way I don't accidentally switch to a different file when I want to switch to another function in the same file.
I wasn't aware of the "Locate Current Scope" right mouse click menu item in the editor window. I am now and this is a good thing. It does away with most of the need of having the code browse tab highlight the filename automatically but that requires active input instead of having it automatically show - I suppose I'm just a lazy person by nature.
This would suit a Komodo extension or a macro. Some notes on this:
Make an observer (nsIObserverService) for the "current_view_changed" event and fire off the "Locate Current Scope" command to do this automatically.
Todd.