scalameta / metals-feature-requests

Issue tracker for Metals feature requests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow auto imports of type members

tgodzik opened this issue · comments

Is your feature request related to a problem? Please describe.

Currently some libraries such as ZIO have a number of useful types contained in a package object, but those types cannot be imported automatically. It would be possible to enable that.

Describe the solution you'd like

Index types that are contained at toplevel of objects and/or package objects

Describe alternatives you've considered

Import manually

Additional context

This would require making sure that indexing is as effective as it is now and also that we don't gather types, which are not useful for anyone.

Search terms

auto import type zio