Strange behavior of "Surround with ..."

I have an issue with the surround with code assist. (For quite some
time, not a recent regression)

Sometimes, the pop up only shows

1 #region
2 {}

In this case, when I go to the customization form, these are the only
two templates available in "Predefined templates".

At other times, everything is "normal". The pop up list shows all
(default) items. The customization dialog is also complete again.

Maybe this has something to do with my working on two different
solutions at the same time? Right now, I have two VS2005 instances
running with correct behavior and one which is broken.

Regards, Sven

1 comment
Comment actions Permalink

Not exactly the same, but maybe related: I have changed the order of
surround-with templates (also assigned the #region directive to index
1). From time to time, RS loses this setting and resets it to default
index 6. However, this recovers (I think sometimes even without a
restart) without me changing anything back.

Due to this behaviour, I guess I can safely tell that RS has different
lookup paths for its settings (probably default/custom settings), and
sometimes misses to look up the right ones...

Cheers,
Philipp



Sven Kuenzler wrote:

I have an issue with the surround with code assist. (For quite some
time, not a recent regression)

Sometimes, the pop up only shows

1 #region
2 {}

In this case, when I go to the customization form, these are the only
two templates available in "Predefined templates".

At other times, everything is "normal". The pop up list shows all
(default) items. The customization dialog is also complete again.

Maybe this has something to do with my working on two different
solutions at the same time? Right now, I have two VS2005 instances
running with correct behavior and one which is broken.

Regards, Sven

0

Please sign in to leave a comment.