开发者

Wanted a tool for stripping out comments from C# source

开发者 https://www.devze.com 2022-12-25 10:52 出处:网络
Does anyone know such a t开发者_StackOverflowool? Both support of \"//\" and \"/* */\" is needed. It\'d be nice if it supports aspx-files also.See the Semantic Designs C# Formatter.The Formatter can

Does anyone know such a t开发者_StackOverflowool? Both support of "//" and "/* */" is needed.

It'd be nice if it supports aspx-files also.


See the Semantic Designs C# Formatter. The Formatter can pretty-print your code to make it prettier, or fidelity print your code to preserve the way it looks. It has an option to control whether comments are retained or not.


This is probably what you're looking for: Comment Remover

Or you can do this with Replace tool in Visual Studio. Just create proper Regular expression for searching comments

0

精彩评论

暂无评论...
验证码 换一张
取 消