google-apps-scriptvisual-studio-codegoogle-admin-sdkclasp

Autocomplete Apps Script, Google Advanced Services in VS Code


I've just started working on GAS projects with clasp and VS Code. Auto-complete works well for most every built-in library that works in the web-based script editor. However the Advanced Services, like AdminDirectory seem not to be included in the @types/google-apps-script package from npm. See the screenshot.

AdminDirectory not found

Is there any other package or workaround that will allow the Advanced Services to auto-complete in VS Code?


Solution

  • It's now included in the @types/google-apps-script package:

    Global values: AdminDirectory, ...