eclipse 中高亮显示
背景介绍
在使用eclipse编译器时,需要对变量进行高亮显示,方便快速的去看代码
1、文件内容的高亮显示
在 菜单栏的 window —> preference —–> Content type —–> Text —-> Html —> Add
弹出窗口 File type :
在输入框中输入 .vm ,选中添加的.vm 在下面的 Defualt encoding 中输入:“utf-8“ 单击 update ,点击ok,设置完毕。
重新打开vm页面就可以看到里面的样式变化。
2、本地变量的高亮显示
在 菜单栏的 window -> preferences -> java ->Editor -> Mark Occurences
点击右边选择Color即可
3、 设置背景色
Windows -> Preference –> General –> Editors –> Test Editors 背景色是喜大普奔的豆沙绿,比较柔和 设置为:色调:85。饱和度:120。亮度:208 即可
博客来源:
【1】https://blog.csdn.net/zhulin40/article/details/19628975?utm_source=blogxgwz0 【2】https://www.iteye.com/blog/technique-digest-1343467