resharper-8.0

Resharper cannot rename files when Git version control is applied

柔情痞子 提交于 2019-12-05 08:54:41
I have a Git version controlled solution in VS 2013 with several projects. Some of the projects are outside of the solution folder and thus are not controlled by Git. I noticed that for those projects that are outside of the solution folder Resharper 8 class name refactoring fails with the 'file is read-only' error. It also fails to apply "Rename file to match the class name" command. All works fine for the projects that are IN the solution folder and are controlled by Git. Is this a known issue of VS or Resharper? Or is it considered a normal flow, and the files must be renamed manually?

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.

Why does IntelliSense keep changing function to Function?

那年仲夏 提交于 2019-12-04 16:05:22
问题 I am having a very strange IntelliSense issue, and I'm not sure if it's Visual Studio 2013 or ReSharper 8.1. When I'm working in views (cshtml) within script tags (javascript), something keeps changing "function" to "Function" with a capital "F." <script type="text/javascript"> var something = function() .... //on tab or completing the ()'s, it changes to Function </script> This isn't a huge deal, of course, but it's becoming a pain in my neck as I keep having to go back and lower-case the "F

Create a generic type to find implementations of in a Resharper plugin

怎甘沉沦 提交于 2019-12-04 04:12:38
问题 I'm writing a plugin for resharper which I want to use to navigate from a ConcreteCommand -> ConcreteCommandHandler where those types look like this public class ConcreteCommand : ICommand public class ConcreteCommandHandler : ICommandHandler<ConcreteCommand> I've got as far as adding my navigation menu option when the cursor is on a ICommand instance/definition (currently only by checking if the name contains 'Command' and not 'CommandHandler'), and I think I have the code necessary to

ReSharper blocks keyboard input in VS2013

*爱你&永不变心* 提交于 2019-12-03 03:31:52
问题 Recently my Visual Studio 2013 stopped responding to keyboard input. I couldn't type anything in any of the files. I suspended ReSharper and It worked again but I would really want to use ReSharper. I tried reinstalling ReSharper but without success. I can't seem to find a solution for this problem. It occured after the weekend and it worked perfectly before. Any ideas? 回答1: Clean the following folder with ReSharper caches C:\Users\{User Name}\AppData\Local\JetBrains\ReSharper\v8.2

ReSharper blocks keyboard input in VS2013

佐手、 提交于 2019-12-02 17:02:55
Recently my Visual Studio 2013 stopped responding to keyboard input. I couldn't type anything in any of the files. I suspended ReSharper and It worked again but I would really want to use ReSharper. I tried reinstalling ReSharper but without success. I can't seem to find a solution for this problem. It occured after the weekend and it worked perfectly before. Any ideas? Clean the following folder with ReSharper caches C:\Users\{User Name}\AppData\Local\JetBrains\ReSharper\v8.2\SolutionCaches\ [Update] For R# 9.x/10.x: %LocalAppData%\JetBrains\Transient\ReSharperPlatformVs{VS version}\v0{some

Create a generic type to find implementations of in a Resharper plugin

六眼飞鱼酱① 提交于 2019-12-01 20:35:12
I'm writing a plugin for resharper which I want to use to navigate from a ConcreteCommand -> ConcreteCommandHandler where those types look like this public class ConcreteCommand : ICommand public class ConcreteCommandHandler : ICommandHandler<ConcreteCommand> I've got as far as adding my navigation menu option when the cursor is on a ICommand instance/definition (currently only by checking if the name contains 'Command' and not 'CommandHandler'), and I think I have the code necessary to actually search for a type which inherits something, but my issue is that the only thing I actually have a

Can Resharper Intellisense be configured to sort alphabetically?

百般思念 提交于 2019-12-01 16:55:05
I've recently updated to using VS2013 and Resharper 8.2, (from VS2010 and Resharper 6) and have found a very annoying " feature " in that Resharper's intellisense does not sort a class's members alphabetically. By way of example, I have an object called "client" which has a property called EthnicityRequired , and another property called Ethnicities . Using only native VS2013 intellisense, this is what I get I type client.eth This is what I expect; both properties are listed together. But, Resharper's Intellisense(less) gives me this While the visible members are sorted alphabetically, the

Can Resharper Intellisense be configured to sort alphabetically?

二次信任 提交于 2019-12-01 15:41:45
问题 I've recently updated to using VS2013 and Resharper 8.2, (from VS2010 and Resharper 6) and have found a very annoying " feature " in that Resharper's intellisense does not sort a class's members alphabetically. By way of example, I have an object called "client" which has a property called EthnicityRequired , and another property called Ethnicities . Using only native VS2013 intellisense, this is what I get I type client.eth This is what I expect; both properties are listed together. But,

JetBrains Resharper 9 Ultimate Test Runner error: NUnit.Core.UnsupportedFrameworkException: Skipped loading assembly {MyAssembly}

丶灬走出姿态 提交于 2019-12-01 02:39:20
This seems to be an error with the JetBrains Resharper 9.1 Ultimate Test Runner referencing an older version of NUnit. I am using NUnit 3.0 in my assembly. [Window Title] Unit Test Runner [Main Instruction] Unit Test Runner failed to run tests [Expanded Information] at NUnit.Core.Builders.TestAssemblyBuilder.GetCandidateFixtureTypes(Assembly assembly, String ns) at NUnit.Core.Builders.TestAssemblyBuilder.GetFixtures(Assembly assembly, String ns) at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, Boolean autoSuites) at NUnit.Core.Builders.TestAssemblyBuilder.Build(String