foxundermoon / vs-shell-format

the shellscript、Dockerfile、properties ...... format extension
MIT License
449 stars 50 forks source link

Windows Batch #309

Open qwksilver opened 1 year ago

qwksilver commented 1 year ago

if this is supposed to support .bat it doesn't recognize mine nad .bats is incorrect file extension. if not sorry to bother, and it would be lovely if you had support for .bat i can't find to seem a good one.

alanlivio commented 1 year ago

@qwksilver, what you can do is set vscode to se .bat as shell scripts (see bellow). But shfmt probably will not work well.

  "files.associations": {
    "*.bat": "shellscript",
    "*.bats": "shellscript"
}