Is there an plugin which is able to do pretty print for shell/bash?
-
Hi,
I would like to know if is there an plugins which is able to do pretty print for shell/bash?I have the 64-bit x64 Version installed.
The following plugins are able to do it for these languages:
- JSON
- JSON Viewer
- JSTool
- XML
- XML Tools
Do you know further plugins?
Thank you in advance.
- JSON
-
I do not know of such a plugin directly.
However, as a workaround: using the NppExec plugin, you can call any external pretty-print program and have it filter the contents of the active Notepad++ file through that pretty-print and back into Notepad++. @Michael-Vincent shares an example script that does it for C, HTML, Perl, and Python in this post. So if you know of an external command-line utility that pretty-prints shell/bash, then you can use it in conjunction with the NppExec plugin to pretty-print inside of Notepad++.
-
I did not use them yet:
-
- Eclipse IDE
- Eclipse Marketplace
- To be able to open .bash files I need to install Shell Wax first
- Then I tried out Bash Editor
- Eclipse Marketplace
- Eclipse IDE
-
In the Eclipse IDE preferences you can optionally activate Bash Editor to execute Beautysh as save action.
To my understanding this requires Linux.Maybe it runs in Cygwin or MinGW?
-
@blueicehaller said in Is there an plugin which is able to do pretty print for shell/bash?:
In the Eclipse IDE preferences you can optionally activate Bash Editor to execute Beautysh as save action.
To my understanding this requires Linux.
Maybe it runs in Cygwin or MinGW?This is not on-topic for a question on a Notepad++ forum. Please find a more-appropriate forum in which to pursue this.
-
@blueicehaller said in Is there an plugin which is able to do pretty print for shell/bash?:
To my understanding this requires Linux.
Why? It seems to be written in Python.
Cheers.