Author Topic: Some wishes for next Code Blocks build  (Read 5510 times)

Offline dirk_1980

  • Multiple posting newcomer
  • *
  • Posts: 25
Some wishes for next Code Blocks build
« on: June 13, 2009, 12:23:14 am »
Hi.

I would be pleased if your would better evaluate the compiling routine instructions (#ifdef #else #endif) .

That would significantly improve the project.
Then also the code-Complition and the finding Functions system would better run.


Save (ctrl-S) with backup is also helpful, that make each editor already since > 20 years, only your not.


So please do something (fast), i am thinking already to change to NetBeans or Eclipse, even though this is not what i want.

Best wishes,
Dirk

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Some wishes for next Code Blocks build
« Reply #1 on: June 13, 2009, 08:55:11 pm »
I would be pleased if your would better evaluate the compiling routine instructions (#ifdef #else #endif) .
Not easy - as discussed many times... Search the forums for details...

Save (ctrl-S) with backup is also helpful, that make each editor already since > 20 years, only your not.
Already available as plugin... just use it.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline dirk_1980

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: Some wishes for next Code Blocks build
« Reply #2 on: June 14, 2009, 05:53:04 pm »
Hi.
Nobody said that it is easy.
The main question is, is somebody working on it and when will it be availible?
This is a must have feature, essential these days

I know the autosave plugin, it is working. I mean -> after 2min create backup & save file.
But if i save a file on my own, the is no *.bak file.
Or i dont understand you and there is a plugin i don't know.

Dirk

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Some wishes for next Code Blocks build
« Reply #3 on: June 15, 2009, 07:59:50 am »
Hi.
Nobody said that it is easy.
The main question is, is somebody working on it and when will it be availible?
This is a must have feature, essential these days
Here is my comments:
This is no easy, even the commercial product "visual assist" do badly :D


My question :

Does NetBeans or Eclipse do a better job? Since both of them were open source product, we can use these code for reference.  :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline dirk_1980

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: Some wishes for next Code Blocks build
« Reply #4 on: June 15, 2009, 01:30:33 pm »
Hi.

NetBeans and Eclipse are doing a perfect job, but i don't like them.

If i could program in C++, i would help you, because i like Code::Bolcks.

Dirk

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Some wishes for next Code Blocks build
« Reply #5 on: June 15, 2009, 02:27:38 pm »
I know the autosave plugin, it is working. I mean -> after 2min create backup & save file.
But if i save a file on my own, the is no *.bak file.
Or i dont understand you and there is a plugin i don't know.

This can be easily implemented, because C::B copies the original-file to a temp-file, until the changes are successfully written.
If we just do not delete it, and name it differently ("name~" on linux and probably "name.bak" on win instead of "name.cbTemp") it should be done.

There is just one problem I see: wxWidgets does not copy all of the files access-rights (at least not a changed group on linux) correctly.
That means the backup-file might have set access-rights and/or user and/or group incorrect.

Offline dirk_1980

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: Some wishes for next Code Blocks build
« Reply #6 on: June 15, 2009, 03:47:52 pm »
Hi,
thats sounds great.

I use Windows XP and i don't know anything about file right management.
So for me it will work, but Linux sould work too.
Dirk