)]}'
{
  "commit": "0b170c759eae6c736f5ce390286eed0df31eb334",
  "tree": "e6026bad0a54c20dea5c3d1e63abcd21e00fa24a",
  "parents": [
    "c0b938c2286d99be3ff65f62bb3e627dd0fb2361"
  ],
  "author": {
    "name": "Danny Tuppeny",
    "email": "danny@tuppeny.com",
    "time": "Wed Apr 17 17:24:29 2024 +0000"
  },
  "committer": {
    "name": "Commit Queue",
    "email": "dart-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed Apr 17 17:24:29 2024 +0000"
  },
  "message": "[analysis_server] Don\u0027t expand variable declarations to their lists if multiple variables in LSP definitions\n\nVS Code uses the definition range to show a preview of the hovered item (when holding `ctrl`). We usually expand a variable declaration to the parent list so that this preview includes \"var\", \"final\" and/or any type.\n\nHowever, if the list contains multiple variables, this resulted in us showing other variables in the preview too which is confusing/misleading.\n\nThis change keeps the original behaviour for VariableDeclarationLists with only a single variable, and otherwise keeps the specific variables range.\n\nFixes https://github.com/Dart-Code/Dart-Code/issues/4968\n\nChange-Id: I9e3cfd672f51040b60f9791ba89a937d5733c628\nReviewed-on: https://dart-review.googlesource.com/c/sdk/+/363280\nReviewed-by: Brian Wilkerson \u003cbrianwilkerson@google.com\u003e\nReviewed-by: Phil Quitslund \u003cpquitslund@google.com\u003e\nCommit-Queue: Brian Wilkerson \u003cbrianwilkerson@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "71d0765cda20c959d815a1d4b2e261d42c903dfc",
      "old_mode": 33188,
      "old_path": "pkg/analysis_server/lib/src/lsp/handlers/handler_definition.dart",
      "new_id": "6e58a172069e554794fc269a7add4e35fb998288",
      "new_mode": 33188,
      "new_path": "pkg/analysis_server/lib/src/lsp/handlers/handler_definition.dart"
    },
    {
      "type": "modify",
      "old_id": "3d02f32fd6097561f35366f65da09fb87b1766b0",
      "old_mode": 33188,
      "old_path": "pkg/analysis_server/test/lsp/definition_test.dart",
      "new_id": "09435ef31eecb9748948527dfa95eadf43ab82bc",
      "new_mode": 33188,
      "new_path": "pkg/analysis_server/test/lsp/definition_test.dart"
    }
  ]
}
