Enable documentation comments
Enable documentation comments
Press Ctrl+Alt+S to open IDE settings and select Editor | General | Smart Keys.
In the Enter section, select or clear Insert documentation comment stub checkbox.
Then, expand the Smart Keys node and select Python. Use the Insert type placeholders in the documentation comment stub option as required. Refer to the option description for details.
Last modified: 08 March 2021