解决 thingsboard在 idea 报Cannot resolve symbol 'TransportProtos'

本人idea 版本为 2021.1,顺利编译 thingsboard 打开进行源码阅读时,发现报 Cannot resolve symbol 'TransportProtos',如下图:


image.png

解决方式:打开idea菜单: File->setting->plugins 搜索 proto*, 安装 protocol Buffer Linter插件, 并重启

image.png

重启后,又出一个问题:

 The file size(3.67 MB) exceeds the configured limit(2.56 MB). Code insight features are not available

如图:


image.png

解决方式:
打开idea 的路径,找到 bin 下的 idea.properties 配置文件, 记事本打开,搜索 idea.max.intellisense.filesize将值修改更大一些, 再重启idea

# Maximum file size (in KiB) IDE should provide code assistance for.
# The larger file is the slower its editor works and higher overall system memory requirements are
# if code assistance is enabled. Remove this property or set to very large number if you need
# code assistance for any files available regardless of their size.
#---------------------------------------------------------------------
idea.max.intellisense.filesize=5000
image.png
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
禁止转载,如需转载请通过简信或评论联系作者。

推荐阅读更多精彩内容