Shortcut for changing an instance method to a class/static method
Hello, I'm Nicole. I'm new with PyCharm 2018 and I couldn't find what I wanted from the documentation.
I saw the "Method may be static" warning.

Although I can type the "@ decorator"
@staticmethod
manually, I hoped to have a refactoring shortcut to add that.
Does PyCharm have shortcuts to add these decorators when this warning appears
or when I want to change an instance method to a class/static method?
I expected this type of option when I was browsing the "Refactor" menu. However, it didn't appear so I added this question.
Thanks for your time~
Regards, Nicole
Please sign in to leave a comment.