Hey, here's my situation:
- Given a tool X that applies
dprint programmatically to code that it generates into a users project Y
- Given that X wants to allow Y to control formatting options
How does X read the optional dprint configuration file in Y reliably? I could just look for a dprint.json in CWD etc. but I don't want corner cases to hit the user. E.g. the same resolution algorithm that the user's IDE uses I want my tool to use.
Is there any APIs to support this? Thanks!
Hey, here's my situation:
dprintprogrammatically to code that it generates into a users project YHow does X read the optional dprint configuration file in Y reliably? I could just look for a
dprint.jsonin CWD etc. but I don't want corner cases to hit the user. E.g. the same resolution algorithm that the user's IDE uses I want my tool to use.Is there any APIs to support this? Thanks!