Saturday, October 25, 2008

AnkhSvn vs. Intellisense

This appears to be a bug in AnkhSvn. The Pending Changes window (View -> Show Pending Changes) causes intellisense (list of suggestions you get while typing code) in Visual Studio 2008 to disappear. It only appears for a fraction of a second and then vanishes. To confirm this all I had to do is close the Pending Changes window and intellisense works again.
Hope someone fixes that.

kick it on DotNetKicks.com

7 comments:

Sander Rijken said...

This problem has been fixed a *long* time ago, 18th of Juli to be exact.. Update your AnkhSVN (http://ankhsvn.net/downloads/).

The problem was only present when an up-to-date file changed status (going to modified/edited), and that change was caused by a character that causes Intellisense to show. IE the first character you type in an unmodified file causes Intellisense to show up.

Muhammad Shehabeddeen said...

Hello Sander.
According to my experimenting with this, it either was not fixed or has reappeared since I have upgraded to the latest version and it still appears. Add to that it happened when I had a solution not under source control, just the Pending Changes showing (it still shows even if you don't have the project/solution in SVN). Anyway, I am going to check it again under different settings.

Sander Rijken said...

Can you provide me/us with some steps to reproduce this? Preferably email [users {a} ankhsvn open collab net]

Thanks!

Sander Rijken said...

Just to make sure we are talking about the same "latest" version. The latest stable is 2.0.5250, you can check this in Help -> About and search for AnkhSVN in the about box

Muhammad Shehabeddeen said...

After experimenting more with this, now I understand how it happens better. It is still a bug but definitely not a serious one since it happens under certain conditions. To reproduce:
1. Open VS 2008
2. File --> Open Web Site
3. Select an existing Web Site
4. DO NOT SAVE THE NEW SOLUTION
5. Make sure Pending Changes window is available, if not View --> Show Pending Changes
6. try editing code a couple of times (first time intellisense works so press escape then try it again, for example in Page_Load of a certain Page type "this.", intellisense appears, press escape and try again "ctrl + space")

The key reason here is that the solution is not saved yet, once saved intellisense works again. This does not mean that this happens just because we have a new Solution since if we close the Pending Changes window intellisense works again without having to save the solution.
Again I confirm that it is not a show stopper in anyway, the simple workaround is to save the solution (something you will have to do anyways).

Hope I was able to help in anyway.

Sander Rijken said...

Just to make sure the problem is marked 'solved' here as well. It has been solved today in r5485, and will be in daily builds starting tomorrow.

Thanks again for the great reproduction 'script'

vfdvgf said...

I link Wow Power Leveling and wow power leveling wow power leveling|*|wow power leveling|*|http://www.superpowerleveling.com|*|fhg81

Post a Comment