Author |
Topic  |
|
LarryLeonard
Tomato Guru
    
USA
1041 Posts |
Posted - Nov 11 2004 : 1:14:19 PM
|
I have a (for me) huge Workspace, with zillions of CPP and H files.
Let's say I'm staring at a dialog template in the resource editor - one that I'm not familar with. I have no idea what CPP/H files house it, not even which Project in the Worksapce it's in. And no, the name of the dialog doesn't usually help in finding the CPP/H files (wouldn't that be nice, though?). So how do I quickly get to the CPP/H files?
Currently I'm using Find In Files, which means right-clicking on the dialog template, selecting properties, waiting for the properties pane to slide over, clicking the name field once to give it focus, then pausing to avoid a double-click (because that will cause a check-out), clicking on the end of the name, using the keyboard to select all the text, copying that text to the clipboard, doing the Ctrl-Shift-F, pasting the text into the 'Find What' edit control, and clicking 'Find'.
Wouldn't it be cool if VAX had a button that would simply find the H file for me?
|
|
Uniwares
Tomato Guru
    
Portugal
2322 Posts |
Posted - Nov 11 2004 : 1:33:54 PM
|
Alt+Enter, Tab, Ctrl+C, Ctrl+Shift+F, Ctrl+V, Enter. Not that bad, but for sure Alt+G in the dialog would be easier... |
 |
|
LarryLeonard
Tomato Guru
    
USA
1041 Posts |
Posted - Nov 11 2004 : 1:52:05 PM
|
Actually, it's:
Alt+Enter, Tab, Ctrl+C, Ctrl+Shift+F, Ctrl+V, Backspace, Backspace, Backspace, Backspace, Backspace, Backspace, Backspace, Backspace, Backspace, Enter.

That is easier, though, thanks...
|
 |
|
feline
Whole Tomato Software
    
United Kingdom
19105 Posts |
Posted - Nov 11 2004 : 4:34:39 PM
|
perhaps it is a long shot, but i have put in a request 
case=443 |
zen is the art of being at one with the two'ness |
 |
|
Old as dirt
Tomato Guru
    
USA
246 Posts |
Posted - Nov 12 2004 : 08:41:10 AM
|
Have you used the class wizard? I've had pretty good luck with that by selecting a function that some button on the dialog causes to run and selecting "Edit Code" in the wizard. |
Ken |
 |
|
LarryLeonard
Tomato Guru
    
USA
1041 Posts |
Posted - Nov 12 2004 : 09:12:56 AM
|
Most of the time, in a large workspace, the stupid classwizard cannot find the handler, so the 'Edit Code' button is disabled. Just another example of how broken this IDE is: nothing works more than 80% of the time... and some things much less...
|
 |
|
Uniwares
Tomato Guru
    
Portugal
2322 Posts |
Posted - Nov 12 2004 : 3:50:24 PM
|
quote: Originally posted by LarryLeonard
Alt+Enter, Tab, Ctrl+C, Ctrl+Shift+F, Ctrl+V, Backspace, Backspace, Backspace, Backspace, Backspace, Backspace, Backspace, Backspace, Backspace, Enter.
So make it then Alt+Enter, Tab, Ctrl+C, Ctrl+Shift+F, Ctrl+V, Ctrl+Shift+Left, Backspace, Enter. 8 key presses (5 if you count ctrl and shift) less  |
 |
|
|
Topic  |
|
|
|