クラスファイルは参照できません.javaファイル処理スキームとして表示されます.

1223 ワード

IDEAヒント:The file size(3.48 MB)exceeds configured limit(244 MB).Code insight features are not available.
エラー表現:
1.あるjavaクラスは項目が存在すると判断したが、参照先提示でそのクラスが見つからない2.対応するクラスファイルにthe file size(3.40 M)exceeds configured limit(2.56 M).code insight features are not available 3.対応するファイルは**.javaファイルとして表示され、そのファイルがClassファイルであることは表示されない
理由:
このファイルはIDEAが認識する最大ファイルサイズを超えています
#---------------------------------------------------------------------
# Maximum file size (kilobytes) 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 their size.
#---------------------------------------------------------------------
idea.max.intellisense.filesize=2500

ソリューション:
1.IDEAプロファイルのプロファイルを変更し、再起動後に有効にする
パス:...IntelliJ IDEAbinidea.properties
修正内容:idea.max.intellisense.filesize2.IDEA開発ページで、help→Edit Custom Propertiesをクリックすると、...IntelliJIdea 2018.2configディレクトリの下にidea.propertiesファイルが作成され、ファイル内容にidea.max.intellisense.filesizeが設定されます