Eclipse highlight matching parenthesis

↘锁芯ラ 提交于 2021-02-10 03:11:47

问题


I see plenty of posts about matching brackets, however not so much love for parenthesis. In Eclipse how do I get matching parenthesis to highlight? I'm working in java and groovy.


回答1:


Open any Java file in Java editor inside eclipse. Put caret just after opening or closing parenthesis. You can see the corresponding matching parenthesis highlighted, but unfortunately the default highlight background and foreground colors are not good.

So change this color in Windows > Preferences > Java > Editor > Appearance color option > Matching brackets highlight

Check this Bracketeer plugin which has many other features along with showing matching brackets. But it works for only C/C++ or Java code not for groovy.



来源:https://stackoverflow.com/questions/43482388/eclipse-highlight-matching-parenthesis

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!