Skip to content

Using file nesting causes bad alignment in explorer panelΒ #450

@andrewburgess

Description

@andrewburgess

The icon alignment in the Explorer panel doesn't look right when using the explorer.fileNesting feature

With Monokai Icons:

Image

With VSCode Icons

Image

With Material Icon Theme:

Image

Reproduce

Add something like

"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
    "*.ts": "${capture}.ts, ${capture}.test.ts",
    "*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts",
    "*.jsx": "${capture}.js",
    "*.tsx": "${capture}.ts, ${capture}.test.tsx",
    "tsconfig.json": "tsconfig.*.json",
    "package.json": "package-lock.json, yarn.lock"
},

to VS Code settings.json, which will tell it to nest certain similar files together other a parent file (easiest is to use the package.json and package-lock.json files

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