How to edit library source in IDE, on Mac

I keep the IDE for sketches and use an alternate editor for library files. I find it easier that way to just switch app when I want to see one part of the code or the other part rather than having to deal with an endless list of tabs in the IDE.