I'd like to be able to export code out of a project.

All I need is the actual method text and some way to track where it came from (component or library).

This could be done a few different ways, either via some serialization of each exported method which could be looked up in an accompanying markdown document.

Or just give me some hierarchical comment before each method showing where the code comes from (windowname>component>component>method , etc.).