| Author |
Message |
|
xMCNUGGETx
Member
Joined: Wed Apr 19, 2006 12:39 pm Posts: 245
|
 [FD3] EnhancedArguments - Snippets, File Templates, ect
Last edited by xMCNUGGETx on Sat Jan 17, 2009 2:54 pm, edited 9 times in total.
|
| Wed Jan 07, 2009 4:33 am |
|
 |
|
Philippe
Admin
Joined: Wed Aug 31, 2005 7:27 am Posts: 7503 Location: Paris, France
|
 Re: EnhancedArguments - Alpha
Very smart!
|
| Wed Jan 07, 2009 8:39 am |
|
 |
|
back2dos
Member
Joined: Wed Dec 06, 2006 3:12 pm Posts: 185 Location: Leipzig, Germany
|
 Re: [FD3] EnhancedArguments - Alpha
that's totally cool ... but cancel button would be really helpful sometimes ... greetz back2dos
|
| Wed Jan 07, 2009 12:15 pm |
|
 |
|
ptaranto
Member
Joined: Wed May 09, 2007 4:32 am Posts: 12 Location: Rio de Janeiro - Brazil
|
 Re: [FD3] EnhancedArguments - Alpha
nice feature
does it support autocompletition?
_________________ -- Pedro Taranto
|
| Wed Jan 07, 2009 1:24 pm |
|
 |
|
xMCNUGGETx
Member
Joined: Wed Apr 19, 2006 12:39 pm Posts: 245
|
 Re: [FD3] EnhancedArguments - Alpha
back2dos wrote: that's totally cool ... but cancel button would be really helpful sometimes ... greetz back2dos Cancel button is coming... along with default values. ptaranto wrote: nice feature
does it support autocompletition? Not sure what you mean by auto completion. The prompted arguments can be used in normal snippets. Then control+b pulls up a list of your snippets and enter to insert. *edit* Also note I updated the plugin again with some new features (like cancel)  But still wrapping my head around regular expressions so they may be some bugs 
|
| Thu Jan 08, 2009 2:22 am |
|
 |
|
Philippe
Admin
Joined: Wed Aug 31, 2005 7:27 am Posts: 7503 Location: Paris, France
|
 Re: [FD3] EnhancedArguments - Alpha
Amazing - I was just thinking yesterday that default values would be great. Now what about *several* default values which would appear in a (editable) combo box? 
|
| Thu Jan 08, 2009 8:49 am |
|
 |
|
xMCNUGGETx
Member
Joined: Wed Apr 19, 2006 12:39 pm Posts: 245
|
 Re: [FD3] EnhancedArguments - Snippets, File Templates, ect
Philippe wrote: Amazing - I was just thinking yesterday that default values would be great. Now what about *several* default values which would appear in a (editable) combo box?  ask and ye shall receive.
|
| Thu Jan 08, 2009 4:04 pm |
|
 |
|
Philippe
Admin
Joined: Wed Aug 31, 2005 7:27 am Posts: 7503 Location: Paris, France
|
 Re: [FD3] EnhancedArguments - Snippets, File Templates, ect
Your plugin rocks!
I'd suggest that if you press Cancel you just replace all enhanced arguments with empty or default values, but don't clear all the text.
|
| Thu Jan 08, 2009 4:39 pm |
|
 |
|
xMCNUGGETx
Member
Joined: Wed Apr 19, 2006 12:39 pm Posts: 245
|
 Re: [FD3] EnhancedArguments - Snippets, File Templates, ect
Philippe wrote: I'd suggest that if you press Cancel you just replace all enhanced arguments with empty or default values, but don't clear all the text. Ya... I can't get a correct feel for all situations. If the argument processing is being done on a file template, then I would like cancel to insert default values or clear just user variables. But when inserting a snippet I like the idea that cancel doesn't insert anything it cancels the snippet insertion.
|
| Thu Jan 08, 2009 4:50 pm |
|
 |
|
Philippe
Admin
Joined: Wed Aug 31, 2005 7:27 am Posts: 7503 Location: Paris, France
|
 Re: [FD3] EnhancedArguments - Snippets, File Templates, ect
Some other random suggestions: - the fields labels should not be bold, - a bit technical: position the dialog under/over the caret position so it's close to the eye focus, - I'll look into letting you get completion context (for instance to fill the combobox with the class members/local vars).
|
| Thu Jan 08, 2009 5:04 pm |
|
 |
|
tfcenturion
Member
Joined: Sat Nov 01, 2008 2:00 pm Posts: 7
|
 Re: [FD3] EnhancedArguments - Snippets, File Templates, ect
hey xMCNUGGETx,
you rock, this plug-in is so cool, thank you for this..
|
| Sun Jan 11, 2009 1:09 am |
|
 |
|
edhaack
Member
Joined: Wed Jul 30, 2008 7:34 pm Posts: 17
|
 Re: [FD3] EnhancedArguments - Snippets, File Templates, ect
Great addition to FD! Snippets needed some attention. Prolly should remove the link to the 'no longer needed' dll... 
|
| Mon Jan 26, 2009 6:12 pm |
|
 |
|
wvxvw
Member
Joined: Sun May 11, 2008 3:01 pm Posts: 860
|
 Re: [FD3] EnhancedArguments - Snippets, File Templates, ect
I've a question... Imagine this snippet: Code: //------------------------------------ // Public property $$(variable=foo) //------------------------------------
private var _$$(variable=foo):$$(Type=Class) = $$(initializer=null);
[Bindable("$$(variable=foo)Change")]
/** * ... * This property can be used as the source for data binding. * When this property is modified, it dispatches the <code>$$(variable=foo)Change</code> event. */ public function get $$(variable=foo)():$$(Type=Class) { return _$$(variable=foo); }
public function set $$(variable=foo)(value:$$(Type=Class)):void $(CSLB){ if (_$$(variable=foo) == value) return; _$$(variable=foo) = value; dispatchEvent(new Event("$$(variable=foo)Change")); } But I'd like to have some parts of it conditionally removed (i.e. if I don't wont either setter part or getter part, or I don't need an initializer) I.e. having a checkbox in the prompt window asking for to enter the values and having it's values translated to some sort of "include this block" if checked and "exclude this block" if not checked wold be cool  Anyways, thumbs up, really useful plugin!
_________________ http://www.couchsurfing.com/people/wvxvw
|
| Sat Jan 31, 2009 11:18 am |
|
 |
|
Deril
Member
Joined: Sun Aug 19, 2007 4:56 pm Posts: 9
|
 Re: [FD3] EnhancedArguments - Snippets, File Templates, ect
A great addon!
I also need check box a lot... there are function with optional parameters... especially.. if you coding in away3d. (there is a lot of them!) so having on option to include one or another parameter ... would be great help! and great speed improvement..
one more idea... that can save space in snippets.. that clutters so fast... make an drop down menu...! lets say... I want to make visual object... instead of having separate sniped for all available options... I would like to place all in one sniped.. and let something like switch statement to use one or another portion of the snippet... so.. if switch is present.. snippet window show available blocks in drop down.. and change options according selection..
thanks for you work! and please... consider my ideas. Snippets speed up work a lot... and for me.. it replaces FDT build in auto generate functionality... so whats why we want more control... its huge time saver!
|
| Mon Mar 30, 2009 5:01 am |
|
 |
|
dolemite50
Member
Joined: Thu Mar 19, 2009 2:16 am Posts: 25
|
 Re: [FD3] EnhancedArguments - Snippets, File Templates, ect
MCNUGGET, well done on this app. It's addicting! My only minor gripe is that the window doesn't autosize to adjust for longer varname prompts but cuts them off instead. The combos are a little snug as well. Did they charge you by the inch for controls or something? Beyond that it works flawlessly for me. Hat's off and thanks!
|
| Thu Apr 02, 2009 1:37 pm |
|
|