Announcing Script Lab improvements
Let’s explore what’s new.
Trigger Suggest to see your options
Trigger Suggest makes choosing your next function a breeze. Simply right-click or F2, and we’ll list all the options available.
If you’re wondering what’s next, look no further than our Preview APIs. You can try out these snippet samples before the APIs are released. Edit chart elements that were not available before. Create and update hyperlinks. Modify worksheet viewing. All of these actions have easy API calls in Preview. Keep in mind, you’ll need an Office 365 subscription with the latest updates to take advantage of previews.
Here’s the gist of it
Script Lab has always supported sharing snippets via GitHub Gists, but we’ve made several vast improvements.
First of all, when you update a snippet that you’ve previously shared, you will now have the option to update the existing gist (keeping the same gist URL, and avoiding creating multiple copies of the same snippet). In fact, you’ll even be able to view the diffs between your revisions when you view the snippet online on GitHub! We introduced this feature earlier, but it had some issues, and now it’s working flawlessly (as far as we can tell). If it isn’t as flawless as expected, let us know!
Likewise, if you’re importing a gist (yours or someone else’s) that you’ve already imported before, there’s a dialog to help you decide whether to get a new copy or switch to the existing one.
Finally, we’ve built a better trust experience when you’re importing external snippets. You can now safely import and browse someone else’s code in the editor, knowing that before you run the snippet, you will be prompted with a dialog to choose whether or not to trust and run the code.
Script Lab speaks four languages
With the help of members of the community, we’ve added the ability to switch languages with our first translations in German, Spanish, and Chinese.
Along with all these exciting new features, we’ve incorporated some updates to the Monaco code editor, which addresses several code-editing bug fixes and improvements. We’re now on their latest 0.10.0 release!
Our team is working hard to make your feature dreams come true: we’re always listening to our community of developers, so please engage with us on GitHub; share your suggestions, tell us what’s broken, and code your heart out! We’re still in the early days of Script Lab and we plan to continue working on it. You can stay up-to-date on GitHub and on Twitter @OfficeDev.
Also, if you’re not an Office Insider already, consider joining to help shape the future of Office. Not only does your feedback go directly to Microsoft product teams, you’ll also get early access to the latest Office releases, including the ability to run Preview APIs.