coderush

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

Automatic addition of `using` in CodeRush

青春壹個敷衍的年華 提交于 2020-01-13 19:34:47
问题 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

Automatic addition of `using` in CodeRush

谁说胖子不能爱 提交于 2020-01-13 19:34:08
问题 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

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

落爺英雄遲暮 提交于 2020-01-13 07:03:07
问题 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

Why does CodeRush warn me of an Unused Declaration in code?

让人想犯罪 __ 提交于 2020-01-06 15:12:49
问题 I have this code, which I use all over my applications to save data back to the database. public bool SaveDemo() { bool success = false; try { using (DataTable dt = DataAccess.ExecuteDataTable("[dbo].[udp_Customers_ups]", DataAccess.Parameter(CustomerIdColumn, CustomerId), DataAccess.Parameter(CodeColumn, Code), DataAccess.Parameter(CompanyColumn, Company), DataAccess.Parameter(IsDeletedColumn, IsDeleted), DataAccess.Parameter(LastUpdatedColumn, LastUpdated), DataAccess.Parameter

Finding a key binding definition in CodeRush

若如初见. 提交于 2020-01-04 13:05:21
问题 If I deployed a Community plugin and set up a key-binding in CodeRush, how do I now find where I filed it in the options dialog / tree hierarchy ? 回答1: Open the CodeRush options screen (Either choose DevExpress \ Options from the menu or hit Ctrl+Shift+Alt+O ) Then locate IDE \ Shortcuts folder in the page hierarchy on the left. Above the shortcut tree, there is a toolbar containing several buttons which are useful in different circumstances. In this case the following 2 options may be of

CodeRush code cleanup formatting

北慕城南 提交于 2019-12-24 09:39:11
问题 I have a few classes that are a complete mess. I would like for CodeRush to organize the code so that public, private, etc. methods become grouped. I would also like for CodeRush to organize my public methods into a region, and put fields and properties into regions. How can I do this? 回答1: Have a look at the CR_ClassCleaner plugin - http://code.google.com/p/dxcorecommunityplugins/wiki/CR_ClassCleaner 回答2: In addition to the CR_ClassCleaner plug-in, there's a lighter and simplified version of

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

点点圈 提交于 2019-12-21 12:31:05
问题 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

Deploying a CodeRush plugin from the Community Site

主宰稳场 提交于 2019-12-12 21:12:23
问题 If I have a plugin that I want to deploy from the DevExpress CodeRush Community site, how do I deploy it onto my machine? This one looks like such a useful plugin. 回答1: How do I install a plugin Instructions are linked to, from the top of each plugin page. Look for the blue button that says "Install help" ( Also linked here ) Essentially all you have to do is drop the dll in the right directory and restart studio. Issues One potential issue surrounds the idea that dlls built on machines other