Possible Duplicate:
Java equivalent to #region in c#
Is there something in Java that would allow for structuring the source code as it is done in C# with the pre-processor directives
#region
and
#endregion
?
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.
No, there is nothing equivalent.
Code folding is an IDE feature, not a language feature.
Eclipse has code folding for classes and members when Java files are loaded in it. It may be extended (for example) to add code folding on carefully crafted comment lines.