Guida

Come usare Google Apps Script Copilot.

Guardalo all'opera, configuralo in tre passaggi e impara le quattro mosse di ogni giorno.

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

Si configura una volta, in tre passaggi.

  1. 1Add it to ChromeOne click from the Chrome Web Store. No CLI, no config files.
  2. 2Accedi con 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.

Le quattro mosse di ogni giorno.

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.

Domanda vaga, risposta vaga.

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

Vago

fix my script

Preciso

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

Da memorizzare.

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

Su Mac usa Option al posto di Alt.

Leggilo prima di eseguirlo.

  • 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.