Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

IVF & VS 2011 feature request

Ralf
Beginner
628 Views

Hi there,

a small but useful feature in VB.NET is the use of the #Region - #End Region directive which automatically outlines the enclosing code.

In IVF I find myself always outlining certain parts of the code by hand (which gets lost whenever something crashes).

While the newly introduced automatic outlining is great, an IVF analogue of the #Region derictive would be a nice addendum.

Anything planned regarding this for the VS2011 version?

And while I'm at it, something like "individual color definitions for custom comments" would be nice, so that comments starting with !$OMP (or comments starting with !#BLA) can have a different color than the default comment color.

Cheers -Ralf

0 Kudos
2 Replies
Steven_L_Intel1
Employee
628 Views
I was unfamiliar with the VB feature and we don't have anything like that planned at this time. I agree that different colors for directives would be nice and will suggest that to the developers.
0 Kudos
jimdempseyatthecove
Honored Contributor III
628 Views
Ralf,

Try:

! { you region comments here
... your region code here
! } end your region comment here

Then at least in VS you can Ctrl-} to jump from begin to end of region (assuming {}'s are matched properly). If you use the same prefix in the {} comments then it is easy(-er) to find misplaced {}'s

! { FOOBAR Begin
... your region code here
! } FOOBAR End

Jim Dempsey
0 Kudos
Reply