Questions
Frequently asked questions.
- How do I check my Google Apps Script for errors before running it?
- Install the myFunction Chrome extension (published on the Chrome Web Store as Error Checker for Google Apps Script) and open your project at script.google.com. It checks your open .gs files as you type or paste code, underlining unknown methods, missing arguments, slow loops, malformed email recipients, and broken cross-file calls before you click Run.
- How do I check if ChatGPT, Claude, or Gemini Apps Script code has errors before running it on my spreadsheet?
- Paste the generated code into your project at script.google.com with Error Checker for Google Apps Script (myFunction) installed, and do not click Run yet. The extension checks the code locally in Chrome against declarations generated from the Apps Script runtime, flagging invented methods, missing arguments, and slow loops without running or saving your script.
- Why does AI-generated Apps Script throw "is not a function"?
- AI models often invent plausible method names that do not exist on Google Apps Script objects, such as sheet.hideGridlines() instead of sheet.setHiddenGridlines(true), or call a real method on the wrong class. The native editor checks syntax when you save, so those calls fail only after you click Run. myFunction checks each call against the declared Apps Script methods while you edit.
- Is there a code checker for Google Apps Script without VS Code or clasp?
- Yes. myFunction (Error Checker for Google Apps Script) adds type checking, diagnostics, autocomplete, and rule-based quick fixes directly inside the browser editor at script.google.com. You do not need to install Node.js, VS Code, or clasp.
- Does myFunction run my script, save my code, or request access to Google Drive or Gmail?
- No. Diagnostics, autocomplete, and rule-based quick fixes are free without an account and run locally in Chrome on the files open in your editor tab. myFunction never runs your script, never saves or deploys your project, and never requests Google OAuth scopes for Apps Script projects, Google Drive, Gmail, or Calendar.