如果无法正常补全三方库,应该是 bloop 服务没有正常启动:

  1. 创建 ~/Library/Caches/org.scalameta.metals/bsp.trace.json 开启跟踪
  2. 查看项目目录下 metals.log