excitedbox opened a new issue, #8363:
URL: https://github.com/apache/netbeans/issues/8363

   ### Description
   
   I have noticed the current palette system does not easily allow adding 
additional items. This seems quite outdated and there is really no reason that 
one should need to edit netbeans libraries to add items.
   
   Even adding customization GUI panels could easily be done using placeholder 
variables and configurable input fields.
   
   Using a format like {label, field type, default value, hint} and "Some Text 
as" literals or using $ like in php to call or define a $variable = ;  to 
organize more complex/longer default values.
   
   Something like: 
   <div class="{style, input, $defaultValue, "hint text"}"> {inner, textField, 
"hello world","hint text"} </div>
   
   Would create a form with an input and text field to customize the code 
snippet.
   
   This would already cover 99% of use cases but obviously there are several 
more advanced features such as conditions, loops, and macro templates that can 
expand the usefulness of the palette/snippets.
   
   
   ### Use case/motivation
   
   I believe this will speed up the process of implementing the ever-growing 
mass of framework components, writing better code without constantly having to 
look things up.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to