Pelles C > Add-ins

Comments automation addin

(1/3) > >>

frankie:
This addin is based on the excellent work of CLR, while it is keeping the function and prototypes (lightly improved) it adds the following features:
1) Module comment (creation and editing)
2) Function comment (creation and editing)
3) Win32 help search (with F1)
4) Automatic versioning and build counter with version editing.
5) Element usage (still incomplete)
6) Classic CLR code features

The features of points 1 and 2 are accessed with left mouse botton (the module comment from from anywhere in the file, function comment clicking inside the function).
For feature 3 select the word and press F1 (first declare win32.hlp in setup)
The automatic versioning is enabled creating a macro in the project options named 'VERSION'. The value of this macro is the name of the versioning .c and .h files (before enable versioning feature in the setup). After the first creation include the version.c file in the project.
Element usage for now simply search the next forward occourrence of the selected word in the text.
The classic CLR functions are available as before.
This is a Alpha release. Update will follow.
Enjoy.

Note: please download the updated version below.

Pelle:
Very nice - thanks!

Just after enabling the version feture, there seem to be "garbage" in the version info. I get "Error: File line too long" when building - until I use the "Edit Version" dialog, and set the version numbers myself. Maybe nice if the default, if possible, was something other than "garbage"?

Pelle

frankie:

--- Quote from: "Pelle" ---Very nice - thanks!

Just after enabling the version feture, there seem to be "garbage" in the version info. I get "Error: File line too long" when building - until I use the "Edit Version" dialog, and set the version numbers myself. Maybe nice if the default, if possible, was something other than "garbage"?
Pelle
--- End quote ---


Sorry Pelle, I forget to specify inizialization flag in version file create.
This new revision seems to work correctly.
Moreover I added the feature of autoincluding the version file on the first project building.

Pelle:

--- Quote from: "frankie" ---Sorry Pelle, I forget to specify inizialization flag in version file create.
--- End quote ---

No problems! (...and you said it was a Alpha release...)


--- Quote from: "frankie" ---
This new revision seems to work correctly.

--- End quote ---

Yes, works for me too. Thanks!

Pelle

frankie:

--- Quote from: "Pelle" ---
Yes, works for me too. Thanks!
Pelle
--- End quote ---


Thanks Pelle  :mrgreen:

In the next version I'll try to update directly the versioninfo structure in the resorces, so they are keeped aligned.

Navigation

[0] Message Index

[#] Next page

Go to full version