Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

Visual studio shell - snippets/macro

Lars_Jakobsen
Beginner
652 Views

Hi,

First of all, I am not sure if this is the correct forum, however since intel visual fortran ships with the visual studio shell here it goes.

I have upgraded to visual studio 2010 (shell) and now I cannot find support for macros (used to be under tools -> macro). I used this, among other things, to make standard headings for subroutines etc. ensuring a form of consistency throughout my code. Can anybody tell me where to find macro support in visual studio 2010 shell?

In order to circumvent the above I turned to snippets instead. I think this facility is quite nice, howver I cannot find any information about how to ensure correct formatting e.g. leading spaces. We usually indent our code with four leading spaces (for readability), however I cannot get the snippet to insert leading spaces in front of e.g. implicit none.

Can anybody help?

Regards
Lars

0 Kudos
2 Replies
ZlamalJakub
New Contributor III
652 Views
Visual studio 2010 (shell) does not conatin macro support.
0 Kudos
Lars_Jakobsen
Beginner
652 Views
I am still struggling to get leading space to work when using snippets. Here is what I have tried so far: &#32; <line xml:space="preserve"> some text however none of the above seems to work. Since using &#69; does insert the letter E I suspect that the problem with leading spaces is related to the parser? Lars
0 Kudos
Reply