0
コメントをVS 2008で//の代わりに/ * * /に変更するにはどうすればよいですか?Visual Studio 2008のコメントを変更する
コメントをVS 2008で//の代わりに/ * * /に変更するにはどうすればよいですか?Visual Studio 2008のコメントを変更する
// this is a line comment, it will only comment this line
// for the next line you need to repeat //
/* this is a block comment
you can do all sort of stuff here
and you won't have to worry about beginning the line with some special chars
until the end*/
これらの2つのタイプのコメントは少し異なるので、私はそれらの両方をお勧めします。同じファイルに行とブロックのコメントを付けるのは誤りではありません。
は、私はあなたが正規表現は、/*
を行の先頭に//
を交換し、最後に*/
を追加することを置き換える実行できると仮定しますが、この
/* first line comment */
/* second line comment */
/* third line comment */
/* forth line comment */
のようなもので終わるだろう