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

VS2010 finding opening/closing braces wont work

onkelhotte
New Contributor II
855 Views

I recently update from VS2008 to VS2010.

But in 2008 I cant use a nice feature, which still works with VS2008:

Edit.GoToBrace: CTRL + ]
Moves the cursor location to the matching brace in the source file.
(this is taken from the C#/C++ key bindings from http://www.microsoft.com/download/en/details.aspx?id=13189)

It makes coding very hard if there are a lot of opening and closing braces in math formulas... As mentioned in a thread before, the new "Highlight Matching Tokens" in the Options - Text Editor - Fortran - Advanced menu doesnt do the trick.

Markus

0 Kudos
5 Replies
Steven_L_Intel1
Employee
855 Views
I assume you mean that this doesn't work in VS2010. Fortran doesn't use the brace character, but it works with parentheses as well. I will ask the developers about this.
0 Kudos
onkelhotte
New Contributor II
855 Views

Yeah youre right, there is a typo in my posting.

It works in VS2008 but not in VS2010. I know that this is a VS feature, but it worked with IVF all along.

Markus

0 Kudos
Steven_L_Intel1
Employee
855 Views
Submitted as issue DPD200178138.
0 Kudos
Steven_L_Intel1
Employee
855 Views
The developers tell me that it works when the text editor "inherits" the services of the generic VS editor, which does rather mindless matching of delimiters. The new Intel support for VS2010 doesn't use that and the CTRL-] will work when you are positioned on a Fortran block delimiter (IF, DO, END DO, etc.) They will look at adding "brace" support in a future release.
0 Kudos
onkelhotte
New Contributor II
855 Views
Thanks for the explanation and that Intel want to support this in a newer version!

Markus
0 Kudos
Reply