2010-02-10 Geanyのテンプレート編集 ubuntu tips These are read from the ~/.config/geany/templates/files directory (created the first time Geany is started). Geany 既にあるテンプレート(Ruby、PHPその他)を編集したい場合、~/.config/geany/templates/filesにテンプレートファイルがあるのでそれを編集する。自動入力される日付やファイル名等のワイルドカードについてはTemplate wildcardsを参照。既定の設定だと、自動でGPLライセンスの文章が入る。 編集例 fileheaderから{gpl}(GPLライセンスの宣言)削除。後で挿入からも使えるので Rubyのテンプレートで一行目にマジックコメントを追加