Skip to content

Google Apps Script code completion

Autocomplete and IntelliSense for Google Apps Script

For people who write Apps Script at script.google.com: myFunction adds typed autocomplete, hover documentation, signature help, and diagnostics to the editor, so you get type checking without moving the project to a local IDE.

Inside the editor

What you see in the editor.

myFunction reads the code in the open editor files and checks it as you type. It does not run your script or save your editor text. Use it to find a member, understand a call, and correct a problem before you run the script.

Completions

Members, parameters, and enum values for every Apps Script service, ranked by what fits at the cursor.

Hover documentation

The signature, parameter types, return type, and service documentation for the symbol under the cursor.

Signature help

Overloads and the current argument position while you type a call.

Diagnostics

Type errors, calls that do not match the service, malformed literal values, and service calls inside loops, marked as you type.

Go to definition

Jump from a call to its definition in any file of the open project.

Quick fixes

Rule-based quick fixes for supported diagnostics, each with a preview. You choose whether to apply it.

Native editor and extension

Native editor and myFunction, side by side.

myFunction adds types generated from the Apps Script runtime for the built-in services, plus types for the advanced services you enable.

NeedNative editorWith myFunction
Service completionA list of member names.Typed members with parameters and documentation, ranked by what fits at the cursor.
Type checkingSyntax errors.Type checking against the Apps Script services your code calls.
Hover and signaturesShort member summaries and limited parameter hints.Full signatures, typed parameter positions, return types, and a link to the service documentation.
NavigationLimited to the current file.Go to definition across every file in the open project.
Advanced servicesNo types for advanced services.Types for each advanced service you enable in the project.

What changes your code

Quick fixes apply only when you choose them.

Completions, diagnostics, hover documentation, signature help, navigation, and rule-based quick fixes are free without an account. Diagnostics run continuously as you edit. A quick fix changes your open script only when you apply it. You save and run the script in Apps Script.

Sign in with Google for 5 AI quick fixes, JSDoc generations, or explanations a month at no cost. myFunction Pro at $5.99/month removes that limit. An AI quick fix works on the enclosing code snippet and shows a diff for you to review before the change is applied.

Read the security details

Start in the editor you use

Add myFunction to Chrome and open a project.

Autocomplete and diagnostics are free without an account. See the plan details before you install.