When standard search isn’t enough, VS Code’s regex capabilities come to the rescue. While Cmd + Shift + f works for basic searches, what about finding files where multiple terms exist but aren’t necessarily on the same line?
For example, imagine searching for code that queries an “incident” table specifically for the “short_description” field. Simple searches for either term would return too many irrelevant results.
The solution: RegEx search
Enable RegEx search and use a pattern like: incident[\s\S\n]+?
VS Code extension iKosak Sync Now for ServiceNow development is now open source. Hosted on Github, powered by Github Actions and everyone can contribute 🎉. Go check the sources right away.
What happened I have decided to host my VS Code extension on Github. Everyone may read the source code and contribute. I’m sure that transparency of such a tool is very important, since you should know how your authentication data is stored.
Edit ServiceNow scripts with your text editor and upload with a shortcut when done