If FD's own completion engine can't find the declaration of an identifier, ctrl+click navigation doesn't work. However, it's still possible for position completion to correctly resolve the declaration, like in this example:

As you can see, all the identifiers except decl are clickable.