I am coming from C# where we can create regions of code (Which I love) such as
#region MyCodeIsHere
//code
#endregion
So I can hide large chunks of code that work. Is there an equivalent way to do this in groovy?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Thanks to ofstream, seems I can do it in intellij which is what I am using:
http://blogs.jetbrains.com/idea/2012/03/custom-code-folding-regions-in-intellij-idea-111/