Rocket charge your Google Apps Script (.gs) development with this all-in-one extension.
We provide full syntax highlighting, smart completion (IntelliSense), code navigation (Go to Definition, Find All References), and a comprehensive snippet library to make writing GAS scripts faster and easier than ever.
- proper highlighting for
.gsfiles (treated as JavaScript). - Custom Tokenization: Instantly recognizes global Google Apps Script classes like
SpreadsheetApp,DriveApp,GmailApp, andLogger.
- Forget looking up documentation for every method!
- Includes a command to automatically configure type definitions for your project.
- Type
SpreadsheetApp.and seegetActiveSpreadsheet(),openById(), and more with full documentation tooltips.
Dozens of built-in snippets for common triggers and services:
- Triggers:
onOpen,onEdit,doGet,doPost - Services:
DriveApp,MailApp,UrlFetchApp,PropertiesService - UI:
ui:alert,ui:prompt - Utilities: Date formatting, JDBC connections, and more.
Navigate your GAS projects like a pro — works across all .gs files in your workspace.
| Feature | Shortcut (Mac / Windows) | Description |
|---|---|---|
| Go to Definition | Cmd+Click / Ctrl+Click or F12 |
Jump to where a function, class, or variable is defined |
| Find All References | Shift+F12 |
See every usage of a symbol across your project |
| Document Symbols | Cmd+Shift+O / Ctrl+Shift+O |
Browse all functions & variables in the current file (Outline & Breadcrumbs) |
| Workspace Symbols | Cmd+T / Ctrl+T |
Search for any symbol across the entire workspace |
- Include
.gsfiles in your project. - Run the Setup Command:
- Open Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) - Run:
Google Apps Script: Enable IntelliSense
- Open Command Palette (
- Start coding with full autocomplete support!
| Trigger | Snippet Prefix | Description |
|---|---|---|
| Open Trigger | onOpen |
Creates the onOpen(e) function |
| Spreadsheet | ss:active |
SpreadsheetApp.getActiveSheet() |
| Drive | drive:create |
Creates a new file in Drive |
| HTTP Request | http:get |
UrlFetchApp.fetch(url) |
| Logging | log |
Logger.log() |
- VS Code ^1.90.0
This extension leverages the @types/google-apps-script package for IntelliSense. The setup command creates a jsconfig.json in your workspace root to enable this configuration automatically.
Enjoying the extension? Please leave a review! ⭐️⭐️⭐️⭐️⭐️