Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Google Apps Script Power PackNew to Visual Studio Code? Get it now.
Google Apps Script Power Pack

Google Apps Script Power Pack

rluncasu

|
100 installs
| (0) | Free
Syntax highlighting and support for Google Apps Script (.gs) files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Google Apps Script for VS Code

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:

  • Triggers: onOpen, onEdit, doGet, doPost
  • Services: DriveApp, MailApp, UrlFetchApp, PropertiesService
  • UI: ui:alert, ui:prompt
  • 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

  1. Include .gs files in your project.
  2. Run the Setup Command:
    • Open Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
    • Run: Google Apps Script: Enable IntelliSense
  3. 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! ⭐️⭐️⭐️⭐️⭐️

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft