ReSharper的多个属性代 [英] Resharper multiple property generation

查看:243
本文介绍了ReSharper的多个属性代的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这可能是一个懒惰的请求,但有什么办法来产生在同一时间多个类的属性?目前,我有一个大名单的未定义的属性的,我可以简单地浏览清单,一个接一个,并生成一个属性 - 但它是理想的突出他们所有,并生成一个用于每个,例如图下...

This might be a lazy request, but is there a way to generate multiple class properties at the same time? Currently, I have a large list of undefined properties and I can simply go through the list, one by one, and generate a property - but it would be ideal to highlight them all and generate one for each, example illustration below...

您可以看到在这里,为prop1 prop2 ...等有错误,因为属性还不存在,但可以产生与ReSharper的...

You can see here that prop1, prop2...etc have errors since the properties don't yet exist, but you can generate a property with resharper...

<属性IMG SRC =http://i.stack.imgur.com/vaolp.jpgALT =在这里输入的形象描述>

不过,这似乎是一个在-A-的时候,我如果我错过了设置疑惑?

However, this seems to be one-at-a-time, I was wondering if I am missing a setting?

推荐答案

我已经在使用ReSharper的5年多,我用ReSharper的9.1.3 Ultimate和我不认为你想要什么是可能的。

I've been using Resharper for 5+ years and I'm using Resharper 9.1.3 Ultimate and I don't think what you want is possible.

使ReSharper的,唯一的方法一次创建多个属性是有它实现从接口缺少的属性。这可能是值得创建一个特色!

The only way to make ReSharper create multiple properties at once is to have it implement missing properties from an interface. It might be worth creating a feature request!

这篇关于ReSharper的多个属性代的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆