简体   繁体   中英

Export Eclipse project to text file

I would like to print out the code of an Android project I made in Eclipse, so I can show it to other people. Therefore I need a text file containing all the code.

Is it somehow possible to export an entire project to a single text file? Or do I have to copy-paste all java and xml files manually?

I don't really see the use case where you want all code in one text file, it would be very messy.

However, I am not sure if there is such a feature in Eclipse but if you know Java I am pretty sure it wouldn't take more than 15 minutes to write your own Java program that does this for you. Recursively going through all files and outputting everything to a new file. 20 lines of code or so.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM