Coding with Google Apps Script

Are there any hacks to make Cursor code in Google Apps Script?

i’ve actually done this myself a couple of times. since google apps script is a superset of javascript it works pretty well. the part that took most time was to actually run it in the app script editor

Apologies if this is a daft / obvious question - but I’m very new to all of this. did you get Cursor to specifically follow Google’s guidance documentation?

My dilemma is that I’m coding for Google slides, which has a more limited instruction set than the Apps script for things like sheets. There are some features you would logically expect to be present but which Google has only implemented for some of its appplications, and not others.
Also, if Cursor uses the latest ECMAscript 6 javascript rather than the ECMAscript 3 GAS is based on, then the code will work but run into inexplicable bugs I won’t be able to figure out.

i’d recommend to get the url of the google slides api documentation and adding that as docs in cursor. then using it in context with @docs. try that!

Thanks I’ll try that. I have not actually used Cursor yet, but I’ve seen a Youtube video where I that was done. I’ll try to use that as a guide, unless you know of something more pertinent. https://youtu.be/oe3Jn6FRoII?si=86djnvUuc4sX-jvJ&t=261

try and let us know how it goes! when you have something to share you should post in Showcase !

Hi, @ericzakariasson

can you explain how to make the app script editor working.

I would like to edit files within cursor and with the extension Google App script it should be possible to upload my code.

Can you help?

in my experience, i had to copy/paste the code back and forth all the time : /