Author Topic: Add new file to active project is too intricacy than before  (Read 10618 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5149
Re: Add new file to active project is too intricacy than before
« Reply #15 on: July 19, 2006, 11:05:45 am »
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

Offline zealkane

  • Multiple posting newcomer
  • *
  • Posts: 29
Re: Add new file to active project is too intricacy than before
« Reply #16 on: July 19, 2006, 11:06:56 am »
Quote
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.
« Last Edit: July 19, 2006, 11:08:28 am by Eric Kane »
Zeal without knowledge is fire without light.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9489
Re: Add new file to active project is too intricacy than before
« Reply #17 on: July 19, 2006, 11:12:01 am »
How about this one:

(http://img90.imageshack.us/img90/2729/filepathpaneldn2.png)?
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

sethjackson

  • Guest

Offline mdelfede

  • Multiple posting newcomer
  • *
  • Posts: 84
Re: Add new file to active project is too intricacy than before
« Reply #19 on: July 19, 2006, 02:16:47 pm »
How about this one:

(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

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Add new file to active project is too intricacy than before
« Reply #20 on: July 19, 2006, 02:52:44 pm »
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 "..."
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline mdelfede

  • Multiple posting newcomer
  • *
  • Posts: 84
Re: Add new file to active project is too intricacy than before
« Reply #21 on: July 19, 2006, 02:59:59 pm »
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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9489
Re: Add new file to active project is too intricacy than before
« Reply #22 on: July 19, 2006, 03:01:50 pm »
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... ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline jpaterso

  • Multiple posting newcomer
  • *
  • Posts: 57
Re: Add new file to active project is too intricacy than before
« Reply #23 on: July 19, 2006, 04:41:24 pm »
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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9489
Re: Add new file to active project is too intricacy than before
« Reply #24 on: July 19, 2006, 04:55:03 pm »
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?!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5149
Re: Add new file to active project is too intricacy than before
« Reply #25 on: July 19, 2006, 05:15:33 pm »
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.

Offline MaxGaspa

  • Almost regular
  • **
  • Posts: 129
Re: Add new file to active project is too intricacy than before
« Reply #26 on: July 19, 2006, 05:43:09 pm »
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

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Add new file to active project is too intricacy than before
« Reply #27 on: July 19, 2006, 05:51:17 pm »
How about this one:

(http://img90.imageshack.us/img90/2729/filepathpaneldn2.png)?
With regards, Morten.

Hello,

It looks good :), but IMHO a bit too big.

Best wishes,
Michael

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9489
Re: Add new file to active project is too intricacy than before
« Reply #28 on: July 19, 2006, 06:13:46 pm »
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...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ