eclipse-wildwebdeveloper / wildwebdeveloper

Simple and productive Web Development Tools in the Eclipse IDE
https://projects.eclipse.org/projects/tools.wildwebdeveloper
Eclipse Public License 2.0
190 stars 71 forks source link

Alphabetical sort in Outline incompatible with large array of JSON objects #1616

Open nitind opened 4 months ago

nitind commented 4 months ago

With alphabetical sorting enabled, long arrays of JSON objects will sort the index numbers alphabetically as well as the object properties, so while the properties look as intended, the array contents show up as 0, 1, 10, 11..19, 2, 20, 21, etc.

org.eclipse.wildwebdeveloper, Version: 1.2.2.202405280856 org.eclipse.tm4e.ui, Version: 0.12.0.202405210827

[
    {"node":  "0"},
    {"node":  "1"},
    {"node":  "2"},
    {"node":  "3"},
    {"node":  "4"},
    {"node":  "5"},
    {"node":  "6"},
    {"node":  "7"},
    {"node":  "8"},
    {"node":  "9"},
    {"node": "10"},
    {"node": "11"},
    {"node": "12"},
    {"node": "13"},
    {"node": "14"},
    {"node": "15"},
    {"node": "16"},
    {"node": "17"},
    {"node": "18"},
    {"node": "19"},
    {"node": "20"},
    {"node": "21"},
    {"node": "22"}
]
mickaelistria commented 4 months ago

This is most likely an issue upstream in LSP4E