Questions tagged [resharper-2018]
6 questions
11
votes
2 answers
How do I prevent StyleCop warning of a Hungarian notation when prefix is valid
I have the following code:
var fxRate = new FxRate();
which is giving me the following StyleCop ReSharper warning:
The variable name 'fxRate' begins with a prefix that looks like
Hungarian notation.
I have tried copying the Settings.StyleCop…

openshac
- 4,966
- 5
- 46
- 77
5
votes
2 answers
Shortcut Key to Hide "Bottom Panel" in Visual Studio; regardless of number of Tool Windows
Context:
In SSMS, one can press Ctrl+R to Show/Hide the "Result Panel" displayed below the query editor. After learning (and using) this shortcut, I am extremely displeased by the amount of permanent vertical space Visual Studio takes up! (I do not…

user2864740
- 60,010
- 15
- 145
- 220
2
votes
2 answers
ReSharper C# Intellisense Show Overridable Members After Typing Override Keyword
I was recently upgraded from Visual Studio 2017 / ReSharper 2017.1 to Visual Studio 2017 / ReSharper 2018.3 when the IT department recently had to re-image my work machine and installed updated versions of all the software I use. I've noticed a…

Thick_propheT
- 1,003
- 2
- 10
- 29
2
votes
1 answer
What is the proper way to use ReSharper's Projects to Ignore code inspection setting?
We have a Visual Studio solution that is using third-party projects for code. These are essentially projects on GitHub that developers could use for their own implementations of a web application.
Within TeamCity we're getting code inspection…

James Skemp
- 8,018
- 9
- 64
- 107
1
vote
1 answer
Automatically formatting statement on semicolon on getter, despite setting being off
When I type semicolon after 34 in this getter
The getter is collapsed to a oneliner (I have no clue which setting does that)
but automatic format on semicolon is turned off.
Why?

Anders Lindén
- 6,839
- 11
- 56
- 109
0
votes
1 answer
Why does ReSharper report "expression is always false"? (for boolean Equals true true)
The unit test passing appears to contradict the inspection claim.
There are a lot of false reports of bugs with this inspection.
public void Foo2()
{
bool objA = true;
bool objB = true;
var result1 = Equals(objA,…

dthal
- 581
- 1
- 5
- 16