Visual Studio 2010 中的缩写菜单在哪里?
使用以下代码,Visual Studio + Resharper 通知我以下示例类不符合命名约定:
public class AB2CManager {
// TODO: Write some code
}
当我将光标放在类名称上并按 Alt+Enter它让我可以选择将缩写词 AB 添加到我的缩写词列表中。然而,在我的例子中,AB2C 是完整的缩写。
如何手动编辑此首字母缩略词列表?我想添加完整的首字母缩略词,以便假设的类 ABManager
仍然不被 IDE 接受。
With the following code Visual Studio + Resharper notifies me that the following example Class does not meet the naming convention:
public class AB2CManager {
// TODO: Write some code
}
When I put my cursor on the class name and press Alt+Enter it gave me the option to add the acronym AB to my acronyms list. However, in my case AB2C is the full acronym.
How can I manually edit this list of acronyms? I would like to add the full acronym so that hypothetical class ABManager
is still not accepted by the IDE.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
http://www.jetbrains.com/resharper/webhelp50/Coding_Assistance__Naming_Style.html#To_create_a_list_of_abbreviations
如果您只想编辑缩写列表,仅使用表格的下半部分;您可以在其中输入、删除或更新任何条目。
例如,在我当前的项目中,我有一个名为 NIFEmisor 的字段,NIF 是西班牙 ID 号。我已将“NIF”添加到该框中,不再有麻烦。
http://www.jetbrains.com/resharper/webhelp50/Coding_Assistance__Naming_Style.html#To_create_a_list_of_abbreviations
If you just want to edit the list of abbreviations, use only the lower part of the form; where you can enter, delete or update any entry there.
For example, on my current project I have a field called NIFEmisor, NIF being a spanish ID number. I've added 'NIF' to that box and no more trouble.