Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
到目前为止,我发现的唯一方法是创建给定类的实例,然后使用自动完成功能查看所有可能的功能。显然,这种方式很繁琐,也很耗时。有没有更简洁的方法来查看所有可能的功能?
如果您选择类并右键单击并选择Find Usages然后选择Group by type,它将向您显示该类的用法(如果您想一起查看所有可能的扩展,请Extension receiver type确保未选中)。Group by test/production
Find Usages
Group by type
Extension receiver type
Group by test/production
例如