Inlay Hints and Syntax Highlighting Not Working

Answered

My inlay hints and syntax highlighting is disabled on all of my .java files in any of my projects, however they are present in the .class files. How do I fix this so that they are shown in the .java files as well?

1
13 comments

See https://stackoverflow.com/a/13374653/104891. Reset the file types and see if it helps.

0

I reset the file types and it still did not work. 

0

Try File | Manage IDE Settings | Restore Default Settings...: https://i.imgur.com/kbrkC7w.png.

1

I have restored default settings and uninstalled intellij and reinstalled it, yet neither fixes the issues. I'm not really sure what else to do. 

0

Does the issue occur even in a new hello world project?

Please share the screenshot of the IDE window showing the problem and upload the logs (Help | Collect Logs and Diagnostic Data) at https://uploads.jetbrains.com (provide the ID here).

See also if https://stackoverflow.com/a/43319356/104891 is the case.

0

Here is an example of a new file I just made below. The first picture shows the .java file, which has highlighting disabled and usages not being shown, while in the second picture, the .class file has usages shown and will usually have syntax highlighting shown as well. I want the .java file to show usages and syntax highlighting yet it doesn't do that.

0

Hey, hello, can you give me an example of embedding prompts and how to implement it?

0

马力, could you please describe in more detail what exactly you need? 

0

During plug-in development, how to embed prompt text in the editor code? My idea version is 2020. As shown in the figure

0

马力, please wait for an answer from my colleague in the post you created on the Plugin Development forum.

0

Please sign in to leave a comment.