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.
✨ Features
🎨 Beautiful Syntax Highlighting
proper highlighting for .gs files (treated as JavaScript).
Custom Tokenization: Instantly recognizes global Google Apps Script classes like SpreadsheetApp, DriveApp, GmailApp, and Logger.
🧠 Intelligent Autocomplete (IntelliSense)
Forget looking up documentation for every method!
Includes a command to automatically configure type definitions for your project.
Type SpreadsheetApp. and see getActiveSpreadsheet(), openById(), and more with full documentation tooltips.
⚡ Power Snippets
Dozens of built-in snippets for common triggers and services:
Utilities: Date formatting, JDBC connections, and more.
🧭 Code Navigation
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
🚀 Getting Started
Include .gs files in your project.
Run the Setup Command:
Open Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
Run: Google Apps Script: Enable IntelliSense
Start coding with full autocomplete support!
📦 Snippet Cheat Sheet
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()
🔧 Requirements
VS Code ^1.90.0
📝 Notes
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! ⭐️⭐️⭐️⭐️⭐️