Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2008 Intellisense Priority Settings

Is there someway to get VS 2008 intellisense to default to Properties over Classes in a name collision?

Example:

Within my scope I have a property Foo, but I'm also using a class Foo. When writing code, if I start to type F o, VS2008 intellisense will think I mean the class Foo. I want it to think I mean the property Foo instead.

like image 556
Chris Avatar asked Jul 08 '10 15:07

Chris


2 Answers

Unfortunately no this is not possible. Customization of the priority of value categories like classes / properties is not supported

like image 188
JaredPar Avatar answered Oct 19 '22 23:10

JaredPar


There is no possibility in VS2010 and not even in ReSharper 5.0 to deal with this issue. It won't be a feature of ReSharper 6.0 as well, according to JetBrains. I use a different name for the property, when it starts making me aggressive and refactor it after I've done most of the work.

Update:

I reported the issue to JetBrains some time ago and I just got an eMail that the feature has been added and will be available in Release 6.1. So good news for ReSharper users on this one!

http://youtrack.jetbrains.net/issue/RSRP-273067?projectKey=RSRP

like image 45
Marc Avatar answered Oct 19 '22 23:10

Marc