---
title: "editor.commentPlaces: Find Comment Anchors — Sheet kit command — Kition"
description: "Finds comment anchors that editor.commentAnchor answered: for each, whether it is still in the workbook, its sheet and range now, and on the active sheet its rectangle in document pixels. Changes nothing."
canonical: "https://developer.kition.ai/docs/kits/sheet/commands/editor.commentPlaces"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/sheet/commands/editor.commentPlaces](https://developer.kition.ai/docs/kits/sheet/commands/editor.commentPlaces)

# editor.commentPlaces

**Find Comment Anchors.** Finds comment anchors that editor.commentAnchor answered: for each, whether it is still in the workbook, its sheet and range now, and on the active sheet its rectangle in document pixels. Changes nothing.

- Kit: Sheet 0.1.0 (.xlsx (and opens .xlsm, .xls, .xltx, .csv, .ods, .xlsb)); reference: [Sheet kit commands](https://developer.kition.ai/docs/kits/sheet.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `anchors` | `object[]` | no | Anchors as { ids }, at most 1000. |

## Call through sheet_run

```text
sheet_run {
  "path": "<file>.xlsx",
  "steps": [{ "command": "editor.commentPlaces" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `anchors`. sheet_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `places` | `object[]` | no |  |

```json
{
  "additionalProperties": false,
  "properties": {
    "places": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "active": {
            "type": "boolean"
          },
          "found": {
            "type": "boolean"
          },
          "range": {
            "type": "string"
          },
          "rect": {
            "items": {
              "type": "number"
            },
            "type": "array"
          },
          "sheet": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "anchors": {
      "description": "Anchors as { ids }, at most 1000.",
      "items": {
        "additionalProperties": false,
        "properties": {
          "ids": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/sheet-darwin-arm64@0.1.0 and the kit itself (sheet_commands through @kition/cli@0.1.1, built from KitionAI/kition-sheet@82f13b2).
