3

TL;DR I want IntelliJ to be able to import, edit, and export google apps scripts to and from my google drive seamlessly.

I have Google Drive for Mac installed, but opening gscripts there just shows me some of the file metadata like this:

enter image description here

I detailed some more information on my motivation for this here.

I want to edit the scripts in my IDE because it has version control integration, awesome refactoring methods, and I'm more familiar with it than google's app script environment.

Is there an existing IDEA plugin for this? If not, are there any workarounds? I don't want to use Eclipse.

1

You can easily use the Google Apps Script plugin for IntelliJ IDEA by Michael Snowden.

You may miss the code hinting of the Apps Script editor but all the other perks you mentioned might make that worth it to you.

  • The plugin mentioned appears to have been removed entirely. Source code is not available on GitHub and though there are cached pages and search results for it, for all intents and purposes this thing is gone. – stvhwrd Feb 23 '16 at 15:32
  • Seems the plugin just moved for me: github.com/kehh/intellij-gas-plugin – Chtig Mar 9 '17 at 22:07
  • @Chtig that appears to be a mirror that someone (not the author) has put up, but yeah it should work all the same. – stvhwrd Mar 10 '17 at 20:27
2

There's also a git like tool called clasp by Gratt for local development You might find it at home if you use git

https://github.com/google/clasp

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.