Convert function to object method
Convert property assignments with functions to method declarations.

Configuration
- Code Assist ID (for the configuration file):
convert-function-to-object-method
- You can configure custom keyboard shortcuts with this code action kind:
refactor.convert.p42.convert-function-to-object-method
- This code assist provides refactoring suggestions. Learn how to configure the refactoring suggestion visibility.