reworked formatting to formatter from OnSaveAction - #22
Conversation
|
Adding a dependency on the |
|
For me it does not work with the DLL cause the dll is nowhere to be found on my system or anywhere, that is the reason i started to change this. Where should that dll come from and be located? |
|
The DLL is bundled in the plugin’s JAR, so it should be usable just by installing the plugin from the IDE. However, due to changes in the build configuration in the latest version, the DLL might no longer load on Windows. I’ll check this. |
|
From what i see the dll is not part of the jar for release 1.3.1 and 1.4.0, it is only embedded in the jar in release 1.2.0. |
With the latest release i have the issue that the formatting always fails cause there is no
dioxus.dllon my machine. This PR reworks the dependency on that dll to a dependency on the dx command.Also it is now not a OnSaveAction anymore, but it uses a proper FormattingService that runs on ctrl+alt+L and (if selected) on save.