resharper

ReSharper Abbreviations List: Where can I modify it?

这一生的挚爱 提交于 2019-12-02 15:40:58
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?? Jhonny D. Cano -Leftware- In Resharper 5. see answer below. -In Resharper 4 use Resharper/Options/Languages

Are there shortcut keys for ReSharper's Unit Test Runner?

梦想的初衷 提交于 2019-12-02 15:20:41
For obvious productivity reasons, I make an effort of learning and using as many of the keyboard shortcuts for the various Re# commands. However, it seems that the unit test runner does not have any associated shortcut keys. I want to be able to select certain tests and be able to run or debug them without resorting to grabbing the mouse each time. Is using the mouse my only option? Ben Scheirman ReSharper adds items to Visual Studio's keyboard settings dialog box. Go to: Tools -> Options, Environment -> Keyboard In the search bar, type "resharper" and see the vast options that you can control

ReSharper key bindings problem

点点圈 提交于 2019-12-02 15:02:30
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. This is a known issue that affects all ReSharper shortcuts that include F12 after switching from IntelliJ keymap to VS keymap. It's

ReSharper Unit Test Runner ignores deployment items configuration

送分小仙女□ 提交于 2019-12-02 14:44:46
问题 I'm using Resharper 6.1 for unit testing a new project and it seems to ignore the the Deployment section of my local.testsettings file. I tried to configure in "ReSharper -> Options -> Unit testing -> MSTest -> Use this test run configuration" to explicitly use the local.testsettings file, how is suggested in this question: ReSharper Unit Test Runner: Support for Deployment Items, but nothing happens. Desperately I tried to move the files out of the test project, create another Test Settings

Resharper compile time autoformat incorrectly changes code

大兔子大兔子 提交于 2019-12-02 10:59:25
Resharper changes below code string strTest = "Test"; string strTest2 = "Test2"; to this string strTest = "Test";string strTest2 = "Test2"; if cursor is at the end of the first line when I start project. It makes all breakpoints obsolete ("The breakpoint will not currently be hit. The source code is different from the original version.") And sometimes it mixes comment line with code line and completely breaks execution. For instance: //Comment line string strTest = "Test"; changes to //Comment linestring strTest = "Test"; If cursor is between double quotes it doesn't modify code. If I suspend

ReSharper Unit Test Runner ignores deployment items configuration

倖福魔咒の 提交于 2019-12-02 09:22:36
I'm using Resharper 6.1 for unit testing a new project and it seems to ignore the the Deployment section of my local.testsettings file. I tried to configure in "ReSharper -> Options -> Unit testing -> MSTest -> Use this test run configuration" to explicitly use the local.testsettings file, how is suggested in this question: ReSharper Unit Test Runner: Support for Deployment Items , but nothing happens. Desperately I tried to move the files out of the test project, create another Test Settings file, move the test project to another solution, but still nothing. Any tips? This issue (http:/

How can I safely loop until there is nothing more to do without using a “placeholder” while conditon?

给你一囗甜甜゛ 提交于 2019-12-02 05:18:41
In order to call my Web API method until no more data is returned (I'm fetching it in batches, to keep each result set small, due to the 98-lb-weakling persona of the client (Windows CE handheld device)), I'm using this code: while (moreRecordsExist) { redemptionsList.redemptions.Clear(); string uri = String.Format("http://platypus:28642/api/Redemptions/{0}/{1}", lastIdFetched, RECORDS_TO_FETCH); var webRequest = (HttpWebRequest)WebRequest.Create(uri); webRequest.Method = "GET"; using (var webResponse = (HttpWebResponse)webRequest.GetResponse()) { if (webResponse.StatusCode == HttpStatusCode

Implicitly defined variable throws run-time error while explicitly defined does not

烈酒焚心 提交于 2019-12-02 03:25:25
问题 Using VB.NET, I'm trying to clean up a code base following ReSharper's guidelines. I currently have the following code: 'oSearchInput is defined outside this question Dim oSearchRoutines As New SearchClient Dim oSearchResults As List(Of SearchResult) oSearchRoutines = 'WcfCallThatReturnsSearchClient oSearchResults = oSearchRoutines.getSearchResults(oSearchInput).ToList Now this works completely fine, but ReSharper warns that As New SearchClient has 'Value assigned is not used in any execution

Jasmine test fails running in VS2012 + Resharper + PhantomJS

心已入冬 提交于 2019-12-02 02:43:19
问题 I tried to run a jasmine unit test in resharper 7 in vs2012 but its failing. resharper + phantomjs is running it in autogenerated url which maybe the cause of the failure is there a way to configure the test to use an absolute or a known URL? UPDATE I added js reference in my *spec.js file /// <reference path="../jasmine/jasmine-html.js" /> /// <reference path="../jasmine/jasmine.js" /> /// <reference path="../jasmine/boot.js" /> /// <reference path="../jasmine/console.js" /> /// <reference

Jasmine test fails running in VS2012 + Resharper + PhantomJS

自作多情 提交于 2019-12-02 01:56:17
I tried to run a jasmine unit test in resharper 7 in vs2012 but its failing. resharper + phantomjs is running it in autogenerated url which maybe the cause of the failure is there a way to configure the test to use an absolute or a known URL? UPDATE I added js reference in my *spec.js file /// <reference path="../jasmine/jasmine-html.js" /> /// <reference path="../jasmine/jasmine.js" /> /// <reference path="../jasmine/boot.js" /> /// <reference path="../jasmine/console.js" /> /// <reference path="Player.js" /> /// <reference path="Song.js" /> /// <reference path="SpecHelper.js" /> and it fixed