How to set Javadoc style

Answered

Once I have enabled Javadoc comment rendering, how do I change the font style used? I don't see how to find that style.

0
7 comments

How do you expect JavaDoc to be changed? 

Are you going to change the font itself, its size, or something else? Can you share your use-case? 

Feature request for changing font size is already filed: https://youtrack.jetbrains.com/issue/IDEA-238153 You can vote for it anytime. 

 

0

I want to change the font itself, from the current variable width sans-serif to a fixed width font.

0

You can use CSS styling for that: 

/**
* test font
* <div style="font-family:Jetbrains Mono;">test font</div>
*/

0

Well, I'm trying to apply this globally without changing source code, for example when looking at Java library sources.

This should ideally be a customizable editor font style.

0

Please sign in to leave a comment.