Architect's Log

I'm a Cloud Architect. I'm highly motivated to reduce toils with driving DevOps.

ソースコードを自動生成できるAutoCodeをインストールしてみた

AutoCodeはVisual Studioのアドインです。AutoCodeはコマンドという機能でソースコードを自動生成します。コードスニペットの進化版というイメージです。
.net AutoCode v4.0 拡張機能
Powerful extension for VS.NET to generate code, execute macros, evaluate expressions, refactor and more. Create your custom commands to automate any imaginable repetitive task. More than 100 commands included.

インストール

Download AutoCode
AutoCode is a powerful add-in for Visual Studio .NET that automates repetitive coding tasks by invoking parameterized commands to generate code, refactor, execute IDE actions or any user defined command. ...

  1. リンク先からインストーラーをダウンロードします。
  2. インストーラーを起動し、ウィザードを進めてインストールします。

よいところ

パワフルなコマンド。

例えば"Class"コマンドはこんな具合です。
1.Ctrl + Enter でコマンドのインテリセンスを表示します。

2."int id string name Peson Class"と入力します。

3.Enterで確定すると、Person Classの雛形が生成されます。

古いVisual Studio用のバージョンも用意されている。

Visual Studio.NET 2002、2003、2005、2008、2010、11とすべてのバージョン用が用意されています。

無償で試せる。

Standard版は無償です。ただし時折ロゴがポップアップするので実用としては厳しいです。DonateするとProfessional版にアップグレードするためのプロダクトキーを入手できます。
Standard版とProfessional版の機能比較はこちらのページを参照してください。
Download AutoCode
AutoCode is a powerful add-in for Visual Studio .NET that automates repetitive coding tasks by invoking parameterized commands to generate code, refactor, execute IDE actions or any user defined command. ...