Skip to content

bashIde.globPattern has no effect #1360

@pcastellazzi

Description

@pcastellazzi

Code editor

VSCode

Platform

Windows

Version

1.43.0

What steps will reproduce the bug?

You need shellcheck and shfmt working.

  1. Open a new file with the following content:
function fish_example
   set_color green
   prompt_pwd
end
  1. Save the file as example.fish

How often does it reproduce? Is there a required condition?

Always.

What is the expected behavior?

The formatting should be preserved as written and shellcheck warnings should not be active for this type of file.

What do you see instead?

Image

Additional information

I intentionally set bashIde.globPattern to banana to check if the setting was working correctly, and it does not. Bash IDE process all shellscript files in the workspace no matter the value of this setting. The only thing it seems to affect is the log. Files not matching the pattern are not reported when the Code or the extension starts, but they are processed anyways.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions