You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
Hey, here's my situation:
dprint
programmatically 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.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!
The text was updated successfully, but these errors were encountered: