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

Visual Studio integration: procedure with IMPURE attribute missing from members drop-down list

FortranFan
Honored Contributor III
628 Views

In case this is not a known issue: consider the code shown below: procedure with IMPURE attribute doesn't show up in the members drop-down list in Visual Studio.  Also, this particular keyword doesn't receive the syntax highlighting either.

module m

contains

   subroutine foo()

   end subroutine foo

   pure subroutine bar()

   end subroutine bar

   elemental subroutine foobar()

   end subroutine foobar

   impure elemental subroutine snafu()

   end subroutine snafu

end module m

snafu_0.png

0 Kudos
3 Replies
Steven_L_Intel1
Employee
628 Views

Thanks - we overlooked this in the VS parsing code. I will let the developers know.  Issue ID is DPD200378531.

0 Kudos
FortranFan
Honored Contributor III
629 Views

Thanks Steve.

Re: the missing syntax highlighting for IMPURE, instead of a piecemeal addition, will it be possible for the development team to take a comprehensive look and include the full complement of standard Fortran keywords in the VS integration, as I had requested in another thread (see link below)?  That will be very helpful indeed,

https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/542008  

 

0 Kudos
Steven_L_Intel1
Employee
628 Views

Yes, we should do that...

0 Kudos
Reply