c# - C-sharp's "#region" & "#endregion" in Java? -


possible duplicate:
java equivalent #region in c#

is there in java allow structuring source code done in c# pre-processor directives

#region 

and

#endregion 

?

no, there nothing equivalent.

code folding ide feature, not language feature.

eclipse has code folding classes , members when java files loaded in it. may extended (for example) add code folding on crafted comment lines.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -