Parameter names
Parameter names can either be set manually or otherwise they will be derived (autocompleted) by the framework:
By default the autocomplete of parameter names only works inside class definitions. That is if you set a parameter on an existing class then its name won't be autocompleted:
Activating autocomplete of parameter names outside of class definitions
If you want to use this feature you can enable it by installing the corresponding add-on:
Note that as a consequence of installing the autocomplete feature the Configurable class will receive a custom metaclass which might lead to metaclass conflicts if you use custom metaclass as well. For details see the doc string of AutocompleteParameterNames
.
We need to re-import the Configurable class because it was replaced by the add-on and then we can use the feature:
If you want to switch back to default behavior you can uninstall the feature via:
Last updated