The Wayback Machine - https://web.archive.org/web/20201218055235/https://github.com/haskell/haskell-ide-engine/issues/1223
Skip to content
This repository has been archived by the owner. It is now read-only.

On import action, add package to project description. #1223

Closed
fendor opened this issue Apr 30, 2019 · 4 comments
Closed

On import action, add package to project description. #1223

fendor opened this issue Apr 30, 2019 · 4 comments

Comments

@fendor
Copy link
Collaborator

@fendor fendor commented Apr 30, 2019

On import module action, check whether the associated package is already installed and add it to the project description if necessary.

Is that the wanted behaviour? Or is it better to let the user decide it for themselves?

@alanz
Copy link
Collaborator

@alanz alanz commented May 4, 2019

By project description do you mean the cabal file?

@fendor
Copy link
Collaborator Author

@fendor fendor commented May 4, 2019

Yes, or package.yaml.

@fendor
Copy link
Collaborator Author

@fendor fendor commented Jun 2, 2019

In my opinion, it is fine to demand the user to explictly add the package to cabal file or hpack file.

@fendor
Copy link
Collaborator Author

@fendor fendor commented Dec 25, 2019

Since nobody expressed any strong opinions, for now I declare that packages need to be manually added to package.yaml or cabal files.

@fendor fendor closed this Dec 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.