Skip to content

Resolve all glob patterns for files.associations relative to workspace root #185191

Closed
@gremo

Description

@gremo

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.79.1
  • OS Version: Windows 11

Steps to Reproduce:

  1. Create the following configuration:
"files.associations": {
    "config/docker/*.cnf": "ini"
}
  1. Create a file config/docker/mariadb.cnf
  2. Files mariadb.cnf is not recognized as INI file

On the contrary, **/config/docker/*.cnf works as expected, but it would associate also foo/config/docker/test.cnf, which I don't wanto to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionalitykeepIssues we should not close as out of scopelanguages-basicBasic language support issues

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions