Hi there !

Here is the new CodeLIB Addin release.

- Added a comment property for each snipplet. This comment can be modified
in the...
- ...new snipplet property dialog (Access via the 5th toolbar button) which also provide a preview of the snipplet.
- The snippets properties are shown on the treeview tooltip.


Enjoy, and as usual, feedbacks are welcome :grin:

And now a little poll :

For you, which properties must a snipplet (piece of code) have ?
- Comment (OK)
- Author
- Date
- Size
- Type (Proc, Macro, entire asm file)
- ...

Any idea ??
Posted on 2003-11-05 10:59:49 by PhoBos
Hi, PhoBos. Impressive work! :alright:

IMHO, snippets should have at least the following:
- Name (duh!)
- Description or any other author's comments (duh! again)
- Author (for the sake of our vanity ;) )
- Date and/or version (really important!, useful to keep track of bugfixes or updates)

may have this:
- Type (like different groups, good to keep the list tidy)
- User comments (could come in handy, but it's not a priority)

and they should NOT have this:
- Time (we don't want to get that picky about it :grin:
- Size (what for? I don't see much point in knowing that)

I'll keep posting any more ideas that I may have.
Posted on 2003-11-05 17:10:32 by QvasiModo
Hi,

I think QvasiModo covers me! Plus:

1. Store the Add-in position on unloading. See attachment in related post.

2. I don't like the "*.ini" extension. I think you should use something else.

Only these for now!

akyprian
Posted on 2003-11-06 00:38:25 by akyprian
suggestions:
* add right click popup with actions (paste, rename, delete)
* posibility to hide the toolbar (if you implement the right click popup)
* button on toolbar/right click popup on WinASM Code-Snipplets to rescan the directory for changes
* on properties window add a small preview of the snipplet

bug/feature?
* if I copy someting to the \Snipplets dir it will be deleted on starting WinASM.

keep up the good work PhoBos ! :alright:
Posted on 2003-11-06 01:14:35 by TBD
Hi all !

Many thanks for those constructive feedbacks :alright:

After checking them carrfully, here is my todo list :

1. Store the Add-in position on unloading
2. Change .ini to .something (any idea ???)
3. Implements a context menu (Paste, Delete, Rename,---,Refresh,Options,---,Properties)
4. Add an options dialog (Hide/Show the toolbar, Hide/Show tooltips, etc..)

TDB :
* on properties window add a small preview of the snipplet


Don't you have the edit box in the prop window ???


Regards,
Posted on 2003-11-06 03:17:50 by PhoBos
here is a screenshot (WinXPSP1).

do you mean the comment box ?
if yes, I suggest to add another editbox, readonly, that shows some lines from the snippet
Posted on 2003-11-06 03:46:26 by TBD
Hi,

1. OK
2. *.clp :grin:
3. OK
4. OK

5. From TBD's attachment, I see that you have the same problem WinAsm had when XP style was used. The static controls are not transparent.

Regards,

akyprian
Posted on 2003-11-06 04:10:17 by akyprian
Hi,

From TBD's attachment, I see that you have the same problem WinAsm had when XP style was used. The static controls are not transparent.


and it's not my only prb :rolleyes:

TBD : The properties dialog SHOULD :confused:
i'am working on it.

Regards,
Posted on 2003-11-06 05:16:00 by PhoBos
After trying the addin back home I had two more suggestions to make. One was already pointed out by Akyprian (store the window position). Make sure to store if the window is visible or hidden as well. Besides there is no real reason to keep it open all the time. Maybe just when a new project is created, and with a hotkey.

The other would be to remove the messagebox telling the user when the Snippets folder was created...

I had two ideas:
1) No output of any kind, just silently create the folder.
2) Instead, a dialog box asks the user for a folder to store the snippets. It should give the user the ability to create new folders. Also this way the snippets folder would be configurable (not really needed, but why not? ;) )

Also I would like to suggest another extension (since *.clp is used). How about *.cls (ColeLib Sniplet)? :)
Posted on 2003-11-06 16:25:27 by QvasiModo