如何在CLion默认主题中强调警告?

时间:2017-07-29 12:00:00

标签: intellij-idea clion

我注意到在CLion中,以Darcula为主题,警告强调如下:

enter image description here

但是在默认的IntelliJ主题中,它们不是:

enter image description here

如何激活此行为,在默认的IntelliJ主题中强调所有警告,而不仅仅是错误?

1 个答案:

答案 0 :(得分:2)

var links = []; var anchors = ['a', 'b', 'c']; // not empty loop for (let i = 0; i < anchors.length; i++) { console.log(anchors[i]); // empty loop for (let i = 0; i < links.length; i++) { console.log(links[i]); } }中搜索warings,点击Preferences中的结果。

enter image description here

您可以选中Color Scheme -> general选择您喜欢的任何颜色效果(默认为白色,因此无效),例如Effects

enter image description here

事实上,Darcular默认值为Underwaved,颜色为Underwaved

enter image description here