Hi there,
is there a way to reformat/reindent code of a plain text file, unsaved or saved?
I am working with a proprietary script language not supported or listed here. I deciced to move from notepad++ using TextFX-Plugin which allowed me to reformat code indepentendly from the coding language (not definied).
I tried several packages but all require to define a language which I don’t want/need because sometimes I just have some code which I want to manipulate, reformat and forget.
best regards
example code
if((push_service == "alle") || (push_service == "Pushover")){ ! Informationsmeldungen "HomeMatic" if((prio == -2) || (prio == -1) || (prio == 0)){ ! User1 dom.GetObject("CUxD.CUX2801001:1.CMD_EXEC").State("extra/curl -s -k -d token='"#HMinfo1_pushover#"' -d user='"#key1_pushover#"' -d message='"#message#"' -d priority='"#prio#"' -d sound='"#sound#"' -d html=1 https://api.pushover.net/1/messages.json"); ! User2 nur, wenn prio >= prio_min_pushover if(key2_pushover != " "){ if(prio >= prio_min_pushover){ dom.GetObject("CUxD.CUX2801001:1.CMD_EXEC").State("extra/curl -s -k -d token='"#HMinfo2_pushover#"' -d user='"#key2_pushover#"' -d message='"#message#"' -d priority='"#prio#"' -d sound='"#sound#"' -d html=1 https://api.pushover.net/1/messages.json"); } } } }