I'm using this plugin with success in WebStorm. Thank you for creating it!
I'd like to make a suggestion for some future release: it's not uncommon to work in a mono-repo, where multiple typescript application (or whatever it might be) are present. Currently it seems this plugin works only in this scenario:
dprint.json # configuration file at the root
packages/app-1/main.ts
packages/app-2/main.ts
So we can have only 1 configuration file both apps.
Ideally it would be possible to have the following:
packages/app-1/main.ts
packages/app-1/dprint.json
packages/app-2/main.ts
packages/app-2/dprint.json
I don't know kotlin, but it seems the plugin will start looking for dprint.json at the root directory of the project, and then travel to the parent directory: https://github.com/dprint/dprint-intellij/blob/main/src/main/kotlin/com/dprint/utils/FileUtils.kt#L64-L68
Ideally this search would start at the directory associated with the file being formatted.
Thanks.
I'm using this plugin with success in WebStorm. Thank you for creating it!
I'd like to make a suggestion for some future release: it's not uncommon to work in a mono-repo, where multiple typescript application (or whatever it might be) are present. Currently it seems this plugin works only in this scenario:
dprint.json # configuration file at the root packages/app-1/main.ts packages/app-2/main.tsSo we can have only 1 configuration file both apps.
Ideally it would be possible to have the following:
I don't know kotlin, but it seems the plugin will start looking for
dprint.jsonat the root directory of the project, and then travel to the parent directory: https://github.com/dprint/dprint-intellij/blob/main/src/main/kotlin/com/dprint/utils/FileUtils.kt#L64-L68Ideally this search would start at the directory associated with the file being formatted.
Thanks.