Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Open Google DriveNew to Visual Studio Code? Get it now.
Open Google Drive

Open Google Drive

Marc Leonetti

|
1 install
| (0) | Free
Automatically opens Google Workspace files (.gsheet, .gdoc, .gslides, .gdraw, .gform) in your browser
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Open Google Drive

Automatically opens Google Workspace files in your browser when you click on them in VS Code / Cursor.

Supported file types

Extension Opens in
.gsheet Google Sheets
.gdoc Google Docs
.gslides Google Slides
.gdraw Google Drawings
.gform Google Forms

How it works

Google Drive for Desktop syncs Google Workspace files as small JSON stubs containing a doc_id. This extension reads that ID, builds the correct Google URL, and opens it in your default browser.

The editor tab is automatically closed after opening since the JSON stub isn't useful to view.

Cross-platform

Works on macOS, Windows, and Linux.

Requirements

  • Google Drive for Desktop syncing your files locally
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft