Now Assist for Code: Autocomplete, Code Explain & More!
New article articles in ServiceNow Community
·
Feb 14, 2025
·
article
##
## **Smarter, Faster Coding with Now Assist for Code**
If you’re a ServiceNow developer, you know that writing and debugging scripts can be time-consuming. But with the latest enhancements to **Now Assist for Code** in the Yokohama release, AI is here to **speed up your workflow, improve code quality, and provide best-practice guidance**—all within the ServiceNow development environment.
In this episode of **Creator Toolbox**, Senior Developer Advocate **Earl Duque** is joined by **Jay Couture** (Product Lead) and **Patrick Wilson** (Engineering Director) to explore the newest features that take **Now Assist for Code** to the next level.
## **What’s New?**
### **1\. Autocompletion – AI That Writes Code with You**
Just like GitHub Copilot, Now Assist for Code now suggests **context-aware** code completions as you type. Whether it’s GlideRecord queries or business rules, the AI predicts what you need next—helping you **write code faster with fewer errors**.
**Why it’s a game-changer:**
* **Saves time** by reducing keystrokes and repetitive coding.
* **Understands your instance**—suggestions are tailored to your custom tables and scripts.
* **Powered by GPT-4o or Now LLM**, giving you high-quality recommendations.
### **2\. Code Explain – Instant Script Summaries**
Inherited a script you didn’t write? Need to debug legacy business rules? **Code Explain** generates **natural language summaries** of your scripts, making it easier to understand existing code.
You can choose:
✅ **High-level summary** – A quick overview of what the script does.
✅ **Detailed explanation** – A breakdown of functions, logic, and API calls.
This feature is especially useful for **new developers**, **code reviews**, and **debugging**.
### **3\. AI-Powered Code Editing**
Need to clean up a script? Now Assist for Code lets you:
* **Automatically add or remove comments**
* **Refactor code** (e.g., extract functions for better readability)
* **Modify existing scripts** using natural language commands
With the latest **Now LLM** and **GPT-4o** integration, the suggestions are more **accurate**, **context-aware**, and **best-practice compliant**.
### **4\. AI That Knows Your Instance**
Unlike generic AI tools, Now Assist for Code **understands your specific ServiceNow instance**. It retrieves information about your:
* Custom tables
* Script includes
* Business rules
This means that when you’re writing a GlideRecord query, the AI suggests **your actual fields and tables**, making coding even more **efficient** and **error-free**.
### **5\. Faster and More Accurate AI Suggestions**
The team is continuously improving **latency**, **context retrieval**, and **suggestion quality**. Future updates will bring:
🚀 **Even faster autocompletion**
🚀 **Better contextual understanding** of ECMAScript levels
🚀 **Deeper integration with ServiceNow best practices**
## **What’s Next?**
The ServiceNow team is **pushing the boundaries** of AI-assisted development. Expect **agent-driven** coding experiences and even more powerful AI integrations.
Want a sneak peek? **Join us at Knowledge 2025 & CreatorCon** for the latest announcements!
## **Get Started Today!**
📌 **Upgrade to the latest version of Now Assist for Code** via the **ServiceNow Store** or **App Manager**.
📌 **Try out the new features** and share your feedback!
📌 **Follow us for updates**—new enhancements are rolling out **every release**.
### **Let’s Hear From You!**
Have you tried the new Now Assist for Code features? What’s your experience been like? **Leave a comment below** or connect with us on LinkedIn!
https://www.servicenow.com/community/developer-advocate-blog/now-assist-for-code-autocomplete-code-explain-amp-more/ba-p/3177860
Earl Duque