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

Go to Definition no longer works with Fortran 2021.5.0/ VS2022 17.0.5

AONym
New Contributor II
216 Views

Using Fortran Compiler Classic 2021.5.0 integrated with VS2022, right-clicking on a symbol  in an .f90 source file in VS2022 does not include Go to Definition in the context menu. This worked in VS2019.

Attached is a screen shot showing the difference between VS2019 integration and VS2022.

A possibly-related error is that VS2022 also no longer shows local variables' values in a data tip.

0 Kudos
1 Solution
andrew_4619
Honored Contributor II
191 Views

I have never used that function but I find:

andrew_4619_0-1644331479317.png

That was switched off on mine, but setting true, close VS and restart and it seems to work but only seems to find definitions within the same source file.

 

EDIT correction , it does seem to work across files but for some reason  I cannot as yet see some items do not work. 

View solution in original post

2 Replies
andrew_4619
Honored Contributor II
192 Views

I have never used that function but I find:

andrew_4619_0-1644331479317.png

That was switched off on mine, but setting true, close VS and restart and it seems to work but only seems to find definitions within the same source file.

 

EDIT correction , it does seem to work across files but for some reason  I cannot as yet see some items do not work. 

AONym
New Contributor II
172 Views

The Go To Definition function never worked completely, even for variables in the same source .f90 file. However, working some of the time is better than nothing.

Reply