Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29261 ディスカッション

VS2010 finding opening/closing braces wont work

onkelhotte
新規コントリビューター II
869件の閲覧回数

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 件の賞賛
5 返答(返信)
Steven_L_Intel1
従業員
869件の閲覧回数
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.
onkelhotte
新規コントリビューター II
869件の閲覧回数

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

Steven_L_Intel1
従業員
869件の閲覧回数
Submitted as issue DPD200178138.
Steven_L_Intel1
従業員
869件の閲覧回数
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.
onkelhotte
新規コントリビューター II
869件の閲覧回数
Thanks for the explanation and that Intel want to support this in a newer version!

Markus
返信