IntelliJ: Package name prefix #336
-
Anyway to eliminate the package name prefix that Melos seems to use for intellij packages? We already prefix with a lot of things, one more thing that doesn't match the directory structure is messy. /root/tftc_flutter_app_name ends up being melos_tftc_flutter_app_name |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Just came here to ask this. Looks like it's hard-coded: https://github.com/invertase/melos/blob/main/packages/melos/lib/src/common/intellij_project.dart#L107-L118 I'm wondering if there's a reason to namespace like this. In terms of my workflow I have no conflicts if the default package names had no 'melos_' prefix, but if it's needed, let's figure out a way to at least override this. Looks like @Salakar and @blaugold have been around here recently, do either of you have input on this? I'm happy to put up a PR, just need some background to proceed. |
Beta Was this translation helpful? Give feedback.
-
@tcf909 the IntelliJ package name prefix can now be configured, and set to the empty string to get the outcome you're after. See https://melos.invertase.dev/configuration/overview#ideintellijmodulenameprefix |
Beta Was this translation helpful? Give feedback.
@tcf909 the IntelliJ package name prefix can now be configured, and set to the empty string to get the outcome you're after. See https://melos.invertase.dev/configuration/overview#ideintellijmodulenameprefix