如何从代码合同自动生成建议需求?
代码契约给了我很多静态分析的建议。有没有办法自动生成建议代码(以节省打字时间)?
Code Contracts give me a lot of suggestions from static analysis. Is there some way to auto-generate the suggestions' code (to save time on typing)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,团队确实发布了“代码合约编辑器扩展”但这就是查看合同的全部内容。
据我所知,你只需将它们输入即可。但是从较低的级别开始,大量信息会冒出来,也许你必须写的比最初出现的要少。
No, the team did publish "Code Contracts Editor extensions" but that's all about viewing Contracts.
As far as I know you'll have to just type them in. But start at the lower levels, a lot of information bubbles up and maybe you have to write less than it first appears.