Guide

Comment utiliser Google Apps Script Copilot.

Regardez-le fonctionner, installez-le en trois etapes, puis apprenez les quatre gestes du quotidien.

Google Apps Script Copilot open beside the editor on script.google.com

Une seule installation, en trois etapes.

  1. 1Add it to ChromeOne click from the Chrome Web Store. No CLI, no config files.
  2. 2Se connecter avec GoogleUse the account that owns your Apps Script projects.
  3. 3Open any scriptThe panel docks itself into the editor. Press Alt+L if you closed it.

Les quatre gestes du quotidien.

Ask in the panelAlt+L

It already has your open file and your sheet, so describe the outcome rather than the implementation. Every conversation is kept, per project, in the history panel.

Tab to acceptTab

Ghost text appears as you type. Tab takes it, Esc drops it.

Pull in files with @@

Type @ to attach another file. Type / to run a skill.

Read the diff, then acceptAccept

Changes arrive as a diff in the editor, never straight into the file. Nothing is written until you accept. Revert on a turn also undoes every turn after it.

Question vague, reponse vague.

The gap between a useless answer and a working one is usually three extra words.

Vague

fix my script

Precis

sendDailySummary throws "Cannot read range" when Sheet1 has blank rows. Guard it and keep the mail format.

A retenir.

Alt+L
Open the panel
Alt+Q
Send the selected code to chat
Tab
Accept the inline suggestion
Esc
Dismiss the suggestion
@
Attach a file to the message
/
Run a skill

Sur Mac, utilisez Option au lieu d'Alt.

Lisez avant d'executer.

  • Test on a copy of the sheet, not the live one.
  • Keep API keys in PropertiesService, never in a prompt.
  • Validate anything arriving from a form or a URL parameter.
  • Keep each change small enough to review in one screen.