-
-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Add current file to Cabal (exposed/other) modules #3595
Comments
Hi, thank you for your bug report! The requested feature is the responsibility of Haskell Language Server, moving the issue to the main repo. |
Thanks a lot for the prompt response! I understand that maintaining a great project like this is a huge effort. No push at all, just wanted to put this on the backlog in case someone might want to take a stab in the future, myself included :) It is not said enough in the OSS community, so here it goes: Thanks a lot for your efforts ❤️ |
@VeryMilkyJoe is going to work on this issue as one of their next tasks for #2940 |
Is your feature request related to a problem? Please describe.
Adding all project modules to the Cabal file is often confusing for newcomers, if we could add them automatically, it'd be a win.
Describe the solution you'd like
When a module in the project is opened and it is not mentioned in the Cabal file, it should be added automatically to the
other-modules
section.This would be a quick boost of productivity, so the developer would only need to move the module to
exposed-modules
if they want to expose it.An alternative would be to add a command to the extension to achieve this on demand.
Describe alternatives you've considered
Using/creating a CLI file just for this
Additional context
In F# Ionide this is done through an additional file explorer view, which is overkill in my opinion. Still, it frees the dev from having to mess around with tooling.
The text was updated successfully, but these errors were encountered: