Getting current Editor colors (e.g. color of quoted strings)

Hello,

within my plugin, I would like to programmatically get colors that are used in the current scheme in editor.

Just for example, I would like to get the current editor color for quoted strings in Java. 

 

How do I get them? I found themeMetaData.json and JBColor.namedColor for getting them, but this seems to be only a subset of the possible colors.

 

Many thanks in advance.

Peter

0

请先登录再写评论。