![chrome webstore google apps script short name chrome webstore google apps script short name](https://i.ytimg.com/vi/kMDehxqgtMQ/maxresdefault.jpg)
The new Google Apps Script IDE lets you rearrange the order of the files in the file list.Ĭlick on the three dots and select “Move Up” or “Move Down” to move files.Īny libraries used in your project are listed here, under the files. html file types), and any libraries or services you’re using. To the right of the main menu, before the actual code editor, is another navigation panel with a list of your script files (.gs and. It’s a big improvement to see your execution logs from inside of the project.Īccess all your project settings, including Script IDs & Keys and Google Cloud project details. Takes you to a window of all your script executions. In the old editor triggers were buried at the bottom of a menu, or accessed through the global Apps Script dashboard. This is a big improvement to have the project triggers easily accessed from the top-level menu. This takes you to the code Editor window, where you write your Apps Script code.Īll your project triggers are easily accessed in this window, without having to leave the project. The Overview window shows high-level project details, including deployments, execution and error statistics, OAuth scopes and how many users the project has. It means you can not only create script projects within this new IDE, but you can also manage them. It gives you access to the 5 top-level project controls: The main menu is hidden out of site on the left of the file navigation pane. You can toggle the auto-complete with Ctrl + Space (or Ctrl + Alt + Space on Chromebook). Woohoo! This makes life easier.Īlso, the IDE automatically adds the second parenthesis or second quote mark, which helps you avoid omission errors. That variable with the complex name you defined a 100 lines further up your code, well, it now shows in the auto-complete. It not only surfaces information about the built-in functions and methods, but it will suggest auto-complete for items you’ve added. The auto-complete is much more substantial in this new editor. Right click and select Format Document to automatically format your code and ensure it’s correctly indented. It’s especially useful if you’ve copied code from somewhere else where the indenting is a mess.
![chrome webstore google apps script short name chrome webstore google apps script short name](https://digitizor.com/wp-content/uploads/2010/08/Selection_225.png)
The new Format Document feature will do that for you.
![chrome webstore google apps script short name chrome webstore google apps script short name](https://3.bp.blogspot.com/-H90IGSfev5c/TqZv5gbkkXI/AAAAAAAAC4I/Hb4eRM8yNCA/s1600/chrome%2Bwebstore.jpg)
Keeping your code properly indented makes it much easier to read and understand. You can also toggle the hide or show code options using the command palette (see #65 Fold and #132 Unfold).įinished editing that function? Hide it and make your life easier! You’ll see triangle shaped toggle switches between the line numbers and the code to hide (or show) your code blocks. In the new editor you can hide code blocks to make it easier to manage your code. a variable, when you click on one of them: This really helps you stay sane when you have complex, nested blocks.Īnother example are the highlights applied to all occurrences of an element, e.g. There’s an abundance of visual cues to help you “see” your code better.įor example, the IDE adds tab lines that show you the indentation depth of your code blocks: The new editor is a much richer experience. They’re given more prominence so it’s easier to access them.įor example, libraries or services are listed alongside the files, which is a huge improvement over the old editor when they were buried deep in the menus. Key features are much more accessible in the new editor. The new Google Apps Script IDE is more intuitive than its predecessor. Project details, triggers and executions are now available within the project, saving you the time and hassle of going to the global Apps Script dashboard. Projects can be created, maintained and deployed from one window.
![chrome webstore google apps script short name chrome webstore google apps script short name](https://cdn.arstechnica.net/wp-content/uploads/2017/12/Screenshot-2017-12-06-at-11.44.44-AM.png)
Everything is right there at your fingertips. Key features like Triggers, Logs, Libraries and Services are not buried deep in the menus. It’s much more intuitive and enjoyable to work with. It features a modernized UI, taking inspiration from Google’s material design concepts. The new interface is much cleaner and sleeker than the old one. Learn more about Google Apps Script in this free, beginner Introduction To Google Apps Script course Move Last Selection To Previous Find Match.Shortcuts are listed in parentheses alongside each feature, with the PC/Chromebook shortcut listed first, followed by the Mac shortcut. It’s a huge leap forward over the old one.Ī lot of these features are new to me, so it was super interesting to put this guide together and discover all sorts of hidden tricks! The new editor is built on top of the VS Code Monaco editor.