Microsoft/vscode

Request json/sort failed with message: Range#create

Open

#208,763 opened on Mar 26, 2024

View on GitHub
 (11 comments) (0 reactions) (1 assignee)TypeScript (10,221 forks)batch import
bughelp wantedjson-sorting

Repository metrics

Stars
 (74,848 stars)
PR merge metrics
 (Avg merge 11h 43m) (1,000 merged PRs in 30d)

Description

  • have a JSON file as below
  • have code on save and JSON sort
  • have a JSON file and notice errors on save
"editor.codeActionsOnSave": {
    "source.sort.json": "explicit",
}
notificationsAlerts.js:32 Request json/sort failed with message: Range#create called with invalid arguments[[object Object], [object Object], undefined, undefined]

Contributor guide