dubreuia/intellij-plugin-save-actions

Plugin is not working for bash scripts

rooby opened this issue · 2 comments

rooby commented

Describe the bug
When I save a bash script it isn't formatting the code. I also tried the shortcut for "Execute Save Actions on shortcut" and that didn't work either.
It works for other types of code.
Formatting of bash scripts works if I use Ctrl+Alt+L

The script is a .sh file with #!/bin/bash and my file associations for shell scripts are correct.

What triggered the plugin
CTRL+SHIFT+S and CTRL+S - neither work

Versions

WebStorm 2021.3.1
Build #WS-213.6461.79, built on December 29, 2021
Runtime version: 11.0.13+7-b1751.21 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 16
Non-Bundled Plugins:
    org.intellij.plugins.hcl (0.7.14)
    com.dubreuia (2.3.0)
    com.intellij.database (213.6461.79)
    aws.toolkit (1.36-213)

Agree and can confirm this but do not know how to fix it.

As @fishermans said, unfortunately this plugin has been abandoned and therefore is incompatible with new versions of the Jetbrains IDEs.

In alternative you can use this fork:

https://plugins.jetbrains.com/plugin/21538-save-actions-tool
https://github.com/wanghuan9/intellij-plugin-save-action-tool
But for more information check the thread: #427