Closed potterdai closed 7 years ago
Hi. This "if block" disabled(for clarity)?
Thanks
Yep, it's the part to be disabled and be considered not to compile.
Thank you for such quick response! = )
I don't known how provide full formatting for disabled code (due it's not parsed as C# code).
It should ignore this block.
Will check it, when free time find me =)
I think it should be ignored as well. But now it will be reformatted to align in column.
Hi. Disabled blocks now fully ignored by formatter. You can test fix when it will uploaded to release channel (https://github.com/consulo/consulo/wiki/Update-channels some documention about channels)
Wow, that was fast! Thank you very much for the good work! = )
Hello. If you found any other issues - please report it, or if you want some not implemented feature.
Use https://discuss.consulo.io for discussions, or github for issues
Thanks
Hey, just found the issue. After reformatting, the code become like this:
Before:
After:
There is a weird intend being formatted.
Can you try to reproduce this bug in simple example ?
Hi, not sure how to do it here
if you create a file with:
And "Code" -> "Reformat Code" It will become something like this:
new issue https://github.com/consulo/consulo-csharp/issues/479
Strange how i not catch it.
Thanks you
For codes between Preprocessor, reformat will change their code style.
For example:
will be formatted to
which is not desired.
Better way is to just leave the codes there untouched.