Skip to content

Reload required when adding new dependencies to package.yaml/.cabal file #1068

Closed
@ratherforky

Description

@ratherforky

When adding new dependencies to package.yaml you need to reload VSCode to keep ghcide up to date.

To reproduce:

  • Add a new dependency to the package.yaml of a project
  • Import a module from that new dependency
  • You get an error for the import
  • Reload and the error should go away

Adding a new dependency happens relatively infrequently so this isn't a big deal, but I thought it might be worth noting as a limitation if it isn't easy to fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: highHigh priority itemtype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions