Skip to content

Order of root folders is inconsistent when there are more than 10 root folders in a multi root workspace #34047

@forivall

Description

@forivall
  • VSCode Version: Code - Insiders 1.17.0-insider (aed2c7c, 2017-09-08T10:13:13.694Z)
  • OS Version: Darwin x64 16.7.0
  • Extensions: Extensions are disabled

Steps to Reproduce:

  1. Create a test.code-workspace workspace file with the following
{
  "folders": [
{
  "folders": [
    {"path": "0"},
    {"path": "1"},
    {"path": "2"},
    {"path": "3"},
    {"path": "4"},
    {"path": "5"},
    {"path": "6"},
    {"path": "7"},
    {"path": "8"},
    {"path": "9"},
    {"path": "10"}
  ],
	"settings": {}
}
  1. The order of root folders in the multi root workspace is not as expected:
    screen shot 2017-09-08 at 1 29 21 pm

With more root folders, the order is completely unpredictable, but always consistent.

Reproduces without extensions: Yes

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugfile-explorerExplorer widget issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions