ma2のblog - わんくま版(仮)

うどん、より、そば

目次

Blog 利用状況

ニュース

Xbox360ゲーマータグ

リンク

ブログ内検索

書庫

日記カテゴリ

makeCommentのご紹介

大阪勉強会がWMコマ充/twitter部充だったりするので、さみしいです。

さみしいと言えば、過去に公開したVS2005(以降もリビルドで対応可能)のアドインmakeCommentを公開したときにさみしかったなと思いました。
C/C++にDoxygen形式のコメントをボタンひとつで挿入するアドインは"DoxyComment"が先にあったものの、スベるツールではないと思っていました。

で、スベらないようにするにはどうすればいいかを考えてみました。
とりあえず、

「ツール作ったよ!!」とエントリ書くだけでは投げっぱなしかも。

と、結論付けて、いつかきちんと紹介する決意だけしておきました。
そんなわけでmakeCommentの紹介です。


makeCommentは、VS2005/2008で動作するアドインです。
C/C++のソースコードにDoxygen形式の関数ヘッダおよびヘッダコメント(ファイルの先頭に記述するそのファイルの説明)の雛形を挿入します。
導入は手動で行う必要がありますが、小規模なツールなので少しの手間で済みます。

アーカイブから、*.addInと*.Dllと*.xmlをユーザーフォルダ(もしくはマイドキュメント)の./Visual Studio 2005/Addinsフォルダに配置します。
例) C:\Users\name\Documents\Visual Studio 2005\Addins ... 赤字の部分はユーザ名です
mkcmt_inst_02
アドインフォルダは、VS2005のインストール直後にはありません。

次に、VS2005を起動します。
メニューから[ツール]→[アドイン マネージャ]を選択します。
mkcmt_inst_03
"makeComment"が使用できるアドインとして表示されます。
"使用できるアドイン"列の項目にチェックを入れるとアドインが使えるようになります。
とりあえず、[ツール]メニューの最上段に項目が増えます。
mkcmt_inst_04
ツールバーに入れたり、ショートカットキーを割り当てたりもできます。

次に、C/C++のプロジェクトを開きます。
ソースファイルもしくはヘッダファイルを開いてコメントを挿入したい関数の定義行にキャレットを置き、先のメニュー項目を選択します。
mkcmt_inst_05
@briefの入力を求められます。この入力は必須ではありません。

@briefを入力して、OKを押すと以下のような関数ヘッダが挿入されます。
mkcmt_inst_06
@brief以外は入力が手動での必要です。
ファイルの先頭行で実行するとヘッダコメントが挿入できます。

コメントの上下にある'//*****'が不要な場合などは、導入のときに配置したxmlファイルで形式をカスタマイズできます。
ヘッダコメントの@authorに、記入する名前もカスタマイズできます。


以上がmakeCommentの紹介になります。

歴史あるプロジェクトに関数ヘッダを入れる簡単なお仕事、みたいなのがたまにあります。
これまでテンプレをテキストファイルなどに保存しておいて、それをコピペして@briefや@paramを編集していました。
引数の名前や返り値の型は、IntelliSenseの情報から取得します。

さみしくなるツールではないはずなので、日の目を見るといいなー・・・。

投稿日時 : 2008年8月23日 0:38

コメントを追加

# Recent Faves Tagged With "doxygen" : MyNetFaves 2008/10/06 5:35 Pingback/TrackBack

Recent Faves Tagged With "doxygen" : MyNetFaves

# 
Slashcolon /: » Doxygen???????????????????????????VS???????????? 2009/04/20 9:11 Pingback/TrackBack


Slashcolon /: » Doxygen???????????????????????????VS????????????

# re: lin511 2015/05/11 11:50 lin511

http://katespadeoutletonline.snap-orlando.com
http://michaelkorshandbags.officialcommunities.net
http://www.foampositeshoe.net
http://www.coachoutletonlines.ca
http://www.raybansunglass.us.com
http://www.airjordan4.org
http://www.nikeairmaxshoess.co.uk
http://toryburchoutletonline.olympicpastry.com
http://toryburchsandals.olympicpastry.com
http://www.polo-lacoste-shirts.fr
http://www.oakley.in.net
http://www.truereligionoutlet.org
http://truereligionjeansoutlet.allcamels.us
http://beatsbydre.loopheadphone.com
http://beatsheadphones.tuipad.com
http://cheapraybansunglasses.web2review.net
http://toryburchshoes.olympicpastry.com
http://www.cheapsnapbacks.us.com
http://www.edhardy.us.com
http://www.truereligionjean.us
http://burberryhandbags.saynotoarcticdrilling.org
http://coachpurses.goguides.cc
http://www.burberryoutletonline.in.net
http://www.coachoutletonline.in.net
http://monsterbeatsoutlet.tuipad.com
http://www.katespadeoutlet.net
http://www.christianlouboutinoutlet.name
http://www.ralphlaurenoutlet.in.net
http://oakleyvault.bemercurial.com
http://airjordan4.micrornaseurope.net

# re: コントロール パネルのプリンタのプロパティ項目と Active Directory のプリンタの属性の対応(全般タブ) 2015/07/14 21:29 lmx

http://www.raybanwayfarer.in.net/
http://www.replicahandbags.com.co/
http://www.replica-watches.us.com/
http://www.retro-jordans.com/
http://www.rolex-watches.me.uk/
http://www.rosherun.org.uk/
http://www.rosheruns.us/
http://www.salvatoreferragamo.in.net/
http://www.soccer-shoes.org/
http://www.softball-bats.us/
http://www.suprashoe.net/
http://www.swarovskicrystal.com.co/
http://www.swarovskijewelry.com.co/
http://www.swarovski-uk.org.uk/
http://www.the-northface.com.co/
http://www.the-northface.in.net/
http://www.thenorth-face.org.uk/
http://www.thenorthface.us.org/
http://www.thenorthfacejackets.in.net/
http://www.thomas-sabo-uk.co.uk/
http://www.tiffanyandco.net.co/
http://www.tiffanyjewelry.us.org/
http://www.timberlandboots-outlet.net/
http://www.timberlandshoes.com.co/
http://www.tommyhilfiger.net.co/
http://www.tommy-hilfigeroutlet.com/
http://www.tomshoes-outlet.com/
http://www.pradahandbags.net.co/
http://www.pradahandbags.com.co/
http://www.pradashoes.com.co/
http://www.ralph-lauren.org.uk/
http://www.ralphlaurenoutlet.us.com/
http://www.ralphlauren-outlet.org.uk/
http://www.ralphlaurenoutletonline.com.co/
http://www.ralphlaurenoutletonline.in.net/
http://www.ralphlaurenpolo.in.net/
http://www.ray-ban-outlet.us.com/
http://www.raybans.us.org/
http://www.toms--outlet.in.net/
http://www.toms-shoes.com.co/
http://www.tory-burch-outlet.in.net/
http://www.tory-burchoutlet.us.com/

# sweaterembg 2015/09/10 15:34 doudounenwv

http://nuassembly.com/laseracc/ mac glitter eyeshadow, http://nuassembly.com/mac-lipstick-wholesale/ mac lipstick wholesale, http://nuassembly.com/mac-ireland-cosmetics.html mac ireland cosmetics, http://nuassembly.com/images/ mac eyeshadow palette, http://nuassembly.com/images/mac-eyeshadow.html mac eyeshadow, http://ondaminigolfe.com/Images/index.asp cheap mac make up, http://ondaminigolfe.com/Customiz/index.html cheap mac makeup wholesale, http://ondaminigolfe.com/china-makeup.html china makeup, http://ondaminigolfe.com/cheap-mac-cosmetics-wholesale/index.asp cheap mac cosmetics wholesale, http://orientallampshade.biz/Images/ mac makeup sales, http://orientallampshade.biz/mac-makeup-set/ mac makeup set, http://orientallampshade.biz/makeup-samples-australia.html mac makeup samples australia, http://pae.co.za/colins/ cosmetic mac, http://pae.co.za/images/index.html cheap mac makeup online, http://pae.co.za/cheap-mac-makeup-for-sale/ cheap mac makeup for sale, http://pae.co.za/images/cheap-wholesale-makeup.html cheap wholesale makeup

# black and pink nike shoes 2015/09/27 8:36 sixrtrnwwb

http://www.framtidsutbildning.se/cgi-bin/ mac cosmetics uk sale, http://www.framtidsutbildning.se/cgi-bin/mac-cosmetics-wholesale.html mac cosmetics wholesale, http://www.bayareaclosets.com/images/index.html bobbi brown makeup, http://bayareaclosets.com/cheap-mac-makeup-wholesale-china.html cheap mac makeup wholesale china, http://bayareaclosets.com/images/buy-mac-makeup-online.html buy mac makeup online, http://bayareaclosets.com/classes/ cheap beauty products, http://bayareaclosets.com/classes/cheap-mac-makeup.html cheap mac makeup, http://bayareaclosets.com/authentic-mac-makeup-wholesale/ authentic mac makeup wholesale, http://afiglobalmarine.com/mac-makeup-online-mac-makeup-8J24P-SK0/ discount mac makeup mac-makeup-MPP9N-VZR, http://afiglobalmarine.com/mac-makeup-online-shop-PNXPW-13Q.html best mac makeup TWLIO-0XG, http://afiglobalmarine.com/imagens/ mac eyeshadow brushes BUMBX-YHP, http://altairdr.com.br/mac-makeup-wholesale-mac-makeup-PNXPW-13Q/ discount mac makeup uk mac-makeup-TWLIO-0XG, http://altairdr.com.br/mac-makeup-wholesale-mac-makeup-K2TTB-YSL.html cheap mac makeup wholesale mac-makeup-KUHS6-PXJ, http://altairdr.com.br/images/ wholesale mac makeup mac-makeup-9TQ63-VPK, http://amincoasi.com/get-mac-cosmetics-promo-code/ get mac cosmetics promo code, get mac cosmetics promo codes, http://amincoasi.com/Images/ wholesale nail polish, http://aninhaportal.com/mac-makeup-price-7WVDQ-BZE/ mac make up online shop GDMWP-UKY, http://aninhaportal.com/mac-makeup-outlet-store-KQLPJ-0N3.html black friday mac makeup M5T03-P6T, http://aninhaportal.com/img/ where can i buy mac makeup 3JBM5-4PJ, http://www.annaochjonas.se/samples/ mac makeup brush set

# nike air max white 2015/10/26 9:42 macpowderwo

http://www.diamondbilliards.us/wheretogetcheapmacmakeup.html get cheap mac makeup, http://nwiic.org/images/ cheap mac makeup wholesale, http://www.northcountryride.org/macmaccosmeticscoupon.html mac cosmetics coupon, http://www.existir.org.pt/Classic/ mac makeup free, http://buededicas.com/cheapmacmakeupuk.htm cheap mac makeup uk, http://ondaminigolfe.com/cheap-mac-cosmetics-wholesale/index.asp cheap mac cosmetics wholesale, http://www.digitalradioengineering.com/cheap-mac-makeup-brush-set-sale.html cheap mac makeup brush set, http://kunskapsforum.com/images/mac-makeup-cheaper.html mac makeup cheaper, http://punishersnational.com/macmakeupparty/ mac makeup party, http://www.bayareaclosets.com/cheap-mac-makeup-wholesale-china.html cheap mac makeup wholesale china

# jacketowwzp 2015/11/05 8:27 jacketjmsmo

http://www.cheapairmax-usa.com/ Air Max China, http://www.cheapmacmakeupuk.org/ Cheap Mac Makeup, http://www.wholesalemaccosmeticsb.com/ Mac Makeup Uk, http://www.macmakeupuk.org/ Wholesale Mac Cosmetics, http://www.maccosmeticsuk.com/ mac cosmetics sale,

# re: makeCommentのご紹介 2015/12/04 10:40 lmx

http://www.katespade.gb.net/, http://www.converse.net.co/, http://www.nike-air-max.us/, http://www.cheapshoes.com.co/, http://www.airmax-90.org/, http://www.michael-kors.com.co/, http://www.gucci-taschen-outlet.de/, http://www.bcbgdresses.in.net/, http://www.ray-ban-outlet.us.com/, http://www.nike-schuhe.com.de/, http://www.northfaceoutlet.com.co/, http://www.tommy-hilfiger-canada.ca/, http://www.louis-vuitton-australia.com.au/, http://www.chanelhandbags.net.in/, http://www.oakley.com.de/, http://www.the-north-face.ca/, http://www.true-religion.com.co/, http://www.omegarelojes.es/, http://www.christianlouboutinshoes.ar.com/, http://www.bottega.us/, http://www.cheap-oakleysunglasses.in.net/, http://www.cheap-jordans.net/, http://www.michael-kors.com.es/, http://www.longchamp.com.co/, http://www.louis-vuitton-taschen.com.de/, http://www.louisvuittons.com.co/, http://www.nike-

# CS:DECAMP A AWARD TURN DOWN TO Stash - Flick come into view of all skins, stickers and items 2016/02/25 15:07 Ronaldnuap

http://www.lastingpaws.com/uploads/p2000-amber-fade.htmlp2000 amber fade

http://www.shapefinancial.com/uploads/free-cs-go-crate-keys.htmlfree cs go crate keys

http://www.satdw.com/uploads/cs-go-official-servers.htmlcs go official servers

http://www.subsurfaceconstructors.com/uploads/free-steam-keys-cs-go.htmlfree steam keys cs go

http://primaadvisors.com/uploads/pro-cs-go-teams.htmlpro cs go teams

http://www.projectwittenberg.org/uploads/counter-strike-global-offensive-cd-key.htmlcounter strike global offensive cd key

http://www.ptcny.com/uploads/free-cs-go-keys.htmlfree cs go keys

http://www.ucratx.org/uploads/csgo-down.htmlcsgo down

http://www.lexingtondistillerydistrict.com/uploads/buying-cs-go.htmlbuying cs go

http://www.zeks.com/uploads/cs-go-sale.htmlcs go sale

http://www.greenwoodscharter.org/uploads/csgo-team.htmlcsgo team

http://www.sanborntonnh.org/uploads/cs-go-new-case.htmlcs go new case

http://www.themathpage.com/news/buy-csgo.htmlbuy csgo

http://www.greenwoodscharter.org/uploads/cs-go-info.htmlcs go info

http://www.lexingtondistillerydistrict.com/uploads/buy-cs-go-steam.htmlbuy cs go steam

http://www.winegrapebroker.com/uploads/cs-skins.htmlcs skins

http://www.socorroswcd.com/uploads/global-ofensive.htmlglobal ofensive

http://www.silverspringcenter.com/uploads/csgo-new-cases.htmlcsgo new cases

http://www.greenwoodscharter.org/uploads/cs-go-online-buy.htmlcs go online buy

http://www.hplovecraft.com/uploads/download-counter-global-offensive.htmldownload counter global offensive

http://www.ptcny.com/uploads/free-cs-go-keys.htmlfree cs go keys

http://nteu45.org/uploads/cs-go-for-sale.htmlcs go for sale

http://www.salemchurch.cc/uploads/cs-go-price.htmlcs go price

http://www.dspr-me.org/uploads/cs-go-market-place.htmlcs go market place

http://www.kershawleonard.net/uploads/cs-goo.htmlcs goo

http://www.fuscoauctions.com/uploads/csgo-stickers.htmlcsgo stickers

http://www.domadesigns.com/uploads/cs-global-offensive-buy.htmlcs global offensive buy

http://www.domadesigns.com/uploads/cs-go-player.htmlcs go player

http://www.greenwoodscharter.org/uploads/counter-go.htmlcounter go

http://www.colorado-serum.com/uploads/counter-strake.htmlcounter strake

http://www.pci-central.org/uploads/cs-go-price.htmlcs go price

http://www.themathpage.com/news/csgo-bet.htmlcsgo bet

http://www.zeks.com/uploads/index.htmlcounter srike

http://www.endlessvisions.net/uploads/free-cs-go-steam-keys.htmlfree cs go steam keys

http://www.datamology.com/uploads/index.htmlcs go servers

http://www.sanborntonnh.org/uploads/cs-go-skin-database.htmlcs go skin database

http://www.evansmarine.com/uploads/cheap-cs-go-keys.htmlcheap cs go keys

http://www.binarystarltd.com/uploads/cs-go-nova-skins.htmlcs go nova skins

http://www.creativelittlegarden.org/uploads/what-is-cs-go.htmlwhat is cs go

http://www.putnam-sheriff.org/uploads/cs-go-key-store.htmlcs go key store

http://www.sanborntonnh.org/uploads/csgo-keys-cheap.htmlcsgo keys cheap

http://www.salemchurch.cc/uploads/cs-go.htmlcs go

http://www.fuscoauctions.com/uploads/download-cs-global-offensive.htmldownload cs global offensive

http://www.silverspringcenter.com/uploads/steam-store-counter-strike.htmlsteam store counter strike

http://www.elitser.com/uploads/csgo-updates.htmlcsgo updates

http://www.lexingtondistillerydistrict.com/uploads/cs-go-download-full.htmlcs go download full

http://www.evansmarine.com/uploads/buy-counter-strike-global-offensive-cheap.htmlbuy counter strike global offensive cheap

http://www.sanborntonnh.org/uploads/rare-cs-go-skins.htmlrare cs go skins

http://www.domadesigns.com/uploads/cs-go-counter.htmlcs go counter

http://www.creativelittlegarden.org/uploads/cs-go-go.htmlcs go go

http://www.projectwittenberg.org/uploads/counterstrike-go.htmlcounterstrike go

http://www.themathpage.com/news/steam-csgo.htmlsteam csgo

http://www.datamology.com/uploads/csgo-prices.htmlcsgo prices

http://www.mbiaz.com/uploads/cs-go-skin-market.htmlcs go skin market

http://www.pressherenow.com/uploads/cs-go-skin-quality.htmlcs go skin quality

http://www.sanborntonnh.org/uploads/cs-go-custom-skins.htmlcs go custom skins

http://www.zeks.com/uploads/csgo-sale.htmlcsgo sale

http://www.shapefinancial.com/uploads/cs-go-steam-shop.htmlcs go steam shop

http://www.zeks.com/uploads/csgo-servers.htmlcsgo servers

http://nteu45.org/uploads/cs-go-c.htmlcs go c

http://www.cottonsetcquiltshop.com/uploads/cheap-cs-go-steam-key.htmlcheap cs go steam key

http://www.greenwoodscharter.org/uploads/update-cs-go.htmlupdate cs go

http://nteu45.org/uploads/counter-strake.htmlcounter strake

http://www.hoc5.org/uploads/cs-go-latest-update.htmlcs go latest update

http://www.pressherenow.com/uploads/cs-go-for-sale.htmlcs go for sale

http://nteu45.org/uploads/cs-go-looking-for-team.htmlcs go looking for team

http://www.shapefinancial.com/uploads/p2000-skins.htmlp2000 skins

http://www.freemotionslider.com/uploads/cs-go-items-trade.htmlcs go items trade

http://www.fuscoauctions.com/uploads/download-cs-go-free.htmldownload cs go free

http://www.doori-nyc.com/uploads/steam-cs-go.htmlsteam cs go

http://www.dspr-me.org/uploads/cs-go-market-steam.htmlcs go market steam

http://www.lastingpaws.com/uploads/awp-skin.htmlawp skin

http://www.pci-central.org/uploads/cs-go-stickers.htmlcs go stickers

http://www.thesurgicalsideshow.com/uploads/cs-go-item.htmlcs go item

http://www.projectwittenberg.org/uploads/counter-strike-global-offensive-steam-discount.htmlcounter strike global offensive steam discount

http://www.hoc5.org/uploads/global-offencive.htmlglobal offencive

http://www.lexingtondistillerydistrict.com/uploads/teams-cs-go.htmlteams cs go

http://nteu45.org/uploads/cs-go-trading-site.htmlcs go trading site

http://www.pressherenow.com/uploads/counter-strike-global-offensive-key-steam.htmlcounter strike global offensive key steam

http://www.factsfinder.com/uploads/csgo-wiki.htmlcsgo wiki

http://www.ucratx.org/uploads/get-cs-go.htmlget cs go

http://www.fuscoauctions.com/uploads/cs-go-update-log.htmlcs go update log

http://www.factsfinder.com/uploads/cs-items.htmlcs items

http://www.fuscoauctions.com/uploads/csgo-buy.htmlcsgo buy

http://www.valleycom.org/uploads/cs-go-key.htmlcs go key

http://www.joycreek.com/uploads/buy-counter-strike-global-offensive-steam.htmlbuy counter strike global offensive steam

http://www.shapefinancial.com/uploads/make-cs-go-skins.htmlmake cs go skins

http://www.ucratx.org/uploads/counter-striker-global-offensive.htmlcounter striker global offensive

http://www.thesurgicalsideshow.com/uploads/get-skins.htmlget skins

http://www.hoc5.org/uploads/global-offense.htmlglobal offense

http://www.thesurgicalsideshow.com/uploads/steam-key-cs-go.htmlsteam key cs go

http://www.putnam-sheriff.org/uploads/best-cs-go-skins.htmlbest cs go skins

http://www.pci-central.org/uploads/cs-go-marketplace.htmlcs go marketplace

http://www.joycreek.com/uploads/cs-go-player-skins.htmlcs go player skins

http://www.valleycom.org/uploads/m4a4-skins.htmlm4a4 skins

http://www.colorado-serum.com/uploads/counter-strek.htmlcounter strek

http://www.evansmarine.com/uploads/steam-cs-go-shop.htmlsteam cs go shop

http://www.elitser.com/uploads/global-offensive-steam.htmlglobal offensive steam

http://www.fuscoauctions.com/uploads/counter-go.htmlcounter go

http://www.subsurfaceconstructors.com/uploads/counter-strike-store.htmlcounter strike store

# air max 90 cheap 2016/03/08 16:32 macoutletkct

http://www.bayareaclosets.com/images/index.html bobbi brown makeup, http://bayareaclosets.com/images/buy-mac-makeup-online.html buy mac makeup online, http://amincoasi.com/Images/ wholesale nail polish,

# online mac makeup store what department stores sell mac makeup 2016/04/22 12:59 cifgsarxwh

http://www.bayareaclosets.com/images/index.html bobbi brown makeup, http://bayareaclosets.com/images/buy-mac-makeup-online.html buy mac makeup online, http://amincoasi.com/Images/ wholesale nail polish,

# re: ASPX でのコメントアウト 2016/11/17 12:34 20161117meiqing

http://www.oakley.nom.co
http://www.christianlouboutinoutlet.us
http://www.hermesbeltoutlet.us
http://www.cheapuggsale.us.com
http://www.coach-outletonline.us.org
http://www.uggscanada.ca
http://www.dolceandgabbanaoutlet.com
http://www.cheapoakleyssunglasses.us.org
http://www.michaelkorshandbagsuk.me.uk
http://www.canadagoosejacketsuk.co.uk

タイトル  
名前  
URL
コメント