resharper

什么是一些好的.NET Profilers?

♀尐吖头ヾ 提交于 2020-02-27 07:51:30
您在使用.net程序时使用了哪些分析器,您会特别推荐哪些? #1楼 我广泛使用了 JetBrains dotTrace 和 Redgate ANTS 。 它们在功能和价格上非常相似。 它们都提供有用的性能分析和非常基本的内存分析。 dotTrace与Resharper集成,这非常方便,因为您只需单击一下IDE即可分析单元测试的性能。 然而,dotTrace似乎经常会产生虚假的结果(例如说一个方法需要花费几年的时间才能运行) 我更喜欢ANTS呈现分析结果的方式。 它向您显示源代码,每行左侧显示运行所需的时间。 dotTrace只有树视图。 EQATEC分析器 非常基础,需要您编译程序集的特殊检测版本,然后可以在EQATEC分析器中运行。 然而,它是免费的。 总的来说,我更喜欢ANTS进行性能分析,但如果你使用Resharper,那么dotTrace的集成是一个杀手级功能,意味着它在可用性方面胜过ANTS。 免费的Microsoft CLR Profiler( .Net framework 2.0 / .Net Framework 4.0 )是.NET内存分析所需的全部内容。 2011年更新: Scitech内存分析器 有一个非常基本的UI,但有很多有用的信息,包括dotTrace和ANTS缺少的非托管内存的一些信息 - 如果你正在进行COM互操作,你可能会发现它很有用

How to install CodeRush and Resharper? CodeRush Shortcut Missing

萝らか妹 提交于 2020-02-24 09:23:44
问题 I am trying to install CodeRush and ReSharper together. After installing ReSharper, my CodeRush shortcuts disappears. Does anyone know how to restore my CodeRush shorts with Resharper installed? This is my current setup: 1. Visual Studio 2008 2. Installed CodeRush XPress 10.1 3. Installed ReSharper 5.1 I am installing on a Windows 7 x64 machine with 8 GB of RAM, so memory will not be an issue. 回答1: Jim Holmes has an awesome blog post that goes through how to make these two products work in

How to install CodeRush and Resharper? CodeRush Shortcut Missing

纵然是瞬间 提交于 2020-02-24 09:23:07
问题 I am trying to install CodeRush and ReSharper together. After installing ReSharper, my CodeRush shortcuts disappears. Does anyone know how to restore my CodeRush shorts with Resharper installed? This is my current setup: 1. Visual Studio 2008 2. Installed CodeRush XPress 10.1 3. Installed ReSharper 5.1 I am installing on a Windows 7 x64 machine with 8 GB of RAM, so memory will not be an issue. 回答1: Jim Holmes has an awesome blog post that goes through how to make these two products work in

How to get Resharper to convert back to a foreach loop

妖精的绣舞 提交于 2020-02-03 03:46:06
问题 Resharper 5 can convert my foreach loops to Linq queries. Which I like. But linq is way way way harder to debug than a foreach loop. When I convert my foreach statement to a linq query, I don't see any option to go back the other way. Does any one know how to do this? Is it even possible? 回答1: We are working on LINQ2Foreach (and some other) functionality for ReSharper vNext 回答2: I do not believe this is possible. Certainly, it's not listed in the examples of Quick Fixes, where loop-to-LINQ

How to reset the “Don't show this dialog again” settings for Visual Studio and ReSharper

浪尽此生 提交于 2020-01-22 17:50:18
问题 In a Visual Studio project (C#), I attempted to perform a rename of a namespace using the ReSharper shortcut ( Ctrl + R + R ). However, because I had branched some of the files that used the namespace from another location in the source control system, they had the readonly attribute set on them. Consequently, I received a dialog which contained "Sorry, apparently I can't post an image because I'm a new user": The file TestFile.cs which you attempted to edit, is readonly on disk. Would you

Resharper and TortoiseSVN

女生的网名这么多〃 提交于 2020-01-22 17:40:30
问题 Is there any good way to deal with the class renaming refactor from Resharper when the file is under source control and TortoiseSVN is the client. I have am trying VisualSVN right now but I haven't had the need to rename anything recently. I don't want to change our repository just to try this out. Also not sure if this feature alone is worth the cost of VisualSVN. Update: I have uninstalled the trial of VisualSVN and tried AhknSVN. I seems to provided the same functionality so far. I know

How to see .net library source code with ReSharper 5 and visual studio 2010?

倾然丶 夕夏残阳落幕 提交于 2020-01-22 14:02:41
问题 I used to see any .net source code (like System.String) with ReSharper and Visual Studio 2008. since I migrated to Visual studio 2010, this option doesn't give the full source code but just the definitions of the class. How can I fix this, to use the microsoft's symbols server again? Edit : Maybe the problem is only with .net-4.0 assemblies. is microsoft released symbols to to .net-4.0 assemblies also? 回答1: Microsoft released sources for .NET 4 release, so R# have to work just fine. Some

Resharper C# Formatting Style shows “new” on new line instead of same line when chopping long lines

爱⌒轻易说出口 提交于 2020-01-22 12:16:40
问题 So Resharper is putting a line break before the "new" in my code when re-formatting it as follows: var foo = new Foo { Bar = null, Baz = new Baz { Bap = null, Bork = null, Help = new PweaseHelp { Korben = null, Dallas = null, Multipass = null }, Me = new ClearlyMyAbilityToUnderstandResharperSettingsIs( null), } }; But I'd really like it too do this: var foo = new Foo { Bar = null, Baz = new Baz { Bap = null, Bork = null, Help = new PweaseHelp { Korben = null, Dallas = null, Multipass = null }