Skip to content

There is no formatter for "shellscript" files installed #396

@userdocs

Description

@userdocs
Image

I have tested this on a new vscode (latest versions windows x64) and it's the same.

I cannot set a default formatter for shellscript or any default langauge using latest release.

If I roll back to previous version it works fine.

shfmt is latest version.

simple workaround

A practical workaround was added by @ehoogeveen-medweb here

Read comments after to see various methods of installation on your platform.

tl:dr

Download https://unpkg.com/@one-ini/[email protected]/one_ini_bg.wasm and put it in

VSCode/data/extensions/foxundermoon.shell-format-7.2.8/dist/one_ini_bg.wasm
Algorithm : SHA1
Hash      : AC8750AC936A12F90DEAC5CBC5DDE7F977797AC7
Path      : one_ini_bg.wasm

Algorithm : SHA256
Hash      : C5AF9AFBC40CE6702E28E4BFE46A72EBF1EFC30F2E3BDF8F9B9E14CE9420A270
Path      : one_ini_bg.wasm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions