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

Go To Definition and type-bound procedures

FortranFan
Honored Contributor III
364 Views

Steve,

By the way, you may have noticed "Go To Definition" doesn't fully work with type-bound procedures: for example, if one right-clicks on bar in line 6 in the snippet below, it will be really great if the cursor jumped to the definition of bound procedure (possibly a rename or a generic) of bar in type t in module m!  Right now, it doesn't seem to do anything.

   ..
   use m, only : t
   ..
   type(t) :: foo
   ..
   call foo%bar(..)
   ..

Possibly a difficult feature to implement, but it will be cool if available!

0 Kudos
1 Reply
Steven_L_Intel1
Employee
364 Views

That would be quite difficult with renames, overrides and generics. The derived type support for Go To Definition is rather weak at present.

0 Kudos
Reply