Is there a way, either in the Android Studio IDE or in code to ignore an entire class file, errors and all? I have a class that I no longer need but am not just yet ready to delete it - but it has errors so I cant run my project until those are fixed. So I don't need to compile it, I just want to keep it handy in my project in case I need to go back to it and grab a piece of code.
Can you try renaming the file from .java? Such as .txt or similar
Also if you just add /* and */ at the start and end of the file, so that everything is commented out, and it'll be easy to remove the comment
You are not ready to comment the entire code ?
Cntrl+A
Cntrl+Shift+"?"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With