That's the added extra "smartness" you have to live with :(...and that's out of your mouth... ;-)
Now just you wait until the IDE gets even smarter and forces you to recompile the whole project if you change one compiler setting... I keep telling you, things should never be too "smart".I couldn't resist: :lol:
Hey, it's not me who wants wizards everywhere ;)That's the added extra "smartness" you have to live with :(...and that's out of your mouth... ;-)
...anyway: read my previous post (our posts have crossed) and tell me what's wrong with it?
2) file new (empty) --> untitled -> save it and you can give it a name and type as you likeThat's an attempt to find a solution for a problem that would not be there if things were not made complicated without need in the first place. And it is a bad solution, too. You have to manually add the file to the project later.
You have to manually add the file to the project later.but often you want a new file and you don't want it to be added to a project. Sometimes you don't even want it saved (print purposes, say little scratchpad). Andthen you have a wizard asking you if it shold be added to the project or not. Woops ..; a wizard ;-) :mrgreen:
QuoteYou have to manually add the file to the project later.but often you want a new file and you don't want it to be added to a project. Sometimes you don't even want it saved (print purposes, say little scratchpad). Andthen you have a wizard asking you if it shold be added to the project or not. Woops ..; a wizard ;-) :mrgreen:
Hey, it's not me who wants wizards everywhere ;)That's the added extra "smartness" you have to live with :(...and that's out of your mouth... ;-)
...anyway: read my previous post (our posts have crossed) and tell me what's wrong with it?
In my opinion, wizards are for children or for people who just learn how to use a computer, not for programmers.
Granted, for a few complicated things, a wizard can be helpful. But for simple things, simple solutions are good, and things should never be smarter than they need to be (because they are not).Quote2) file new (empty) --> untitled -> save it and you can give it a name and type as you likeThat's an attempt to find a solution for a problem that would not be there if things were not made complicated without need in the first place. And it is a bad solution, too. You have to manually add the file to the project later.
RegisterWizard(wizFiles, _T("empty_file"), _T("Empty file"), _T("C/C++"));
It would be simple to right click on headers, for example, select 'new file', give a name and have the header file added to project with no wizards.Yes, but you would have to at least offer one selection: The target. A project can contain several targets - so to which one shall the new header file be added? ...and that's where the wiazards come into play... ;-)
It would be simple to right click on headers, for example, select 'new file', give a name and have the header file added to project with no wizards.Yes, but you would have to at least offer one selection: The target. A project can contain several targets - so to which one shall the new header file be added? ...and that's where the wiazards come into play... ;-)
...I hope I'm not beaten as I'm the only one pro wizards here... ;-)
BTW: What I'm also trying is to enable the ability to add a quick "all targets" checkboxWow, this is just what I wanted since first time I used C::B!
BTW: why as default all targets are not checked? Isn't more usual to add the file to all targets?This would be an issue for projects like C::B. There targets are libs and plugins used by the main (application) target. For such projects this default settings would be annoying. So I guess if I do this mandrav and/or Thomas will kill me. ;-)
I'm thinking about the classic "Release" and "Debug" targets which must have the same files.
Well, then I (and people with little projects) really need the "All targets" button... 8)...which I have already implemented. I'm struggling with the issues how to query more than a singluar value to a script. My first attempt wasn't good on second thoughts so now I'm doing a re-write which should do the job better...