-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StyleCop.Resharper + Code Cleanup + StyleCop rules #13
Comments
UPD: After R# repairing I can't run the VS StyleCop even after reinstalling the extension |
|
Hey @matkoch, thank you for the reply! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there.
I have a pretty simple task and last 4 hours I have been trying to implement it with almost no luck.
I hope you will be able to advise me and help.
My config is:
VS2017 15.9.1
R# Ultimate 2018.2.3
StyleCop by JetBrains 2018.2.0
StyleCop settings:
Code Cleanup profile:
My goals are:
My steps (story):
I have installed the StyleCop R# extension and restart the VS. I have got the
StyleCop
Code Cleanup profile and enabled theCreate XML doc stub
option. After the cleanup I was able to get the header and member docs. Unfortunately there was no company name int the header and it was not complained with one of the StyleCop rule. So I have started searching a way to resolve it.I have realized that there is no other way for comfortable editing the
Settings.StyleCop
file except installing the VS StyleCop extension (by right mouse button click on a project). I was able to update the company name and copyright text there. After running the code cleanup again I have lost the summary section of the header (which has been generated as copy of the doc for the class in the file). I have tried to play with the R# header settings but it looks like StyleCop wins over the R# for header config. Based on the pretty old blog post here there was a setting:allowed to configure the header cleanup. But it has gone.
My questions are:
TypeLoadException
from assemblyTestPlatform.ObjectModel
).
Right now I have to disable the VS StyleCop, restart the VS, enable the plugin and restart again. It works till the next VS restart.
I have noticed that Alt+Enter R# fix add the full header (copyright + summary):
But the Code Cleanup one add a copyright only:
And Code Cleanup replaces the full header with the short one during the cleanup process.
Thank you!
The text was updated successfully, but these errors were encountered: