Closed DoganM95 closed 4 years ago
Duplicate of #8; relevant documentation would by the way be https://code.visualstudio.com/blogs/2016/11/15/formatters-best-practices. Implementation would make this extension work like magic™.
Fixed: 80f4d2f14809e97df6573ac75435217718f14e3d
New Beta: https://github.com/MaxBec/openHAB-Alignment-Tool/releases/tag/v2.0.0-beta.1
Expected Behavior
Clicking the right click menu item "Format Document" or alternatively pressing Shift+Alt+F should format the document.
Instead there is an additional Context menu entry "Reformat File" which seems redundant, because its functionality could be transferred to "Format Document", to enable other extensions to perform additional actions (e.g. on each save, my code is automatically formatted by executing "Format Document", which in this case does not work).
Current Behavior
Clicking the "Format Document" context menu entry does nothing.
Steps to Reproduce (for Bugs)
Your Environment