Questions tagged [resharper]

Ask Question

ReSharper is a refactoring and productivity extension by JetBrains that extends native functionality of Microsoft Visual Studio versions since 2003.

4,807 questions

0votes1answer48views

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 ... user avatar Question3r

  • 896
0votes0answers13views

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 ... user avatar Krabbe's-Tykke Lobbe's-Terre

  • 5
0votes0answers20views

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? user avatar Gregory

  • 1
1vote1answer8views

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 ... user avatar Henrik Erlandsson

  • 3,701
0votes0answers23views

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 ... user avatar Sébastien

  • 1,553
0votes0answers17views

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 ... user avatar Mehran Khazaeizadeh

  • 919
0votes1answer14views

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 #... user avatar Gary Wu

  • 1
0votes1answer27views

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 ... user avatar Ian Yang

  • 25
2votes1answer27views

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 ... user avatar Ustad

  • 31
2votes1answer76views

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 ... user avatar Dmitry Bogomaz

  • 61
0votes0answers18views

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 ... user avatar Hemendr

  • 421
0votes0answers69views

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 ... user avatar Piotr Szuflicki

  • 76
0votes1answer33views

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 ... user avatar Lovethenakedgun

  • 617
1vote1answer33views

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 ... user avatar Jay

  • 1,824
0votes2answers24views

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.... user avatar Константин

  • 1

153050per page

1 2 3 4 5321

You Might Also Like