resharper

Visual Studio 2013 AngularJS intellisense support

匿名 (未验证) 提交于 2019-12-03 02:43:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I thought VS 2013 is supposed to have support for angularjs attribute intellisense? For some reason it's not working for me on the latest version of Microsoft Visual Studio Ultimate 2013 version 12.0.21005.1 Getting the following validation warning: Attribute 'ng-app' is not a valid attribute of element 'html'. Attribute 'ng-view' is not a valid attribute of element 'div'. Am i missing an xsd reference somewhere? 回答1: I had the same problem and I did the following and it helped. If you are using ReSharper, you can add an extension that will

Resharper Unit Tests not running

℡╲_俬逩灬. 提交于 2019-12-03 02:28:33
I'm trying to get started writing unit tests in a project. I wrote the createTest first and tried it. This test passed and I started writing my other tests. Now all my tests just say "Test not run". This happens both when I try to run all tests at once and when I run a single test. https://github.com/Requinard/OperationOctopus/tree/UnitTest All I've found so far is people using NUnit. We're using the default microsoft testing framework, with resharper running the tests. [TestMethod] public void CreateTest() { Init.Initialize(); // set up UserModel user = new UserModel(); user.Address =

ReSharper Abbreviations List: Where can I modify it?

拥有回忆 提交于 2019-12-03 02:05:05
问题 I am using ReSharper 4.5, and what often happens when I am converting explicit properties into auto-properties, is that I will accidentally chose "Add XX to abbreviations list". Ie: I want to convert CustomerID into an autoproperty, but due to quick butterfingers, I will accidentally add "ID" to the abbreviations list instead, which I don't want to do. (I want the naming rules to use "Id" instead of "ID"). Where can I find and modify the list of custom abbreviations in ReSharper 4.5?? 回答1: In

Test method is inconclusive: Test wasn't run. Error?

匿名 (未验证) 提交于 2019-12-03 01:58:03
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a test class and below I have posted a sample test from the test class namespace AdminPortal.Tests.Controller_Test.Customer { [TestClass] public class BusinessUnitControllerTests { private IBusinessUnitRepository _mockBusinessUnitRepository; private BusinessUnitController _controller; [TestInitialize] public void TestInitialize() { _mockBusinessUnitRepository = MockRepository.GenerateMock (); _controller = new BusinessUnitController(_mockBusinessUnitRepository); } [TestCleanup] public void TestCleanup() { _mockBusinessUnitRepository =

Resharper Alt Enter not working

匿名 (未验证) 提交于 2019-12-03 01:54:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 选择语言 中文(简体) 日语 英语 中文(繁体) 由 翻译 强力驱动 问题: Help, I can't function without Resharper . All of a sudden my Alt + shortcut (to bring up the action list) has stopped working. Anybody experienced this or know how to fix? 回答1: Symptom A: the menu pops up for a split second, then goes away. Fix using the following steps in numerical order. Symptom B: pressing Alt + does nothing. Fix using Step #2 first then try Step #1 if the issue persists. Perform a Visual Studio reset: Run cmd.exe as Administrator cd C:\Program Files (x86)\Microsoft Visual Studio 12.0

Resharper cannot rename files when Git version control is applied

匿名 (未验证) 提交于 2019-12-03 01:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: 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

ReSharper key bindings problem

廉价感情. 提交于 2019-12-03 01:34:01
问题 I use: Visual Studio 2010 Ultimate, Resharer 6. In ReSharper's options i choose Visual Studio keyboard sheme and click Apply Sheme: After that some shortcuts are not assigned, such as: Go to Declaration, Go to implementation, Find Usages, Complete symbol, etc: Try Tools -> Options, Environment -> Keyboard -> Reset Import and Export Settings, re-import C# developer settings devenv /reset Nothing helped. Configure shortcuts manually is not desirable. Help, please. 回答1: This is a known issue

A tool like ReSharper, but for Java? [closed]

匿名 (未验证) 提交于 2019-12-03 01:29:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have read a lot about ReSharper on here. It sounds like it has a lot of cool features to help the programmer out. Trouble is, I don't write C#. Is there any tool that has similar functionality to ReSharper, but for Java instead? Thank you! 回答1: Use IntelliJ IDEA an IDE from JetBrains - the creator of ReSharper. It's not "like resharper" - it's the original and resharper is like it for C#. 回答2: I believe most Java IDEs already have it - I certainly view ReSharper as the tool which brings Visual Studio up to the level of Eclipse :)

Add ReSharper_ToggleSuspended as toolbar button

你。 提交于 2019-12-03 01:26:49
I'd like to map the ReSharper_ToggleSuspended command to a button on a toolbar in VS 2012, but the command is not listed in the ReSharper category of Commands availabe in Customize > Commands dialog. Is there a way to do this? Borrowed from the suggestion on the R# issue tracker for this issue . In the VS Package Manager Console, you can run these commands to add the ReSharper_ToggleSuspended command to an existing toolbar named "R#". $cmdBarName = "R#" $cmdName = "ReSharper_ToggleSuspended" $cmdText = "R# Active" $toolbarType = [EnvDTE.vsCommandBarType]::vsCommandBarTypeToolbar #----If you

Visual Studio 2015: Disable Control+Click Navigation

十年热恋 提交于 2019-12-03 01:16:43
After upgrading to Visual Studio 2015, holding control while clicking on a symbol navigates to that symbol definition. In prior versions, this would instead select the entire word. How can I disable the navigation event when Control+Click(ing) a symbol, so that it highlights the word? I do have Resharper (Ultimate 9.2) installed. The configuration option under Environment -> Search & Navigation -> Go to Declaration on Control + Click in the editor is not checked. All the search engine results make mention of this being a feature of the Productivity Power Tools extensions in previous versions