resharper

How to apply ReSharper Ultimate Naming Styles for C++

六月ゝ 毕业季﹏ 提交于 2019-12-12 06:55:32
问题 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

Content assist : clue of type of a function that has parameter type depend on “using” inside T

故事扮演 提交于 2019-12-12 06:02:18
问题 How to make Visual Studio show a completely-deduced content-assist for a function that has type depends on alias of a T ? Example b.f in the example can't give me a completely-deduced content-assist. It should clue int , not SomeClass::A<int>::AT . class SomeClass{ template<class T>class A{public: using AT=T;}; template<class AX>class B{public: void f( typename AX::AT){}}; template<class AX,class X>class C{public: void f( typename X){}}; public: void test(){ B<A<int>> b; b.f( } }; Testing b.f

Resharper is not runing tests with attribute [Test]

醉酒当歌 提交于 2019-12-12 04:30:24
问题 I am running the latest version of Resharper 2016.2 and Visual Studio 2015 Update 3 and today when I wanted create and run new tests on my solution the context menus to run the tests don't appear. I tried to restoring the default setting for VS 2015 and reinstalling resharper and still can't see this context menu.. any solution? BTW: The project where unit test are located is of type silverlight project. 回答1: ReSharper doesn't support running Silverlight tests, which need to be run in a

typescript-collections jasmine visual studio 2015

我的梦境 提交于 2019-12-12 03:45:16
问题 I am currently in the process of learning how to test my typescript code using VS2015, with resharper, and Jasmine (v 2.4.1) and it is not going very smooth. I trying to use typescript-collections from https://github.com/basarat/typescript-collections. The following seems to work fine: describe("collection Tests", () => { it("collection should work", () => { expect("123").toBe("123"); }); }); When i execute the test from VS2015 (using resharper) then it starts my webbrowser and reports that

Conflict in Threading.task.dll

夙愿已清 提交于 2019-12-12 02:46:41
问题 I have just installed the nuget package of Resharper and build the solution then I am getting these error on each Task type methods. It seems that it is because of two Threading.Task.dll files. Error : Error 87 The type 'System.Threading.Tasks.Task' exists in both 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETCore\v4.5\System.Threading.Tasks.dll' and 'C:\Users\emp70\Documents\Visual Studio 2012\Projects\FSOP\packages\JetBrains.ReSharper.SDK.8.2.1158\build\..\Bin\System

How do I revert a resharper shortcut option?

倾然丶 夕夏残阳落幕 提交于 2019-12-12 02:02:08
问题 I made a mistake and changed the "Go to Definition" shortcut from visual studio's F12, to resharper's ctrl+B. I would like to change that back. How do I do it? Thanks in advance 回答1: You need to reassign it yourself in Tools , Options , Environment , Keyboard : You're looking for the Edit.GoToDefinition shortcut. Select "Text Editor", put your cursor in the "Press shortcut keys" box and press F12 , then hit "OK". 来源: https://stackoverflow.com/questions/25534403/how-do-i-revert-a-resharper

Go to declaration keyboard shortcut missing

寵の児 提交于 2019-12-11 22:16:20
问题 I installed Resharper and it over-wrote my keyboard shortcut for Go To Declaration . How can I set the keyboard shortcut back to F12? I looked in Visual Studio Options > Tools > Options > Environment > Keyboard Shortcut. There are many shortcuts related to declaration here. I'm not sure which one to edit. Image (missing shortcut key) 回答1: When using the INTELLIJ IDEA schema you need to do a few things. Go to Visual Studio Options > Tools > Options > Environment > Keyboard Shortcut. Remove the

Sometimes ReSharper incorrectly identifies successfully compiling code as errors and intellisense is broken

两盒软妹~` 提交于 2019-12-11 18:26:46
问题 Sometimes, after updating NuGets, ReSharper marks specific lines as errors, even though the solution builds, due to inability to recognize the type in use e.g. marks methods or properties in red, marks usage of object in red. In these cases the ReSharper intellisense is broken too. In these cases sometimes reanalyzing all files in the "Errors in Solution" window and cleaning, closing Visual Studio, deleting the .suo file, reopening Visual Studio and Solution and building does not help. Is

Debug Unit Tests using Resharper 7 for MBUnit throws an exception

最后都变了- 提交于 2019-12-11 16:33:27
问题 I have installed the Gallio Resharper Test Runner found at http://code.google.com/p/mb-unit/issues/detail?id=900#c9 Per the instructions at How to support MBUnit tests in Resharper 7. When I right click inside of a unit test and click "Run Unit Tests" the tests run just fine. However when I right click and then click "Debug Unit Tests" I get: Could not load file or assembly 'Gallio.ReSharperRunner71, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system

Resharper: how to see only particular group of members

烂漫一生 提交于 2019-12-11 16:08:51
问题 I'm using shortcut alt+\ to list all members in file. Is it a way to list only specified type of members (properties, methods, fields ...) Sometime this is very useful Eg DPack can do that by alt-p (props), alt-m (methods) 回答1: What I generally do is use Regionerate to add regions based on member types (it's highly configurable). After that I can open ReSharper's File Structure Window to see the members organized by region. The regions can be collapsed independently in the File Structure