如何为C ++应用ReSharper Ultimate命名样式 [英] How to apply ReSharper Ultimate Naming Styles for C++

查看:133
本文介绍了如何为C ++应用ReSharper Ultimate命名样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道如何在Visual Studio 2015 Update 3的Resharper Ultimate Extension中为C ++语言应用命名风格.我的操作系统是Windows10.其他语言(例如C#)的所有功能都可以正常工作,而我只有一个问题C ++语言.在ReSharper>选项>代码编辑> C ++>命名样式中,我将类名规定为小写.我尝试运行清理代码",查找代码问题"和检查当前项目中的代码问题".仍然找不到与我的约定不符的类字段.

I don't know how to apply naming style for C++ language in Resharper Ultimate Extension for Visual Studio 2015 Update 3. My OS is Windows 10. Everything works fine for other languages (like C#) and I have only this problem with C++ language. In ReSharper>Options>Code Editing>C++>Naming Style, I stipulated class names to be all lowercase. I tried running ‘Cleanup Code’, ‘Find Code Issues’, and ‘Inspect Current Project for Code Issues’. Still, the class fields that do not conform to my convention are not being found.

我了解ReSharper应该找到并警告我有关不合格代码的问题.我是误解了ReSharper还是为了执行命名约定而需要做一些额外的事情吗?

I understand that ReSharper should find and warn me about nonconforming code. Am I misunderstanding ReSharper or do I need to do something extra in order to enforce the naming convention?

Reza

推荐答案

不幸的是,尚未为C ++实现ReSharper命名样式检查.请对相应的问题进行投票,以在实施后进行更新.目前,命名样式设置仅用于生成新的标识符.

Unfortunately, ReSharper naming style inspections are not yet implemented for C++. Please vote for the corresponding issue to get an update when it's implemented. At the moment naming style settings are used only to generate new identifiers.

这篇关于如何为C ++应用ReSharper Ultimate命名样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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