noespam wrote:
Snippets are coming along nicely :)When I use powershell code for a snippet, the output window waits for a carriage return before inserting the output into text. Try this.
`#cmd powershell dir -name`
The syntax seems limiting. Difficult to put anything but trivial code in a one-liner short of invoking a script file. May I suggest something like the shebang in unix scripts?
#!cmd
code here
and here
…
and here#!ps
code here
and here
…
and here
The documentation was incomplete. It is possible by following format:
`- filename
stdin
stdin
…
`
For instance, if you want to show the current directory:
`- cmd
DIR ${Dir}
`
If you don’t want to parse parameters like ${}, you can use
‘!- filename
stdin
stdin
…
`
Please let me know what you think!