# Comments, voices and plugins

> Review the script, assign voices to lines and lock their numbers, and manage plugins and data

"Comments" and "Voices" open from "More screens" in the top bar.

## Comments

Add comments to lines of the script, and reply to or resolve them. Use this when several people review a script together.

![The Comments screen. Comments listed by file and line, with "Open," "Resolved," "All" and "Name" at the top.](/shots/en/s-comments.webp)

- Click the speech-bubble button above the script or press ⌘⌥M, and a comment field for the cursor line appears in the right panel. Press ⌘Enter to save. In the block view, you can also write one with "Add comment" in the right-click menu of a line.
- If two or more lines are selected in the code view, the comment applies to that range.
- You can rewrite your own comments with "Edit." An edited comment shows "(edited)" next to its time.
- On the Comments screen, filter by "Open," "Resolved" or "All." Click a comment to go to its line. "Name" at the top right sets the name attached to your comments.
- Comments are saved in the project's `reviews/` folder. You can share them through Git, and they aren't included in the exported game.

## Voices

Assign a voice file to each line of dialogue. Filter lines by speaker and file, and show "All," "Not set," "File missing" or "Set."

- "Listen" on a row plays the voice. Click the row to go to that line in the script.
- Click "Choose" and pick from the voice assets. While filtered to "Not set," assigning one opens the choice for the next unset line.
- Drop a file on a row to add it to the assets and assign it. Drop several files at once to assign each to a line based on the file names in the recording script.
- Assigning writes an `@voice` line before the dialogue. Press ⌘Z on the Voices screen to undo.

When a speaker uses numbered voices with `@voice-auto`, "Lock numbers" appears. Click it to lock each line's number in `voice-lock.json`, so the numbers still match the recorded files after you add more dialogue later. It does the same as the `lim voice-lock` command.

## Plugins

The panel on the left lists "All plugins" and the screens that plugins add.

![The Plugins screen. "All plugins" and "Data" on the left; official plugins, Create new and Add an existing plugin on the right.](/shots/en/s-plugins.webp)

| Item | What it does |
|---|---|
| All plugins | The name, version, features (custom commands, rendering, Studio) and added commands of each plugin you have. You can reorder or remove them |
| Create new | Choose a name and the features to include (commands, rendering, Studio) to create a plugin with a small working sample |
| Add an existing plugin | Type a plugin folder or package name to add it. You can also pick one with "Choose folder…" |
| Official plugins | "Install" copies a plugin that comes with the app into the project and adds it |

After changing the order of plugins, restart Studio for it to take effect.

### Data

"Data" in the left panel lists forms for editing project data (the .json files in `data/`), such as "Investigation" and "Codex." Both the built-in ones and those from plugins that declare a data shape appear here. Assets can be picked from a list. Reorder list items with "Up" and "Down," and add or remove them with "Add" and "Remove." For data that holds rectangular areas on the screen, drag on the background to add a rectangle, and drag a rectangle to move it. Your edits are saved automatically after a short pause.

Plugins can add custom commands, effects, replacement system screens and Studio screens. How to make them is described in [Writing plugins](/en/docs/plugins/).
