Avatar of curiouswebster
curiouswebster
Flag for United States of America asked on

Duplicate code highlighting (for refactoring) with ReSharper?

Duplicate code removal with ReSharper?
 
I read it now helps highlight duplicate code, but at jetbrains.com I am not finding an specific feature for that.

At the moment, I care most about UI files, first and foremost HTML and Javascript.

Does anyone know if ReSharper highlight duplicate code within a file? And between different files?

IO am about to get the 30-day free trial. But, before I start the clock, I hope to nail down even if that feature exists.

Thanks
Web Development.NET ProgrammingHTMLUI/UXJavaScript

Avatar of undefined
Last Comment
curiouswebster

8/22/2022 - Mon
Scott Fell

I use Jetbrains myself with php storm and webstorm. I have not used ReSharper but I do have access to it.


I can confirm in PhpStorm there is the option to check for Duplicated code fragments. I don't have it turned on myself but it is in the editor settings. The fastest way to find it is to click on help -> Find Actions and search Duplicate Code.  You can also use the menu item Code -> Locate Duplicate Code. I think all the jetbrains software are similar in that respect. 


I have been using Jetbrains for probably 4 or 5 years and have the entire suite.

curiouswebster

ASKER
Is that for Javascript and/or HTML? I just learned ReSharper's dupFinder is for C# and VB.NET only
ASKER CERTIFIED SOLUTION
Scott Fell

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
curiouswebster

ASKER
thanks
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck