visual c++
-
i'm file view, 100%. class view is worthless to me. -c ------------------------------ Smaller Animals Software, Inc. http://www.smalleranimals.com
When I want to jump to the definition (or declaration) of a function, Class View is much faster than firing up the Browser (not to mention saving the extra time to compile with browser info generation) or search in all filesl. Sure, I could use a tags tool, but ClassView is fine for most of my work, so why bother. Of course, ClassView does suffer a lot with respect to real C++ code (i.e., namespaces, templates, etc.) just as IntelliSense does, but it's still quite useful for my work.
-
I don't think i've ever used it in my life, other than "what does this tab do?" I'm using ClassView as primary workspace/project navigation tool. Are you using File View to move between your classes? Tomasz Sowinski -- http://www.shooltz.com
likewise ... i stopped using the fileview a long whiles ago as just too inefficient when you have >100 member functions in some classes --- "every year we invent better idiot proof systems and every year they invent better idiots"
-
When I want to jump to the definition (or declaration) of a function, Class View is much faster than firing up the Browser (not to mention saving the extra time to compile with browser info generation) or search in all filesl. Sure, I could use a tags tool, but ClassView is fine for most of my work, so why bother. Of course, ClassView does suffer a lot with respect to real C++ code (i.e., namespaces, templates, etc.) just as IntelliSense does, but it's still quite useful for my work.
Just a point that I stumbled on recently - the class view is limited to classes/etc contained in files with standard c++ extensions. I've been working on a legacy prog that was originally a 16 VC 1.52 project, and made use of a third party GUI design tool that subclassed the mfc window classes and used a convention of '#including' c++ code from files with non-standard extentions (e.g. XXc instead of cpp). (I know - yucch) The no-compile-browser (ncb) can't deal with the stuff in these files - if you want to jump to the decl of one of these wrappers, you need to build the real browse info (or, yes, do the Find In Files thing). Wonder if there's something I'm missing here - can we add these extensions to VC somehow so that these classes will show?
-
I don't think i've ever used it in my life, other than "what does this tab do?" I'm using ClassView as primary workspace/project navigation tool. Are you using File View to move between your classes? Tomasz Sowinski -- http://www.shooltz.com
No, I use the wizard bar (I think thats what it's called).
-
likewise ... i stopped using the fileview a long whiles ago as just too inefficient when you have >100 member functions in some classes --- "every year we invent better idiot proof systems and every year they invent better idiots"
the fileview works fine if you use something like Visual Assist ;P maXallion
"Look for bugs, I hate bugs!" - Warden, The Mummy
www.maxallion.de - coded evil & more -
likewise ... i stopped using the fileview a long whiles ago as just too inefficient when you have >100 member functions in some classes --- "every year we invent better idiot proof systems and every year they invent better idiots"
> likewise ... i stopped using the fileview a long whiles ago as > just too inefficient when you have >100 member functions in > some classes Wow - I think you need to do some more decomposition resulting in more classes with fewer members. Dale Thompson
-
Just a point that I stumbled on recently - the class view is limited to classes/etc contained in files with standard c++ extensions. I've been working on a legacy prog that was originally a 16 VC 1.52 project, and made use of a third party GUI design tool that subclassed the mfc window classes and used a convention of '#including' c++ code from files with non-standard extentions (e.g. XXc instead of cpp). (I know - yucch) The no-compile-browser (ncb) can't deal with the stuff in these files - if you want to jump to the decl of one of these wrappers, you need to build the real browse info (or, yes, do the Find In Files thing). Wonder if there's something I'm missing here - can we add these extensions to VC somehow so that these classes will show?
Yim, You can make VC++ automatically highlight them by adding the file extensions to the following registry key;
[HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Text Editor\Tabs/Language Settings\C/C++]
FileExtensions=cpp;cxx;c;h;hxx;hpp;inl;tlh;tli;rc;rc2;cc;XXcThis also seems to allow one to browse through that kind of file with the class browser. -Ben --------- On the topic of code with no error handling -- It's not poor coding, it's "optimistic" ;)
-
No, I use the wizard bar (I think thats what it's called).
I used to teach the Microsoft Official Curriculum course on the MFC and would ask the students if they used Class View, File View or the Wizard Bar to navigate through their projects. Only one time out of about 200 students did someone admit to using the Wizard Bar. I hate that thing. ;P -John
-
Yim, You can make VC++ automatically highlight them by adding the file extensions to the following registry key;
[HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Text Editor\Tabs/Language Settings\C/C++]
FileExtensions=cpp;cxx;c;h;hxx;hpp;inl;tlh;tli;rc;rc2;cc;XXcThis also seems to allow one to browse through that kind of file with the class browser. -Ben --------- On the topic of code with no error handling -- It's not poor coding, it's "optimistic" ;)
Ben Nice one! I had to find a better reg loc than HKCU, though - it gets overwritten (on NT anyway). I think the pivotal key is in the profile your logged as - HKEY_USERS\<big scary key here>\Software\Microsoft\DevStudio\6.0\Text Editor\Tabs/Language Settings\C/C++ It also exists in HKEY_USERS\.DEFAULT\Software\... but I had success only when I changed the profiled key. Maybe you are on Win98? Haven't looked at that yet. Still can't build a Class Wizard database, which may be another issue, but the classes now show up in the class browser and I get syntax highlighting.
-
I used to teach the Microsoft Official Curriculum course on the MFC and would ask the students if they used Class View, File View or the Wizard Bar to navigate through their projects. Only one time out of about 200 students did someone admit to using the Wizard Bar. I hate that thing. ;P -John
Why? Surely it is by far the easiest method as it is always infront of you no matter which document type you are working in. One click (ok, three clicks) and you are in any function, or whatever, for any class in the entire project - no matter how big.
-
Ben Nice one! I had to find a better reg loc than HKCU, though - it gets overwritten (on NT anyway). I think the pivotal key is in the profile your logged as - HKEY_USERS\<big scary key here>\Software\Microsoft\DevStudio\6.0\Text Editor\Tabs/Language Settings\C/C++ It also exists in HKEY_USERS\.DEFAULT\Software\... but I had success only when I changed the profiled key. Maybe you are on Win98? Haven't looked at that yet. Still can't build a Class Wizard database, which may be another issue, but the classes now show up in the class browser and I get syntax highlighting.
> I had to find a better reg loc than HKCU, though - it gets > overwritten (on NT anyway) [snip] > Maybe you are on Win98? Haven't looked at that yet. Strage... I'm running Win2K and the settings havent ever been overwritten, even after a reboot. -Ben --------- On the topic of code with no error handling -- It's not poor coding, it's "optimistic" ;)
-
That's an interesting point:- How many of you actually use the classview? I don't mean the class wizard (I only use that when assigning names to variables, etc). I don't think i've ever used it in my life, other than "what does this tab do?".
It's funny, because I *always* use the classview, but others here use the Wizard Bar more ( I use a combination of the two ), and some even use the source file view to navigate (urgh). I always believe that good software offers a multitude of ways to achive core functions so people can, to a degree, define their own interface by choosing the methods that suit them. I guess this shows VC++ achieves that. Christian #include "std_disclaimer.h" People who love sausage and respect the law should never watch either one being made. The things that come to those who wait are usually the things left by those who got there first.
-
> I had to find a better reg loc than HKCU, though - it gets > overwritten (on NT anyway) [snip] > Maybe you are on Win98? Haven't looked at that yet. Strage... I'm running Win2K and the settings havent ever been overwritten, even after a reboot. -Ben --------- On the topic of code with no error handling -- It's not poor coding, it's "optimistic" ;)
Well, got it going on 98, but sort of the same situation - just editing the CURRENT_USER mirror won't do it - here I had to edit USERS/.DEFAULT, which updated HKCU, and had to do it with DevStudio closed - which seemed to overwrite the HKCU key when I closed it in order to reopen... Maybe W2K handles the HKCU alias differently? Maybe I shouldn't be editing the registry? :-D
-
> I had to find a better reg loc than HKCU, though - it gets > overwritten (on NT anyway) [snip] > Maybe you are on Win98? Haven't looked at that yet. Strage... I'm running Win2K and the settings havent ever been overwritten, even after a reboot. -Ben --------- On the topic of code with no error handling -- It's not poor coding, it's "optimistic" ;)
Strage... I'm running Win2K and the settings havent ever been overwritten, even after a reboot. I've had this problem a lot. I've consistently found that a number of the keys DevStudio uses to store user configurations get hosed frequently (on NT). Most noticeable is that if I customize the menus from Tools/Options, the titles for the menu entry gets hosed the second time I fire up DevStudio after doing the customization. For instance, I might add a menu item for a macro (or add-in command) called MyVeryLongWindedMacro and name the menu item "Foo". The next time I start DevStudio, I will have "Foo" on the menu. The following time I start DevStudio, the menu item will be renamed automagically to "MyVeryLongWindedMacro". I finally dealt with this one by writing a macro that rewrites the menus the way I like them. If I run this macro at startup, I get to keep my preferences. Unfortunately, if other registry keys are getting hosed as well, you can't reset them as easily from inside DevStudio. He was allying himself to science, for what was science but the absence of prejudice backed by the presence of money? --- Henry James, The Golden Bowl
-
I used to teach the Microsoft Official Curriculum course on the MFC and would ask the students if they used Class View, File View or the Wizard Bar to navigate through their projects. Only one time out of about 200 students did someone admit to using the Wizard Bar. I hate that thing. ;P -John
Me neither. I develop on two machines - an NT box with an 1152x864 17" display, and a Win98 laptop with an 800x600 TFT. Neither has enough real estate, so until I've got three 19" monitors on each machine, the WizardBar stays off! ;P In fact, half the time I work in full screen mode (esp on the laptop) and use WndTabs to get around... Andy Metcalfe - Sonardyne International Ltd
(andy.metcalfe@lineone.net)
http://www.resorg.co.uk"I used to be a medieval re-enactor, but I'm (nearly) alright now..."
-
I mostly use the file-view nowadays, because the classes kept dissapearing, as soon as I changed something, and I didn't want to open the header file and save it everytime. I sometimes use the class-view to create member functions, because it's quicker, but that doesn't work allways... maXallion
"Look for bugs, I hate bugs!" - Warden, The Mummy
www.maxallion.de - coded evil & moreI had the same problem, until I discovered the OpenVC add-in iwth its "NukeNCB" button...it works for me! Andy Metcalfe - Sonardyne International Ltd
(andy.metcalfe@lineone.net)
http://www.resorg.co.uk"I used to be a medieval re-enactor, but I'm (nearly) alright now..."