Minor cosmetic problem when using linked files

I am using RemObjects and this system auto-generates 3 files in the
server project when I change the RO file (basically the RO file defines
some classes and methods). One of these files contains the client
interface, which I typically add to the client project as a link.

This means that the client project contains a link to the file existing
in the project directory of the server.

If I change the RO file, in effect regenerating that file, and have that
file open as part of the client project, ReSharper doesn't pick this up
and will routinely color things red because they are missing, even
though a compile works nicely.

Closing the file and reopening it works fine though, but it would be
nice if ReSharper could throw out the cache on this file when it
changes, and rebuild it, if its at all possible to detect.

--
Lasse Vågsæther Karlsen
http://www.vkarlsen.no/
mailto:lasse@vkarlsen.no
PGP KeyID: 0x0270466B

1 comment
Comment actions Permalink

Hi,

the origin of this issue that ReSharper does not handle external changes
to a file if that file is opened in the
VS code editor. This behavior is by design in order for ReSharper's caches
to be in sync with what is
shown in the VS editor (you remember that VS suggests to either reload the
file on external change or ignore the change).
However, VS does not keep track of changes in linked files, so we have this
problem.

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I am using RemObjects and this system auto-generates 3 files in the
server project when I change the RO file (basically the RO file
defines some classes and methods). One of these files contains the
client interface, which I typically add to the client project as a
link.

This means that the client project contains a link to the file
existing in the project directory of the server.

If I change the RO file, in effect regenerating that file, and have
that file open as part of the client project, ReSharper doesn't pick
this up and will routinely color things red because they are missing,
even though a compile works nicely.

Closing the file and reopening it works fine though, but it would be
nice if ReSharper could throw out the cache on this file when it
changes, and rebuild it, if its at all possible to detect.



0

Please sign in to leave a comment.