Open provegard opened 1 year ago
Weird, it might be an Rider issue rather than an issue with this plugin. OOI have you tried any other formatter and had success?
The reason I ask is that log line should only be appearing if
If it is getting there and you aren't seeing the update in the UI it feels like that file save wasn't actually successful.
I don't have a copy of Rider but I might ask Jetbrains if I can get one to debug this. Also, contributions welcome :)
I haven't managed to get the dprint plugin to work in Rider. It works in IDEA without any problems.
In Rider, unlike in IDEA, I have to specify the dprint executable manually. That's fine.
When I change a file by introducing some unwanted whitespace changes and then save, I get:
Note how it says "Successfully formatted C:/kod/Customer/Product/src/Suite/Model.Product/Model/Item/Item.Nullable.cs". However, the file does not change at all.
If I run
npx dprint fmt src/Suite/Model.Product/Model/Item/Item.Nullable.cs
, the file gets formatted.This is my dprint config:
I'm using Rider 2023.1.1, Build #RD-231.8770.54.