You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
{inner, textField, "hello world","hint text"}
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
The text was updated successfully, but these errors were encountered:
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:
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
The text was updated successfully, but these errors were encountered: