Is it just me, or is C# code harder to read...

....I can't put my finger on why, but there's something about my C# code
with the xml comments that seems harder to visually see method
boundaries than it is in Java.

Does anybody else feel the same way (like it looks like all the methods
run together)

If so, maybe we should encourage the JBs to get in method dividers for M2.

2 comments
Comment actions Permalink

MO (collapse to outline) is probably what you're looking for (see
Edit->Outlining). Alt-up/down arrow (r#) is a nice addition for moving a
method at time too. I also use #region to group things per my preference.

So, no... I find .net/c# easier to read because of outlining and ability to
group code in arbitrary regions. However, without outlining I'd not be a fan
of xml comments ;) Not that method dividers don't sound cool (can only
imagine) :)

/jhd

"Dave Goldstein" <davegoldstein@adelphia.net> wrote in message
news:c4g38f$98v$1@is.intellij.net...

...I can't put my finger on why, but there's something about my C# code
with the xml comments that seems harder to visually see method
boundaries than it is in Java.

>

Does anybody else feel the same way (like it looks like all the methods
run together)

>

If so, maybe we should encourage the JBs to get in method dividers for M2.



0
Comment actions Permalink

An tip when using #region is the reassign the keyboard shortcut for toggeling them.

The default shortcut <ctrl-m, ctrl-m> seems clumsy.
I used to use <ctrl-enter> but when I started useing resharper I changed to <ctrl-alt-enter>. I feel it makes it alot easier to navigate code with alot of nested #region's

0

Please sign in to leave a comment.