coderush

Resharper or CodeRush - global rename

筅森魡賤 提交于 2019-12-11 10:13:22
问题 Is there a way to rename all methods, properties etc. suggested by R#. I have code that I converted from java and all methods and properties are in the format like this "onBeforeInsertExpression" and I want them to follow camel casing that is common in .NET. This question is also for CodeRush. 回答1: No, unfortunately there isn't a way. Resharper's Code Cleanup / Reformat Code options work nicely for formatting, namepaces, etc, but will not do any automatic member renaming. You're kinda stuck

CodeRush not working?

≯℡__Kan透↙ 提交于 2019-12-08 04:23:45
问题 I was using Resharper and I wanted to try CodeRush so I suspended Resharper and installed CodeRush Xpress. When I installed CodeRush version 2010.1.4 (from this downlad page) the shortcuts did not work. I tried F2 and other shortcuts that schold work but they did not. However I was able to invoke some CodeRush functions by clicking right mouse button and choosing "Refractor" from the drop down menu. When I choose it there is CodeRush action menu where I can select for example "Rename" but as

Automatic addition of `using` in CodeRush

五迷三道 提交于 2019-12-06 10:39:18
I just installed CodeRush Pro (evaluation trial) for Visual Studio and I can say I like it much so far. Comparing to Resharper there is only one type of feature I'm really missing. It is the way CodeRush deals with using . When I type some class name that is not declared in some package listed in using, CodeRush underlines it red as an error(what it is) but if I hover over it with cursor it does not offer me to add using, it merely says it is "Undeclared element". I have to use VS default using addition (move caret to the identifier, hover cursor over that really small box that appears under

Get a list of files in a Solution/Project using DXCore console application

不羁的心 提交于 2019-12-05 01:51:18
问题 I understand that the following snippets can be used to extract a VS solution info when used in a plug-in. EnvDTE.Solution solution = CodeRush.ApplicationObject.Solution; EnvDTE.Projects projects = solution.Projects; Q: I would like to build a console application and access these file details. My aim is to create a console application (that can be run without VS) to generate a report based on the design issues I find in the input .sln file. What functions do I use for this? 回答1: The original

Getting all the classes in project and their packages from CodeRush extension

血红的双手。 提交于 2019-12-04 18:11:33
I've spent some time trying to find a way CodeRush could add using when it finds undeclared element that is in the fact class name with no using added. The solution suggested in this answer to my question ( Refactor_resolve ) does not work (bugged?). In a process I found out that writing plug-ins for CodeRush is easy, so I decided to code this functionality myself (and share it). I'd only implement a CodeProvider (like in this tutorial ). The only thinks I need to do the job are answers to this questions: At the start up of my plugin I need to get a list (set, map, whatever) of all classes and

Can I change the key bindings on the free version of CodeRush Express for Visual Studio?

耗尽温柔 提交于 2019-12-04 06:25:48
Note: I've tried posting on the coderush/devexpress forums and as is usual for that kind of thing, received no response. Hopefully some SO users use coderush express and can possibly help? Hi. I've just installed the free CodeRush XPress addon, and it looks nice, however I can't figure out how to change the key bindings! I find Ctrl+Alt+F awkward to hit, and Shift+Enter conflicts with an existing keybinding I have had setup for the last 3 years so am really resistant to CodeRush overwriting it. Am I just being dumb and missing something really obvious or is "change keybindings" not a feature

Get a list of files in a Solution/Project using DXCore console application

杀马特。学长 韩版系。学妹 提交于 2019-12-03 16:13:53
I understand that the following snippets can be used to extract a VS solution info when used in a plug-in. EnvDTE.Solution solution = CodeRush.ApplicationObject.Solution; EnvDTE.Projects projects = solution.Projects; Q: I would like to build a console application and access these file details. My aim is to create a console application (that can be run without VS) to generate a report based on the design issues I find in the input .sln file. What functions do I use for this? The original (and updated) post is located here . Actually, DXCore is not designed to be used outside of Visual Studio,

Uninstall of CodeRush and ReSharper - Intellisense Not Working

你离开我真会死。 提交于 2019-12-03 06:30:52
问题 Install order: Visual Studio 2008 ReSharper Uninstall ReSharper CodeRush with Refactor Pro Uninstall CodeRush with Refactor Pro Now my intellisense doesn't work. Any settings I should look at before I try a uninstall / reinstall? I'm sure there must be something buried in the Options that these plug-ins hook into or override. 回答1: Here are a couple of settings to check: Tools > Options > Text Editor > C# > General > Statement completion "Auto list members" and "Parameter information" should

Uninstall of CodeRush and ReSharper - Intellisense Not Working

落花浮王杯 提交于 2019-12-02 20:07:27
Install order: Visual Studio 2008 ReSharper Uninstall ReSharper CodeRush with Refactor Pro Uninstall CodeRush with Refactor Pro Now my intellisense doesn't work. Any settings I should look at before I try a uninstall / reinstall? I'm sure there must be something buried in the Options that these plug-ins hook into or override. Here are a couple of settings to check: Tools > Options > Text Editor > C# > General > Statement completion "Auto list members" and "Parameter information" should be checked. Tools > Options > Text Editor > C# > General > IntelliSense "Show completion list after a

Coderush and resharper, do they work together?

北慕城南 提交于 2019-11-30 04:53:25
anyone have any experience of using them together? How well does it work? or is it just too much grief? You don't want to do that. Both ReSharper and CodeRush want the keyboard. Specifically, CodeRush remaps the escape key (ESC) for its own purposes. ReSharper does not like that (note: ReSharper doens't do anything special with the escape key, but it still doesn't like it). As for choosing between them...they both have their points. CodeRush has better templating and more refactorings. ReSharper has built in unit testing for NUnit, and a healthy set of plugings. ReSharper also has Templates,