Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!

We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.

visual studio c++ class view showing classes from outside project

  • You cannot reply to this topic
2 replies to this topic

#1 lawnjelly   Members   -  Reputation: 429


Posted 09 December 2013 - 09:15 AM

I'm hoping there is a solution to this: wacko.png


I've recently started using visual studio 2013 (I *think* there was a similar problem with visual studio 2010 though), so I'm a complete noob to this IDE (it does seem to have, dare I say it, far too many options!!).


The problem I'm facing is that when viewing multiple projects within a solution, classview doesn't just show the classes from within that project. It is *so* intelligent it wants to show me classes from other projects as well, that are used within that project (but are not part of it).




The problem with this is it makes it incredibly difficult to navigate within classview, as all these irrelevant classes are getting pulled in. Is there a way around this problem? Ideally a way to switch this behaviour off.


If not, I see you can create folders within classview. So maybe I can just drag the classes I am actually interested in into these? Unfortunately when I drag classes into the 'user folders' I get a red cross icon, like it doesn't recognise it or something.


And incidently if anyone had a way to make the class member variables actually appear in the treeview as part of the class (instead of a separate window), I would be overjoyed.smile.png


#2 GuardianX   Crossbones+   -  Reputation: 1528


Posted 26 January 2014 - 03:15 AM

You can switch back to your project tab where all of your code files reside and expose any of your .h files - VS will show you all of its members. But the class view tab for C++ code really lacks some attention from VS devs for years now, despite VS being the primary C++ IDE for Windows.

#3 Dragonsoulj   Crossbones+   -  Reputation: 2116


Posted 26 January 2014 - 03:37 AM

You could open a second instance of VS and open your other project in that.