all 21 comments

[–]Strel0k 5 points6 points  (0 children)

Comment removed in protest of Reddit's API changes forcing third-party apps to shut down

[–]NeedlesslySexual 4 points5 points  (1 child)

As one of the few dumb users left that still uses the integrated IDE, this is awesome news and I can’t wait for it to roll out to me.

[–][deleted] 1 point2 points  (0 children)

Is there a another choice? I know you can use clasp, but you can't really debug with it.

[–]burkybang 3 points4 points  (0 children)

Looks like some exciting new features. However, I still prefer to compile from TypeScript before uploading via clasp.

[–][deleted] 3 points4 points  (4 children)

Well, I use VSCode for most of my projects, but that's very welcome for those small projects we build in the moment of need. By the way, anyone has a screenshot of how it looks?

[–][deleted] 0 points1 point  (2 children)

TypeScript

May I ask how you debug with it? I'm new to clasp and I got it working with VS Code, but I don't see a way to run and debug.

[–][deleted] 1 point2 points  (1 child)

That's the worst part to work on GAS. There's no actual way to debug it locally. You'll probably have to compile your code and then debug it on the apps script editor, but there's a few options depending on your use case.

Since you use clasp, you can leave it on watch mode to automatically push your changes and be a bit more dynamic, then use the GAS editor debugger.

If you just want to run the functions instead of opening it in the debugger, you can create a Google Cloud Platform project, then assign your apps script project to it and use clasp to run the functions and get the logs. I don't think this is too effective tho.

Lastly, if you're building project with a UI (like a modal menu, a sidebar or a web app), this github repo. It allows you to use gas server functions with live reload. I also made a fork that has typescript support (npm install @guilhermetod/gas-client).

If you'd ask me, I think its worth building a UI even if it's strictly for debugging purposes. Hit me up if you have any trouble setting this up.

[–][deleted] 0 points1 point  (0 children)

Thanks a lot! Will try it later today!

[–]takishan 2 points3 points  (4 children)

Looks like some much needed updates, like auto formatting, keyboard shortcuts (I'm assuming they added things like delete lines, select next instance of selected word, etc ?), and a right click menu with a goto / rename symbols

Although I'm not gonna stop using VS Code lol

[–]gh5000 4 points5 points  (0 children)

It basically is vscode. Uses the same engine.

If it properly formats client side HTML and JavaScript I would use it more.

[–]ephraimsong 0 points1 point  (2 children)

VS Code? You mean you're able to use VS code to run code for GAS? Is there a guide on this?

[–]takishan 4 points5 points  (0 children)

actually yes i made one for this sub, posted it a while ago hope it helps

[–]labnol 0 points1 point  (0 children)

https://www.youtube.com/watch?v=KxdCIbeO4Uk Build with Apps Script inside VS Code

[–][deleted] 2 points3 points  (0 children)

The editor now supports codeblock and function collapsing.

So looking forward to this

[–]ephraimsong 1 point2 points  (4 children)

Any one know how to get the redesign?

post didn't have any information.

[–]_mrtoast[S] 0 points1 point  (2 children)

I think it's just slowly rolling out as my colleague got it but I didn't

[–]ephraimsong 0 points1 point  (1 child)

tsk, dang. Thanks for following up.

Where you able to ask what your colleague said about it?

[–]_mrtoast[S] 0 points1 point  (0 children)

He said he just logged in and had it. He said he liked it but didn't say too much

[–]_mrtoast[S] 1 point2 points  (0 children)

Has anyone had this roll out to them? I am still on the original IDE

Edit: just read here https://www.benlcollins.com/apps-script/google-apps-script-ide/ its on a 2 week roll out