resharper-7.1

ReSharper intellisense does not display documentation

你。 提交于 2020-01-01 01:29:12
问题 Any idea why I'm not getting any documentation to go along with my ReSharper IntelliSense? If I go to the ReSharper options and enable the Visual Studio IntelliSense instead, I get the proper documentation when going through the members in the IntelliSense pop up. If I re-enable the ReSharper IntelliSense, I now get the ReSharper IntelliSense pop up sans documentation. 回答1: Go to ReSharper | Options -> Environment | IntelliSense | Completion Appearance . Check Show member signatures and Show

Jasmine + Pahtom.js + ReSharper : Test session don't stop after execution

筅森魡賤 提交于 2019-12-22 10:42:17
问题 I write my JS tests using Jasmine and execute then with Phantom.js (1.8.1) on ReSharper (7.1) Everything runs smoothly as ever, exept that the ReSharper Testrunner's Test Session is not stopped after all unittests are run. The result is that everytime I run a new unittest, it opens another Unittests session, and all the other open sessions have the "executing animation". Any ideas how to get the test session to stop when all tests are run? 回答1: This is a known problem for ReSharper, I've open

Adding a Visual Studio toolbar button for a command that is only available as a keyboard shortcut

对着背影说爱祢 提交于 2019-12-19 04:03:03
问题 This question relates to this ReSharper YouTrack issue. In Visual Studio 2010 with ReSharper 7.1.1 installed, if I go to Tools > Options > Environment > Keyboard, there is a command called ReSharper_SilentCleanupCode. I would like to bind this command to a toolbar button. This seems to be impossible using Tools > Customize > Commands because the only commands available within this dialog are for actions that already have an associated menu item. The particular ReSharper command I'm interested

Visual Studio 2012 - F12 into razor renderpartial stopped working

柔情痞子 提交于 2019-12-11 01:38:17
问题 I'm using Visual Studio 2012 with Resharper 7. If I have a cshtml view where I render a partial view I could put my marker on the name of that partial view and press F12. That would take me to the file of the partial view. Now that has suddenly stopped working and instead I get the documentation for C# string. What has happened? 来源: https://stackoverflow.com/questions/28602882/visual-studio-2012-f12-into-razor-renderpartial-stopped-working

How do you reference external libraries with Jasmine + Resharper

房东的猫 提交于 2019-12-10 03:19:21
问题 I can run Jasmine unit tests from the Resharper 8.0 unit test runner. I have a problem where any Javascript references that are normally in the html page (ie in my case Ext-Js) then I can't use the Resharper test runner, as you don't seem to have access to the HTML page that Resharper uses. (I assume it's generated as I could not locate it on disk) I was thinking if there is a way to call or load your external library references from the Javascript test file directly instead of via the html

Stop ReSharper from Adding Annotations

允我心安 提交于 2019-12-09 14:20:20
问题 I'm using ReSharper in my C# projects, and generally I love it. However, it keeps adding annotations to the code when I do certain refactoring actions. For example, it adds [NotNull] when I use the "Check parameter for null" context action: // Before context action public void Foo(object input) { } // After context action public void Foo([NotNull] object input) { if (input == null) { throw new ArgumentNullException("input"); } } Additionally, ReSharper then adds using JetBrains.Annotations to

How do you reference external libraries with Jasmine + Resharper

守給你的承諾、 提交于 2019-12-05 03:59:02
I can run Jasmine unit tests from the Resharper 8.0 unit test runner. I have a problem where any Javascript references that are normally in the html page (ie in my case Ext-Js) then I can't use the Resharper test runner, as you don't seem to have access to the HTML page that Resharper uses. (I assume it's generated as I could not locate it on disk) I was thinking if there is a way to call or load your external library references from the Javascript test file directly instead of via the html page, then I could get this to work. I've not found if that is possible with Javascript (or Ext-Js) yet.

Stop ReSharper from Adding Annotations

时光毁灭记忆、已成空白 提交于 2019-12-03 23:21:10
I'm using ReSharper in my C# projects, and generally I love it. However, it keeps adding annotations to the code when I do certain refactoring actions. For example, it adds [NotNull] when I use the "Check parameter for null" context action: // Before context action public void Foo(object input) { } // After context action public void Foo([NotNull] object input) { if (input == null) { throw new ArgumentNullException("input"); } } Additionally, ReSharper then adds using JetBrains.Annotations to the file, even though I'm not referencing the JetBrains assembly where the attribute is defined. I

ReSharper 7.1 “To Property with Backing Field” Moving fields out of place

瘦欲@ 提交于 2019-12-03 16:07:25
问题 I've recently upgraded to R# 7.1 and I'm having this problem where the To Property With Backing Field action displaces my backing fields and moves them to the top of the class. Example: Step 1 : Define an auto property: public class MyClass { //... Lots of members here public int MyNewProperty {get;set;} // <- Create auto Property } Step 2 : ReSharper's "To Property With Backing Field" Expected result: public class MyClass { //... Lots of members here private int _myNewProperty; // <- Backing

ReSharper 7.1 “To Property with Backing Field” Moving fields out of place

▼魔方 西西 提交于 2019-12-03 05:34:12
I've recently upgraded to R# 7.1 and I'm having this problem where the To Property With Backing Field action displaces my backing fields and moves them to the top of the class. Example: Step 1 : Define an auto property: public class MyClass { //... Lots of members here public int MyNewProperty {get;set;} // <- Create auto Property } Step 2 : ReSharper's "To Property With Backing Field" Expected result: public class MyClass { //... Lots of members here private int _myNewProperty; // <- Backing field immediately above property public int MyNewProperty { get { return _myNewProperty; } set {