idea 中String.format 会提示 class or interface expected,但是运行都是正常的

interface expected here:翻译过来就是,此处需要要接口

解决方案:
依次打开:File - Strings - Editor - Language Injections
将不需要的项目取消 ,保存后就行了

idea 中 class or interface expected 错误

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-04-13
  • 2021-10-12
  • 2022-01-20
猜你喜欢
  • 2022-12-23
  • 2021-12-23
  • 2021-05-09
  • 2022-12-23
  • 2021-05-24
  • 2022-12-23
  • 2021-09-05
相关资源
相似解决方案