Reformat File does not work

Completed

Hey guys,

currently I play around with Rider 2017.2 in combination with Unity 2017.3.0b1 under Ubuntu 17.10. When I try to format new C# files with Ctrl + Shift + Alt + L nothing happens for "whole file" and "selected text". After changing files under Git control I try "Only VCS changed text" and I get the message that everything is fine.

Has somebody an idea?

Greetings

0
8 comments

Hi Henry,

Which files do you try to reformat (cs/shader/etc.)? Can you see "No lines changed: content is already properly formatted" message or nothing happens at all for "whole file" and "selected text"?

0
Avatar
Permanently deleted user

Hey Julia,

I get the message "No lines changed: content is already properly formatted" in a file under git control where I added a tab in front of a line. I used "Only VCS changed text" and "whole file". If I select the whole line and use "selected text" nothing happens.

0
Avatar
Permanently deleted user

Hey Julia,

today I updated Rider to 2017.2.1 and getting same behavior.

0
Avatar
Permanently deleted user

Glad I found this post.
I'm having the same issue with .json file.

I can't get reformat to work. using ALT-CTRL-L

But! I can do it with the dialog.

0

Hi Richard! 

Please, upgrade to the latest 2019.3 version. We've just fixed that :) 

0
Avatar
Permanently deleted user

Sweet!

0

Having a similar issue ( in that formatting isn't working at all, via dialogue or otherwise )...
Any known workarounds?
Thanks.

Raised an issue:
https://youtrack.jetbrains.com/issue/RIDER-38252

0

Hi Sicklebrick! 

Thank you for creating the issue. It looks similar, but not the same, Please, follow your issue for further details. 

0

Please sign in to leave a comment.