[PYTHON] Template customization with PyDev

Overview

Change the comment etc. that is automatically inserted when creating a module in Eclipse + PyDev environment. This time, add "#--coding: utf-8--" to the beginning of the figure below to create it. a.png

procedure

  1. Select [Window]> [Preferences]> [PyDev]> [Editor]> [Templates] from the Eclipse menu bar.

  2. Select the item with the red frame "Name is " on the left side of the figure below, and click [Edit]. b.png

  3. Edit "Pattern" and add "#--coding: utf-8--"> [OK]> [OK] c.png

--Create and check a new Pydev module d.png

It is also possible to change the template of Main and Class

reference

Recommended Posts

Template customization with PyDev
Make a filter with a django template
template
How to do arithmetic with Django template
How to install zsh (with .zshrc customization)