0

Using Eclipse 2020-09 (i.e. v. 4.17) IDE for Java (on Linux, openSUSE Tumbleweed), with version 3.0.38 of Mylyn WikiText plugin installed, I had the following difficulty: Although pretty much all editor/ui fonts were fine, the HTML preview of WikiText files (in particular README.md!) displayed in unreadably small fonts (my display has a very small pixel pitch). So I wanted to find a way to set the CSS of such preview pages. The Mylyn WikiText docs (at https://help.eclipse.org/2020-09/index.jsp?topic=%2Forg.eclipse.mylyn.wikitext.help.ui%2Fhelp%2FMylyn+WikiText+User+Guide.html, under the heading "Rendering Appearance") says that there should be a Preferences screen General > Editors > Text Editor > WikiText > Appearance that allows one to set this CSS. However, no such screen shows up in my installation.

The only method I was able to find for fixing this was to use an application (such as Engrampa) which is able to edit the contents of .jar files, and in my eclipse installation directory, use it on plugins/org.eclipse.mylyn.wikitext.ui_3.0.[SPECIFIC_VERSION_HERE].jar to edit the internal component org/eclipse/mylyn/internal/wikitext/ui/viewer/default.css -- I could change any css there, and upon restarting Eclipse, the changes would take effect.

However, clearly any changes I make this way will be blown away upon the next update of Eclipse or of Mylyn Wikitext. Does anyone know of a better way to set the size of the preview text? Was that Appearance pane mentioned in the docs removed? If so, what replaced it? If not, any ideas why I might not be seeing it?

Glen Whitney
  • 446
  • 2
  • 12
  • The Appearance preference page is present in my installation. – greg-449 Dec 08 '20 at 17:52
  • @greg-449 - is it Eclipse 4.17 with WikiText 3.0.38? I installed eclipse by downloading eclipse-java-2020-09-R-linux-gtk-x86_64.tar.gz from eclipse.org and expanding the archive... I assumed that was pretty much the standard way, any other suggestions? – Glen Whitney Dec 09 '20 at 03:10
  • Yes, it is exactly that. I use a very minimal customized Eclipse so there may be differences from the main download (also running on macOS). Look in the .log file in the workspace .metadata directory to see if there are any relevant messages. – greg-449 Dec 09 '20 at 08:11
  • Well, the .log file is a megabyte long. I grepped for mylyn (case insensitive) and got lots of messages like `!MESSAGE Conflicting handlers for org.eclipse.ui.edit.findNext:` (with many other possibilities in place of findNext as well) but wasn't clear what any of these had to do with that Appearance page not appearing... – Glen Whitney Dec 10 '20 at 00:19

0 Answers0