vscode-just icon indicating copy to clipboard operation
vscode-just copied to clipboard

Syntax highlight based on inline script type

Open rossmacarthur opened this issue 5 years ago • 4 comments

Just allows you to have inline scripts for recipes:

recipe:
    #!/usr/bin/env python
    import sys
    print("Hello from stderr", file=sys.stderr)

It would be nice if vscode-just could correctly syntax highlight these scripts, using the shebang to determine what syntax highlighting it should use.

This happens in the Markdown syntax highlighting in VS Code when you make an inline code block.

VS Code Markdown Example

rossmacarthur avatar Jun 23 '19 07:06 rossmacarthur