News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Syncronization between h/hpp and c/cpp files

Started by gtafan, October 11, 2018, 01:45:53 PM

Previous topic - Next topic

gtafan

Posibly this feature already exists in codeblocks, but I haven´t found it yet. So what I´d like to have is when I create a void in the h/hpp file the feature should create an empty implementation in the corresponding c/cpp file. Also when changing something on the void in the h/hpp the changes could be also done in c/cpp if the user wants it so.

stahta01

Quote from: gtafan on October 11, 2018, 01:45:53 PM
Posibly this feature already exists in codeblocks, but I haven´t found it yet. So what I´d like to have is when I create a void in the h/hpp file the feature should create an empty implementation in the corresponding c/cpp file. Also when changing something on the void in the h/hpp the changes should be also done in c/cpp.

I never noticed this feature; but, I do not use CB as a editor very much.

I would like the first part of creating an empty implementation; but, I would not like the second part.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Quiss

Right click c/cpp file, Insert/Refactor->All class methods without implementation.

gtafan

Quote from: stahta01 on October 11, 2018, 06:16:57 PM
Quote from: gtafan on October 11, 2018, 01:45:53 PM
Posibly this feature already exists in codeblocks, but I haven´t found it yet. So what I´d like to have is when I create a void in the h/hpp file the feature should create an empty implementation in the corresponding c/cpp file. Also when changing something on the void in the h/hpp the changes should be also done in c/cpp.

I never noticed this feature; but, I do not use CB as a editor very much.

I would like the first part of creating an empty implementation; but, I would not like the second part.

Tim S.
Sorry my bad english again, have edited my post, hope it is now easier to understand what the second part was really about.