Skip to content
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's cleanup = extra space in razor @helper #12

Open
AsiaRudenko opened this issue Nov 12, 2018 · 0 comments
Open

StyleCop + ReSharper's cleanup = extra space in razor @helper #12

AsiaRudenko opened this issue Nov 12, 2018 · 0 comments

Comments

@AsiaRudenko
Copy link

Hi, it looks like StyleCop causes ReSharper's code cleanup to insert an extra space into Razor's @Helper block:

Before:
@helper DrawIcon(string title, string url) { <li> <a href="@url" title="@title"></a> </li> }

After:

@Helper DrawIcon(string title, string url)
{ <li> <a href="@ url" title="@ title"></a> </li> }

Couldn't reproduce this behaviour with StyleCop uninstalled or 'Fix stylecop violations' disabled. Please advise.
The original issue in ReSharper's tracker: https://youtrack.jetbrains.com/issue/RSRP-469808

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant