DEV Community

Cover image for Workspace Developer Tools VSCode Extension

Workspace Developer Tools VSCode Extension

For developers building on the Google Workspace platform, the Google Workspace Developer Tools extension for VS Code offers a significant productivity boost by integrating essential tools directly into your editor.

Its first feature is the intelligent OAuth2 scope linting, which provides real-time warnings and valuable information for the Google Workspace OAuth2 scopes you use within your code. As you write, the extension actively validates these, highlighting restricted and sensitive scopes.

VSCode diagnostics for Google OAuth2 scopes

Top comments (6)

Collapse
 
dotallio profile image
Dotallio

OAuth scope headaches are way too real, so this is super handy. Does it also suggest alternatives for restricted scopes?

Collapse
 
jpoehnelt profile image
Justin Poehnelt Google Workspace Developers

It does now through a basic heuristic, might not work for all scopes and APIs.

diagnostic with alternative scopes

Collapse
 
jpoehnelt profile image
Justin Poehnelt Google Workspace Developers

Not at this time, created github.com/googleworkspace/vscode-....

Collapse
 
nathan_tarbert profile image
Nathan Tarbert

this is extremely impressive i always hated second guessing my scopes in the middle of a project you think this will cut down on the usual permission headaches

Collapse
 
nevodavid profile image
Nevo David

pretty cool seeing stuff like this baked right in, feels like a big time saver - i always wonder tho, small helpful tweaks or big overhauls, which actually leads to better work long run?

Collapse
 
jpoehnelt profile image
Justin Poehnelt Google Workspace Developers

Please also suggest other functionality! I am currently working on adding a preview for Google Workspace Cards within the VSCode extension.

github.com/googleworkspace/vscode-...