Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: EricKane on July 18, 2006, 10:27:45 pm
-
Add new file to active project is too intricacy than before, in spite of "New Empty File" or "New File"!!!
-
Add new file to active project is too intricacy than before, in spite of "New Empty File" or "New File"!!!
please read this: http://forums.codeblocks.org/index.php?topic=3598.msg28308#msg28308 (http://forums.codeblocks.org/index.php?topic=3598.msg28308#msg28308).
With regards, Morten.
-
I can use wizard add "new c/c++ file" to active project,but if i add "new empty file" to active project, i must to save it before, can not directly add "new empty file" to active project,too discommodious.
should be add an option like " Add file into-> [opened project list]" to right click menu in editor dialog window.
-
Add file into-> [opened project list]" to right click menu in editor dialog window.
I agree on this.
-
Please have a look at this post:
http://forums.codeblocks.org/index.php?topic=3598.msg28334#msg28334 (http://forums.codeblocks.org/index.php?topic=3598.msg28334#msg28334)
and tell me your thoughts...?!
-
Add file into-> [opened project list]" to right click menu in editor dialog window.
I agree on this.
I'm going to have to disagree on this one.....
Please have a look at this post:
http://forums.codeblocks.org/index.php?topic=3598.msg28334#msg28334 (http://forums.codeblocks.org/index.php?topic=3598.msg28334#msg28334)
and tell me your thoughts...?!
I like it.
-
I mean if add an option for diractly add created "empty file" to some or other project, that will save many time.
in current way,we need 3 steps to add an empty file to some or other project:
1. create a new empty file .
2. save it.
3. click "Add files..." in project menu ,then to find out created "empty file" where i saved it and add it to some or other project.(if there has many files in my project, i must to find out it expend many time and looks.)
We can use an option like "Add file into...-> <opened project list>" of right click menu in editor dialog window,then we not need expend time to find out i saved new files in many other files.
I think that is my thought.
And i know, if i said too many there some guy will be said "thanks , but no thanks",because i am not a developer for CB. But I am not kibitz, i just said out my thought. How to actualize software functions in detail, that is your developer's business.
Regards, Eric.
-
I mean if add an option for diractly add created "empty file" to some or other project, that will save many time.
in current way,we need 3 steps to add an empty file to some or other project:
Could you try this one and tell me your thoughts: http://forums.codeblocks.org/index.php?topic=3598.msg28334#msg28334 (http://forums.codeblocks.org/index.php?topic=3598.msg28334#msg28334)?
(it is also in SVN if you prefer this variant).
-
if i want to add a new header file i can't
it just gives an error !
see here
(http://img150.imageshack.us/img150/8158/addnewfileerrorin5.png)
svn rev 2766
-
it just gives an error !
It gives an error because you haven't specified a full path name. So the wizards doens't now in what folder to place the file into. Please use the "..." button... I'll think about that...
-
If you're going to add it to the active project and the path is relative, the project's base directory sounds good :)
I'ven't played with Squirrel but it should be 2 to 4 lines I guess :P
-
I'ven't played with Squirrel but it should be 2 to 4 lines I guess :P
The problem is: This isn't an issue with the (squirrel) wizard script but with the wizard plugin itself. The message is issued by the wizard plugin... :-(
-
it just gives an error !
It gives an error because you haven't specified a full path name...
ok thanks !
-
it just gives an error !
It gives an error because you haven't specified a full path name. So the wizards doens't now in what folder to place the file into. Please use the "..." button... I'll think about that...
I noticed this one too, I also typed in the filename without browsing to a directory.
I think other people might also make this mistake; So from the top of my head I see 2 solutions :
1) either make the text box uneditable
2) create it in the (active) project directory or (active) target directory if there's one. Otherwise people habe to browse for it.
option 1) seems the easiest and maybe the best ??
-
option 1) seems the easiest and maybe the best ??
I would fully agree on that. Choosing the project's directory as default if only a file name has been provided makes no sense in many cases. And since the "File select" dialog starts in the projects base directory this is usually a very good default (at least for me) and saves "browsing" time...
Edit: On second thoughts: then we will have the guys complaining that want to enter a short path by hand and not using the mouse. So how about simply changing the label for this textbox from "Filename:" to "Filename with full path:"?
-
or relative !!
for example I never ever have my sources next to tje project, this is the structure I use (say for a lib)
my_lib
|
|_____inc // (exported headers)
|
|_____src // the implementation (cpp and not exported headers)
|
|_____doc // documentation
|
|_____project // the cbp
so then I could type in : ..\src\my_file.cpp or ..\inc\my_file.h
-
Please have a look at this post:
http://forums.codeblocks.org/index.php?topic=3598.msg28334#msg28334
and tell me your thoughts...?!
when developer add it in next revision , i will try. If each software need be patched by myself, i have no time to do other things what i must to do.
-
How about this one:
(http://img90.imageshack.us/img90/2729/filepathpaneldn2.png) (http://imageshack.us)
(http://img90.imageshack.us/img90/2729/filepathpaneldn2.png (http://img90.imageshack.us/img90/2729/filepathpaneldn2.png))?
With regards, Morten.
-
How about this one:
(http://img90.imageshack.us/img90/2729/filepathpaneldn2.png) (http://imageshack.us)
(http://img90.imageshack.us/img90/2729/filepathpaneldn2.png (http://img90.imageshack.us/img90/2729/filepathpaneldn2.png))?
With regards, Morten.
I like that one. :)
-
How about this one:
(http://img90.imageshack.us/img90/2729/filepathpaneldn2.png) (http://imageshack.us)
(http://img90.imageshack.us/img90/2729/filepathpaneldn2.png (http://img90.imageshack.us/img90/2729/filepathpaneldn2.png))?
With regards, Morten.
I like that one. :)
Adding to more than one target is missing in that one... would be better a checklist.
Ciao
Max
-
Yep, a checklist instead of a checkbox and combobox would be nice. Also, it should immediately pop up the file selector box, so you don't need to click on "..."
-
Yep, a checklist instead of a checkbox and combobox would be nice. Also, it should immediately pop up the file selector box, so you don't need to click on "..."
Is it possible to combine the file selector and the wizard page in one dialog ? Then the problem of missing path would be gone.
The wizard could open in last visited path (or project path if none).
Ciao
Max
-
Yep, a checklist instead of a checkbox and combobox would be nice. Also, it should immediately pop up the file selector box, so you don't need to click on "..."
Hey, common: Once you have enabled the checkbox on the info dialog that's what you got... ;-)
-
How about the default code? That was a great option that was available before... It doesn't seem to work anymore with newly created files...
Thanks,
- Joe
-
How about the default code? That was a great option that was available before... It doesn't seem to work anymore with newly created files...
What default code? (I really can't recall?!)
You don't mean the class wizard? Or the code that is put if you choose e.g. the DLL wizard?!
-
you could specify some text that woule be applied to every new header and or source file.
Eg company headers , or gnu license stuff etc ...
I think that's down for the moment.
-
Please,
thomas> Yep, a checklist instead of a checkbox and combobox would be nice. Also, it should immediately pop up the file selector
thomas> box, so you don't need to click on "..."
don't forget an "All" option to add the new file to all available targets. I am adding (latest nightly) some new files in a project with 4 targest. It is not confortable to manually add any new file to all the targets.
Massimo
-
How about this one:
(http://img90.imageshack.us/img90/2729/filepathpaneldn2.png) (http://imageshack.us)
(http://img90.imageshack.us/img90/2729/filepathpaneldn2.png (http://img90.imageshack.us/img90/2729/filepathpaneldn2.png))?
With regards, Morten.
Hello,
It looks good :), but IMHO a bit too big.
Best wishes,
Michael
-
Adding to more than one target is missing in that one... would be better a checklist.
I'll give it a try when I have time... I need to write down all that stuff not to forget...