简体   繁体   English

Netbeans 8.0修改已安装的插件

[英]Netbeans 8.0 Modify installed plugin

I have downloaded the https://github.com/jonathanlermitage/tikione-jacocoverage/ plugin and it seems quite decent, but there is one thing that is bugging me, visualized here: 我已经下载了https://github.com/jonathanlermitage/tikione-jacocoverage/插件,它看起来还不错,但是有一件事情困扰着我,在这里可以看到:

在此处输入图片说明

I am fine with the little glyphs on the left hand side of the lines which indicate for example git status. 我对线条左侧的小字形表示满意,这些字形指示例如git status。
However I strongly dislike my whole lines being colored. 但是,我强烈不喜欢我的整个线条都是彩色的。

I know which XML files might be the culprit, found in https://github.com/jonathanlermitage/tikione-jacocoverage/tree/master/tikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/resources . 我知道哪些XML文件可能是罪魁祸首,可在https://github.com/jonathanlermitage/tikione-jacocoverage/tree/master/tikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/resources中找到。

So the following questions: 所以下面的问题:

  1. Where are the plugins installed in Netbeans? Netbeans中的插件安装在哪里?
  2. How can I modify XML files in the plugins? 如何修改插件中的XML文件?

Bonus for showing how to either fully remove the line color and add a little glyph to the left (or right) or to make the line color a very very white green or red. 显示如何完全消除线条颜色并在左侧(或右侧)添加一些字形或使线条颜色非常非常白绿色或红色的奖励。

The plugin is installed by default into userdir - http://wiki.netbeans.org/FaqWhatIsUserdir - unless you asked to install it into installation directory where the rest of installation is created by installer. -插件默认情况下为用户目录安装http://wiki.netbeans.org/FaqWhatIsUserdir -除非你要求它安装到哪里设施的其余部分是由安装程序创建的安装目录。

You can try to update the resource in .jar file under modules folder. 您可以尝试在modules文件夹下的.jar文件中更新资源。 There can be some checksums. 可能会有一些校验和。 If it does not work you can try to clone the repository, patch the source and build nbm target. 如果不起作用,则可以尝试克隆存储库,打补丁源并构建nbm目标。 It will generate .nbm file that you can manually install as a plugin in 'downloaded' tab in plugin manager. 它将生成.nbm文件,您可以在插件管理器的“下载”标签中手动将其作为插件安装。

From what I'm aware, what you are specifying is already how netbeans does this by default: 据我所知,您所指定的已经是netbeans默认情况下如何执行此操作:

在此处输入图片说明

However, you can still try looking under Options>Fonts & Colors>Highlighting 但是,您仍然可以尝试在“ Options>Fonts & Colors>Highlighting下查找

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM