ServiceNow Extensions for Visual Studio Code

Edit your ServiceNow applications in Visual Studio Code with the help of the ServiceNow Extensions for VS Code.

The ServiceNow Extensions for the VS Code editor enables you to edit applications within your ServiceNow instance.

ServiceNow application editing in Visual Studio Code

Advantages of using Visual Studio Code

Edit your applications offlineUse Visual Studio Code to download and edit a local copy of your application. You can edit the application offline, and then synchronize again when your instance is available.Use Visual Studio Code JavaScript features to reduce development time and improve code qualityVisual Studio Code IntelliSense includes editing features such as code completion, code suggestions, and quick information. Use these tools to complete your coding tasks quickly and reduce errors. For more details on using IntelliSense in your applications, see IntelliSense in VS Code. The extension also supports Linting using ESLint. The same standard ESLint rules used in the ServiceNow instance are available. For more info Servicenow Training

Functions of ServiceNow Extensions for VS Code

The ServiceNow Extensions for VS Code include tools for developing on the Now Platform.

The extension adds several functions to your Visual Studio Code (VS Code) implementation. You access these functions through the command palette.

The command palette
FunctionalityDescription
Setup Now workspaceCreate the project folder to work with ServiceNow applications.
Activate Now ExtensionActivates the ServiceNow extension.
Create Now ProjectImport existing ServiceNow applications to a Visual Studio Code project.
Sync Current ProjectDuring development, synchronize all files between VS Code and the instance. Press CMD + OPT + S for MacOs and CTRL + ALT + S​ on Windows.
Sync Current FileSynchronize the current file you are working on. Press CMD + OPT + SHIFT +S for MacOS and CTRL + ALT + SHIFT +S​​ on Windows.
Clear CredentialsDeletes the entered credentials in the Settings page.
Reset ProjectSets project to its original state.
Configure File TypesModify the options selected in the metadata. Metadata determines which elements of your application you want to synchronize with VS Code.
Add Custom File TypesAdd file types to your project using the Custom File Types wizard.
Select ApplicationSwitch between application within the workspace in VS code. Press CMD + OPT + A for MacOs and CTRL + ALT + A​​ on Windows.
Select Update SetSelect an update set. Changes synchronized to your instance are applied to the selected update set. Press CMD + OPT + U for MacOs and CTRL + ALT + U​ on Windows.
Create New FileCreate records in your application.
Global File SearchFind files within the instance. Press CMD + OPT + F for MacOs and CTRL + ALT + F on Windows.
Run Background ScriptsRun a background script on your instance.
IntelliSenseAn IntelliSense code-completion aid available for Glide APIs.

To get in-depth knowledge, enroll for a live free demo on Servicenow Online Training

Leave a comment

Design a site like this with WordPress.com
Get started