Author Topic: Sugestion: rebuild file  (Read 6387 times)

Offline superbem

  • Multiple posting newcomer
  • *
  • Posts: 21
Sugestion: rebuild file
« on: February 07, 2013, 09:53:18 am »
This would be a good feature that I think is missing.
To rebuild a file on a right click inside projects pane where a build file option is already there.
The build says nothing to be done if it exists... I have to manual delete it if I want it to rebuild.
This is useful in a way that when I change some compiler options e.g -O2, it insists with the nothing to be done.

Regards

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12127
    • Travis build status
Re: Sugestion: rebuild file
« Reply #1 on: February 07, 2013, 10:35:44 am »
In fact the proper request is that if the option is changed the project should be rebuilt.
Also workaround it by: adding space, then removing it and then saving the file.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline superbem

  • Multiple posting newcomer
  • *
  • Posts: 21
Re: Sugestion: rebuild file
« Reply #2 on: February 07, 2013, 01:20:14 pm »
I dont't think that if the option is changed the project should be rebuilded, it's good as it is.
Imagine you are debugging one file from a big project. Rebuild all is insane.

I'm aware of the space or whatever. But that would chage datetime attributte and sometimes we want to know when it really was edited.
A rebuild option there will be professional and very easy to do.
You know, just a remove(file) then point to build already there in the scoope.
Come on guys, less than 5 minutes to implement.
I could do it but then have to do it again everytime I update svn.
Like to work with the latest :)

Regards

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12127
    • Travis build status
Re: Sugestion: rebuild file
« Reply #3 on: February 07, 2013, 01:44:59 pm »
But that would chage datetime attributte and sometimes we want to know when it really was edited.
Aren't you using a VCS (git, svn, etc)? If you aren't, please start it will make the world tiny bit better place.

Come on guys, less than 5 minutes to implement.
OK, do it and provide a patch, we can see it could be integrated. I challenge you.

See here how to prepare the patch: http://wiki.codeblocks.org/index.php?title=Creating_a_patch_to_submit_to_BerliOS_%28Patch_Tracker%29
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline superbem

  • Multiple posting newcomer
  • *
  • Posts: 21
Re: Sugestion: rebuild file
« Reply #4 on: February 07, 2013, 03:41:21 pm »
Ok I'll watch that further.
For me it's more than five minutes to implement, as I have to search where that specific implementation is.
I say less than five minutes for the dev who writed that specific implementation, not a guy that never touched this project source.
But I'll watch when I can.