Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Google Apps Script support external IDEs?

I am using Google Apps Script and was wondering if I could use any sort of editor outside of the one Google provides. (I purchased Sublime Text and would like to use that.)

The one Google provides is disgusting, with tiny text even though I have a giant screen and syntax colors that I find a bit difficult to distinguish on a white background with small text, and I don't have the beauties of Sublime like tons of custom keyboard shortcuts, all of my packages, etc.

like image 347
programmedpixel Avatar asked Jul 14 '14 14:07

programmedpixel


People also ask

Is Google Apps Script an IDE?

We've redesigned the Integrated Development Environment (IDE) for Google Apps Script. The new IDE offers a more modern and simplified development experience which makes it quicker and easier to build solutions that make Google Workspace apps more useful for your organization.

Does Apps Script support ES6?

Caution: ES6 modules are not yet supported.

Is Google Apps Script just JavaScript?

Google Apps Script is a rapid application development platform that makes it fast and easy to create business applications that integrate with Google Workspace. You write code in modern JavaScript and have access to built-in libraries for favorite Google Workspace applications like Gmail, Calendar, Drive, and more.

Does Google Apps Script support TypeScript?

Now it's possible to use Typescript to develop Google Apps Script projects but this could not be done directly on the Apps Script Editor. According to Develop Apps Script using TypeScript the easier way is by using clasp.


2 Answers

As of today (May 2018), every scripts that you add on Google App Scripts (including scripts on Google Drive like spreadsheets) will get accessible through https://script.google.com and will have a specific id that you can get through the url by opening it.

By using clasp which handle a project (like git), you can do:

clasp clone {id} 

to have your script in a local folder. Then, after editing your file with your favorite text editor, upload it back with :

clasp push 
like image 178
Pierre Maoui Avatar answered Sep 24 '22 03:09

Pierre Maoui


Google has dropped support for Apps Script inside Eclipse but you can set up a local development environment inside VS Code using the Apps Script Starter kit and CLASP.

Here's a video tutorial to help you get started.

like image 27
Amit Agarwal Avatar answered Sep 23 '22 03:09

Amit Agarwal