One of the worst thing of typing documentation in ReST is to normalize grid tables.
Whereas it is said to be supported (as for sections normalization), it does not work.
Example:
+------------------------+------------------------------+
| Pattern | Entity |
+========================+==============================+
| Test | value |
+------------------------+------------------------------+
Here, the columns are not strictly aligned, neither on header or body, and this is never normalize (even if the header is correctly defined).
Hope you can provide an quick & easy fix !
Using Eclipse Oxygen / Sphinx 1.7+
By the way, the plugin is very good for everything else !
Hi,
I couldn't reproduce the bug when using the "format on save" preference in RestEditor.
Is it activated ?
Otherwise, it seems the "format" command is missing in the general. Maybe it would be interesting to add one when "format on save" is disable.
Format on save is checked (see configuration in attachment).
I am using ReST Editor 1.0.5.201110101040 org.psem2m.eclipse.rest.editor.feature.group isandlaTech.com from http://resteditor.sourceforge.net/eclipse/ update site.
Running on Eclipse Java EE IDE for Web Developers.
Version: Oxygen.3a Release (4.7.3a)
Build id: 20180405-1200
Last edit: Donatello 2018-07-06
I have a simelar problem in Eclipse Neon 3.
My intermediate solution is:
The normalization of tables works, if I change the line delimiter for the file in question to UNIX (menu path: File->Convert Line Delimiters To->Unix). In files with DOS/Windows line delimiters, the normalization does not work for me.
The other way around (UNIX delimiter on Windows workstation) I could not test yet, if this would help either, please tell me, I can arrange that with low overhead (a couple of minutes).
Perhaps that helps for tracking down the problem.
Envirionment is a very recent Gentoo Linux with
Eclipse IDE for C/C++ Developers
Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500
Hi,
I finally managed to reproduce the issue, and added a fix on the source code.
You can try the fix using the git repository version for now. I'll update the marketplace version later, after a check on opened issues.
Closed as fixed version is available online.
Install must be done through the update site, not the marketplace (unknown compatibility error)