Short version- is there a way to turn off Visual Studio Intellisense for the object keyword.
Long version- I'm using Visual Studio 2008 and I'm basically using anonymous types. I begin typing something like:
Assert.AreEqual("/SomePath/Stuff", GetOutboundUrl(
I type in new {
Then I see that Visual Studio has recognised that the method GetOutboundUrl
takes an object and changed the code to new object{
. Now must of the time this is great, except for two reasons:
1) I rarely have code that uses the type object.
2) I am actually trying to create an anonymous type not a object, so this feature is actually serving as a hindrance.
The signature for GetOutboundUrl is as follows (from the book Pro ASP.NET MVC framework if anyone is interested):
private string GetOutboundUrl(object routeValues)
I am wondering if there is a way to turn this feature off but only for the keyword object- I would like to see if I actually miss the autocomplete on object (personally I don't think that I will).
I realise that I can turn this off for all keywords by unchecking "Place keywords in completion lists", but I only want to turn it off for object.