Questions Tagged [Resharper]
Ask Question Resharper Is a Refactoring and Productivity Extension by Jetbrains That Extends Native Functionality of Microsoft Visual Studio Versions Since...
ReSharper is a refactoring and productivity extension by JetBrains that extends native functionality of Microsoft Visual Studio versions since 2003.
Must Read
4,807
questions
0
votes
1
answer
48
views
How to configure ReSharper or Roslyn Analyzers to fail on any warnings/errors?
I have a C# project and want to ensure the code "looks fine" during my CI pipeline ( Github Actions ). Based on the docs I think the free ReSharper CLI does the job for me, so I could run
jb ...
0
votes
0
answers
13
views
How can I change the default file location for a new unit test class, using VS and Resharper?
I'm in some class and I press ctrl-g-t, which is the Resharper Testcop shortcut to jump to/create new unit test class. The trouble is that the resulting unit test class is in the wrong place, in both ...
0
votes
0
answers
20
views
Resharper is missing in Extensions tab after succesfully installation
I installed resharper using choco but when I opened VS then resharper is not available in Extensions tab. How can I add it?
1
vote
1
answer
8
views
Resharper setting to analyze code only when I press Enter at the end of the line?
While I'm editing a line of code, I'd like to have access to Code Completion, etc.
But most of the time while editing, before having pressed Enter, syntax color coding, squigglies, and variable type ...
0
votes
0
answers
23
views
ESLint within Visual Studio does not use the right working directory
I have a .Net solution with multiple project one of which (MyAPP.Web) is a .Net API including a JS frontend inside "ClientApp".
contains the ESLint package in ...
0
votes
0
answers
17
views
Resharper C++ 2022 doesn't process newly added files (Visual Studio 2022)
When I add a new file to project, Resharper operates as this file is from an excluded directory, so it doesn't show any indicator, marker, ... absolutely nothing on that file until next restart of ...
0
votes
1
answer
14
views
Prevent ReSharper removes the existing region while doing file formatting
I have a file layout that gonna apply when I reformat the code. It is doing well. However, I got some specific codes that I have a #region around them. The ReSharper would remove these existing #...
0
votes
1
answer
27
views
Editorconfig indent C# record properties
I am trying to use editorconfig + ReSharper/cleanupcode.exe to format my C# code (using this cool precommit hook)
The problem I am having is that cleanupcode refuses to indent properties in a record
...
2
votes
1
answer
27
views
How to use single Resharper setting file by multiple users
I am looking for a way to create a single Resharper setting file and share it with my team members, and if in the future I want to make a change in that file then that setting should automatically be ...
2
votes
1
answer
76
views
Rename all variables in C++ project by naming style
How I can rename all variables and functions to suggested with name style in all C++ project?
I setup name style in ReSharper. I know that in C# project I could apply naming style for all project. But ...
0
votes
0
answers
18
views
Can we run custom script for code cleanup using Visualstudio or Resharper?
I want to save space while printing source code in visual studio. Is it possible to combine multiple using namespace statements at the beginning of *.cs file to single line using resharper in ...
0
votes
0
answers
69
views
Resharper - Issue with App_GlobalResources
I've got an issue when I try to use App_GlobalResources/Common.resx in views.
I write, for example:
@Resources.Common.Yes
The solution builds without issues however reshaper shows an error.
Reshaper ...
0
votes
1
answer
33
views
Indicate to ReSharper or Visual Studio that JSON variable is instance of Model
My front-end libraries sometimes require JSON data from my MVC application (e.g. jQGrid). I'm accommodating this when needed by converting the required model classes to JSON. However I'm running into ...
1
vote
1
answer
33
views
Resharper avoid "Parameter has no matching param in the XML comment" for extention methods
I have a class of extension methods which I want to have good XML comments for.
An example function looks like this
/// <summary>
/// Does something cool and assigns the result to <paramref ...
0
votes
2
answers
24
views
Different results resharper in VS and resharper CLT
My respects. Colleagues, the subject has been raised, but no answer has been found.
The results of the error check using VisualStudio 2022 plugin resharper version 2021.3.4 and resharper in CLT 2021.3....