1

I searched if there is a way to work on my Google App Script projects using Eclipse (Eclipse Luna) and I landed on this page. But I couldn't follow it to the end because the Eclipse dialog that should've shown my projects so I can import what project I want to start working on, was empty and had only a folder icon named My Drive. I clicked and double-clicked it, nothing happens.

enter image description here

So I searched more and found this page and when I reached the authorization section , I felt totally lost !

The authorization page instructed me to register my application using this page but now I don't know what else should I do to enable Google App Script development on Eclipse !

So how can I enabled Google App Script devlopment on Eclipse ?

1 Answer 1

4

The Google Plugin is based on the Google Apps Import/Export API. From the documentation:

The API allows access to standalone scripts (the scripts that appear in your Google Drive). Container-bound scripts cannot be accessed through the API.

So if you created an earlier project from with (for example) Google sheets, it will not show up in the import.

To test:

  • login to Google and go to google Script.
  • Choose: Create a blank project.
  • Save the project as (for example) my-project.

The project you created should now show up in the Import wizard.

See also here: developers.google.com/eclipse/docs/apps_script :

Creating a new project in Eclipse is not supported. You can only import existing projects.

Renaming the project in your workspace does not rename it in the script editor or Google Drive.

All .gs and .html files that are to be saved back to Google Drive must be in the project's root folder. Other types of files, and files in subfolders of the Eclipse project, are not considered to be part of the Apps Script project on Google Drive.

Autocomplete suggestions are not provided for libraries or advanced Google services.

Autocomplete may not always reflect the methods most recently added to Apps Script. Any code valid in the script editor will still run correctly."

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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