VoxCommando Forum

New Features and Feature Requests => Feature Requests => Topic started by: Haddood on October 14, 2014, 09:13:06 PM

Title: Group and Commands organization
Post by: Haddood on October 14, 2014, 09:13:06 PM
I am not sure this qualifies as a feature .... but here you go:

since VC do not support nested groups ... I have been using empty groups and commands to Organize my command tree

till now I get a warning about them but all function perfect.

Now I started to use enable and disable groups I start to get error messages (see attached image)

if you find my approach is usueful, maybe you can make the compiler and group command to ignor anything that starts with "---" three dashes or four or any other combination you see fits...
Title: Re: Group and Commands organization
Post by: jitterjames on October 14, 2014, 09:43:25 PM
Let me think about this for a while.
Title: Re: Group and Commands organization
Post by: Haddood on October 15, 2014, 12:43:56 AM
Quote from: jitterjames on October 14, 2014, 09:43:25 PM
Let me think about this for a while.

;D ;D ;D ;D
does that mean you have something cooking !!!
Title: Re: Group and Commands organization
Post by: jitterjames on October 15, 2014, 12:16:07 PM
No. It means I need to think about it.  Hopefully I can come up with something that will help you without being too confusing, and without taking me too much time to implement.
Title: Re: Group and Commands organization
Post by: Haddood on October 15, 2014, 02:09:58 PM
I was hoping for "am looking into nested groups"  ;) ;)
Just kidding ... In fact I have never seen any developer who respond to user needs like you ...

I think I big thank you due again ....

Title: Re: Group and Commands organization
Post by: jitterjames on November 16, 2014, 06:08:53 PM
Take a look at version 2.1.2.1 (on the download page).

We now have something called "group collection".  You can't create collections of collections, but you can create collections of groups.

It was a several days of work to implement it and there are probably some small bugs in the editor still.  There are so many possible combinations of drag, drop, copy, paste, insert, etc. to keep track of.  Other parts of the program had to be updated as well, but hopefully everything else will behave as before.

Pay attention to the new icons in the editor as well.

Empty groups will not be loaded at runtime.  I think the error you were getting was actually because of the way you were naming the groups, with no valid filename characters.  A file is created for each group to store the compiled grammars.  But anyway since it won't try to process an empty group you can name it whatever you want now,  even just:  ________________________
Title: Re: Group and Commands organization
Post by: Haddood on November 17, 2014, 07:19:34 PM
 :clap :clap :clap ::bow ::bow

thank you James ... I downloaded the new version and organized some groups in collection ... testing time ... if any thing pops up will report

VC just keeps getting better

P.S. so you did have something cooking :D