mfractor / mfractor-feedback

Found a bug or have a feature request for MFractor? Submit it here!
3 stars 0 forks source link

[Enhancement] Add ability to adjust wizard templates. #258

Open dwightbennett opened 4 years ago

dwightbennett commented 4 years ago

I was using the create bindable property creation wizard and wanted to change the template. Currently the template for the property is

public string HelpText
{
        get
        {
            return (string)GetValue(HelpTextProperty);
        }
        set
        {
            SetValue(HelpTextProperty, value);
        }
}

I would like to change it to this

public string HelpText
{
        get => (string)GetValue(HelpTextProperty);
        set => SetValue(HelpTextProperty, value);
}

I am hoping we could get a configuration file or the ability to update the template to our coding preference. Thank you for the good work on this project.

matthewrdev commented 4 years ago

Technical Notes We have support for this through the .mfc.xml files that can configure and control the underlying data in MFractor (properties and code snippets).

The .mfc format is, however, clunky and hard to use. It needs to be converted to a human readable json format and we also need to create a visual editor for it.

This ticket is great as it highlights the fact we need to think about this and improve the UX.

ravero commented 4 years ago

Thumbs up for this refactoring! 😬