- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Some changes appear with some blurry icons appearing now, but still doesn't recognise any subroutine or function with the keyword "MODULE".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is this a new issue specific to IFX, or was it reported previously on the forum or OSC? I will investigate it further.
@Andrew_Smith wrote:
Some changes appear with some blurry icons appearing now, but still doesn't recognise any subroutine or function with the keyword "MODULE".
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not sure I understand what you mean. When I look in a submodule in VS2022 with the latest Fortran, in the header pulldown on the right I see all the subroutines and functions irrespective if the have the module prefix. Is it some intermittent problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is not intermittent. Here is a reproducer: It gives an empty list:
submodule (Plant) Planted
contains
module procedure a
end
end submodule
Whereas, redefining a as a subroutine does get picked up:
submodule (Plant) Planted
contains
module subroutine a
end
end submodule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK that isn't consistent with the description in the original post. I do confess to not understanding your usage case in the first code snippet I thought the valid usage of "module procedure a" was only within an interface block relating to a subroutine with the contains. Anyway I have no useful comments to add.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My code example was consistent with my original post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok ""still doesn't recognise any subroutine or function with the keyword "MODULE"." It does not recognise procedure with the keyword module. It does recognise module subroutine and module function. That is what I meant. [edited]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is this a new issue specific to IFX, or was it reported previously on the forum or OSC? I will investigate it further.
@Andrew_Smith wrote:
Some changes appear with some blurry icons appearing now, but still doesn't recognise any subroutine or function with the keyword "MODULE".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't think it is a new issue or specific to IFX. It may well have been reported previously but hard to search for
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I do not recall seeing this reported before. Interestingly I opened one of my exiting submodules and added (in the contains)
module procedure a
end
It started the reparsing the file for syntax 'intellisense' or whatever it is called and VS promptly terminated. I reopened and repeated that a few time in slightly different ways with the same result!
However, having slept on it rebooted and tried again it does not crash so maybe VS was having a bad day.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page