VS Code extension for ServiceNow
Edit ServiceNow scripts with your text editor and upload with a shortcut when done
ServiceNow is my favorite service platform, VS Code is my favorite code editor. A year ago I decided to develop an extension that will speed up my ServiceNow development. I am using it every day at work and continue adding features. I felt the extension became mature and all of you could also use it.
So get started to upgrade your ServiceNow development from 🚜 to 🏎!
—> Update: The extension is now open source.
⏬ Download iKosak Sync Now at VS Code Marketplace
Features
- All ServiceNow releases are supported
- Works on records from ANY scope (including Global)
- Synchronize NOW records to files on the hard drive
- Easy to use YAML configuration file
- Use shortcuts, like “Upload record” via
CMD+k+j
- Shows diffs if a record has been changed on instance since pulled
- Check if the record being uploaded belongs to the same scope as current Update Set
- Select a code snippet to execute it on the server, get a prompt result in VS Code
Get started
Summary
Of course, you might know there is an official ServiceNow extension in store. I have tried to use it, but unfortunately it doesn’t fit to my needs. Why? There are few reasons:
- It’s not possible to work with records that are in Global Scope. In my daily work i work MOSTLY in Global scope. I know, ServiceNow doesn’t really like the fact that global applications are being modified or extended, but this is how the things look like for the moment.
- No way to modify the configuration manually. You should select files you want to sync via menus and checkboxes. So i prefer the “geek” way of doing this, like I have implemented in my extension (editing a
.yaml
-config). - Restricted configuration. You cannot define file names and folder structure. That is what I used to when working with my extension.
But, there are also features that my extension doesn’t have:
- oAuth
- ServiceNow API Typings