Typed dataset modifications and Resharper 227...

Hi guys!

Just want to say first that I'm enjoying the progess being made. Thanks
for all the hard work.

Now, I'm wondering if there would be a possibility to add a menu item to
rescan. I've noticed in 227 that when I make changes to typed datasets and
save the xsd, Resharper doesn't pick up on this and all the datatypes defined
in the xsd are then unavailable to Resharper. If is shutdown VS2005 and
restart, then R# will then rescan the xsd (or the file that has the types...
not completely sure how this all works) and then everything is fine.

Just thought I'd bring this up in case it hasn't been noticed yet.


Thanks,

m


4 comments
Comment actions Permalink

Hello Mufti,

does it make any difference if you open the generated files in the editor?
Thanks.


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

Hi guys!

Just want to say first that I'm enjoying the progess being made.
Thanks for all the hard work.

Now, I'm wondering if there would be a possibility to add a menu item
to rescan. I've noticed in 227 that when I make changes to typed
datasets and save the xsd, Resharper doesn't pick up on this and all
the datatypes defined in the xsd are then unavailable to Resharper.
If is shutdown VS2005 and restart, then R# will then rescan the xsd
(or the file that has the types... not completely sure how this all
works) and then everything is fine.

Just thought I'd bring this up in case it hasn't been noticed yet.

Thanks,

m



0
Comment actions Permalink

Dmitry,

No, it doesn't. Once R# decides that it doesn't want to update its internal
state, it doesn't. I've tried subsequent changes and saving, opening the
associated files, and other things. BTW, this doesn't happen all the time.
I noticed when I was doing a rather extensive refactoring of the xsd that
involved removing a table and removing some field definitions. I'm not sure
if that was the cause of it, but that was when it was most pronounced. When
just modifying field defs in the xsd, it seems to be okay. But on the table
remove/field removes, it seemed to have an issue.

Sorry for the vagueness.

m

Hello Mufti,

does it make any difference if you open the generated files in the
editor? Thanks.

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

>> Hi guys!
>>
>> Just want to say first that I'm enjoying the progess being made.
>> Thanks for all the hard work.
>>
>> Now, I'm wondering if there would be a possibility to add a menu item
>> to rescan. I've noticed in 227 that when I make changes to typed
>> datasets and save the xsd, Resharper doesn't pick up on this and all
>> the datatypes defined in the xsd are then unavailable to Resharper.
>> If is shutdown VS2005 and restart, then R# will then rescan the xsd
>> (or the file that has the types... not completely sure how this all
>> works) and then everything is fine.
>>
>> Just thought I'd bring this up in case it hasn't been noticed yet.
>>
>> Thanks,
>>
>> m
>>


0
Comment actions Permalink

That's a little bit weird. Could make a small solution for us, please?
Anyway, build 229 is already out, try it, please - there is a modification,
that could affect the problem.
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

Dmitry,

I've upgraded to 229 and the issue happened again. I have a bit more information
about the steps that I used to reproduce. I had the XSD open in design mode
(there are 4 tables in the xsd), i inserted a column to one of the tables,
set its values (name, type, etc) then saved the xsd. Then I closed the xsd
and got the prompt to save the other files. I hit yes, and went to a file
that uses that type. R# intellisense doesn't have the updated version of
the types.

I do not know if this is completely reproducibile. If i get some time I'll
try to throw together a reproducible project.

Hope this helps,

m

Dmitry,

No, it doesn't. Once R# decides that it doesn't want to update its
internal
state, it doesn't. I've tried subsequent changes and saving, opening
the
associated files, and other things. BTW, this doesn't happen all the
time.
I noticed when I was doing a rather extensive refactoring of the xsd
that
involved removing a table and removing some field definitions. I'm
not sure
if that was the cause of it, but that was when it was most pronounced.
When just modifying field defs in the xsd, it seems to be okay. But
on the table remove/field removes, it seemed to have an issue.

Sorry for the vagueness.

m

>> Hello Mufti,
>>
>> does it make any difference if you open the generated files in the
>> editor? Thanks.
>>
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> Hi guys!
>>>
>>> Just want to say first that I'm enjoying the progess being made.
>>> Thanks for all the hard work.
>>>
>>> Now, I'm wondering if there would be a possibility to add a menu
>>> item to rescan. I've noticed in 227 that when I make changes to
>>> typed datasets and save the xsd, Resharper doesn't pick up on this
>>> and all the datatypes defined in the xsd are then unavailable to
>>> Resharper. If is shutdown VS2005 and restart, then R# will then
>>> rescan the xsd (or the file that has the types... not completely
>>> sure how this all works) and then everything is fine.
>>>
>>> Just thought I'd bring this up in case it hasn't been noticed yet.
>>>
>>> Thanks,
>>>
>>> m
>>>


0

Please sign in to leave a comment.