- For better OS compatibility, use
/usr/bin/env -S
if shebang passes additional parameters to the interpreter - Update F# shebang to use the modern
dotnet fsi
command
- Complete rewrite of extension, now being a real editor extension instead of just a collection of snippets
- Shebang suggestions now only shown at beginning of 1st line and not anywhere in document
- After completing a shebang line, document language is automatically updated appropritately
- Support for zsh and Nushell shebangs
- Shebangs with
/usr/bin/...
and/usr/bin/env ...
are both supported - The extension learns from its usage, frequently used shebangs are preferred in suggestion list
Added shebang snippets for PowerShell Core.
Added shebang snippets for Groovy.
Added choice between python3
and python
in Python shebang snippets. (#4)
Using #!/usr/bin/env sh
instead of #!/usr/bin/sh
(also for bash) - thanks to Andrii Melekhovskiy)
Added support for encoding magic comments in Python, Ruby and shell scripts (thanks to Julien Grave)
Initial release with support of sh, bash, expect, Perl, Python, Ruby, PHP, Node.js, Lua, F#.