I reported this as a bug to Microsoft a while back. I forget their response, but it was something along the lines of "desired functionality" and "wont fix".
Mark Chandler wrote: > Thats not the issue. Its visual studio being gay. > > Visual stuido only reads the preprocessor defines from the first > project but uses them in every project. So code from the server is > greyed out but is active. > > Ms knows about this but they cant fix it as it is part of the major > system. Hopefully there wont be this issue in 2010 and its why we > still use 2005 for work. > > Mark > > > On 06/05/2009, at 1:31 PM, Jonas 'Sortie' Termansen wrote: > > >> Select the Server or Client project from the Solution Explorer, >> Right Click, >> Set as Startup Project. Wait a second. Done. There is also an option >> in the >> settings that automatically switchs projects when you click on a >> file in >> another project in the solution, but I forgot it's name and couldn't >> refind >> it. >> >> ----- Original Message ----- >> From: "Acolyte Of the Milkman" <[email protected]> >> To: "Discussion of Half-Life Programming" <[email protected] >> >> Sent: Wednesday, May 06, 2009 5:06 AM >> Subject: Re: [hlcoders] how to disable intellisense fromgrayingout >> proprocessor conditional blocks? >> >> >> >>> Getting Intellisense working in the grey area is the main thing, but >>> thanks >>> for the advice anyways. I guess I'll just have to bite down and do >>> what my >>> coding forefathers had to, remember the names of >>> classes/functions/variables/etc >>> >>> -------------------------------------------------- >>> From: "Tony Sergi" <[email protected]> >>> Sent: Tuesday, May 05, 2009 7:25 PM >>> To: "Discussion of Half-Life Programming" >>> <[email protected]> >>> Subject: Re: [hlcoders] how to disable intellisense from >>> grayingoutproprocessorconditional blocks? >>> >>> >>>> It's in options. >>>> 'colorize inactive code blocks in a different color' >>>> >>>> Options -> text editor -> c/c++ -> formatting. >>>> >>>> Note; that even though it won't be grey anymore, intellisense will >>>> still >>>> not work in there, if you want to use it. >>>> >>>> >>>> -Tony >>>> >>>> -----Original Message----- >>>> From: [email protected] >>>> [mailto:[email protected]] On Behalf Of Jorge >>>> Rodriguez >>>> Sent: May-05-09 5:44 PM >>>> To: Discussion of Half-Life Programming >>>> Subject: Re: [hlcoders] how to disable intellisense from graying out >>>> proprocessor conditional blocks? >>>> >>>> This has bothered me for a while and I would like to know the >>>> solution >>>> too, >>>> but my layman's solution is to copy stuff outside of the >>>> CLIENT_DLL block >>>> and then right click it, it's usually recognized by intellisense >>>> immediately. >>>> >>>> -- >>>> Jorge "Vino" Rodriguez >>>> _______________________________________________ >>>> To unsubscribe, edit your list preferences, or view the list >>>> archives, >>>> please visit: >>>> http://list.valvesoftware.com/mailman/listinfo/hlcoders >>>> >>>> >>>> _______________________________________________ >>>> To unsubscribe, edit your list preferences, or view the list >>>> archives, >>>> please visit: >>>> http://list.valvesoftware.com/mailman/listinfo/hlcoders >>>> >>>> >>>> >>> _______________________________________________ >>> To unsubscribe, edit your list preferences, or view the list >>> archives, >>> please visit: >>> http://list.valvesoftware.com/mailman/listinfo/hlcoders >>> >>> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list >> archives, please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlcoders >> >> > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

