Clock Slave
Clock Slave

Reputation: 7967

Set boilerplate code in PyCharm

How do I set a boilerplate code for Python files in PyCharm? I have a set of comments that I need to add at the start of every file I author. It looks something like this-

# Author: El Salvador Bali
# Project: American Indo
# Date Created: 2000BC
# Objective: have fun

Upvotes: 1

Views: 1141

Answers (1)

user2235698
user2235698

Reputation: 7579

Consider using File and Code Templates (File - Settings - Editor - File and Code Templates - Python Script). Here is the help page.

Upvotes: 2

Related Questions