Using the ServiceNow Extensions for VS Code, create a project work folder to use as a workspace for ServiceNow applications.

Before you begin

Activate the workspace to access the functionalities of ServiceNow Extensions for VS Code. Role required: admin

Procedure

  1. Click the Setup Workspace on the status bar at the bottom of the VS Code IDE.
    You can also use a keyboard shortcut, Control+Shift+P on Windows or Command+Shift+P on MacOS, to open the command palette and choose Now: Setup Now Workspace from the list.
    Figure 1. Setup Now Workspace command
    Setup Now workspace command
  2. Do any of the following actions.
    OptionDescription
    To set up a workspace from a new folder
    1. Click New Folder.
    2. Enter a name for the folder in the Name of new Folder window.
    3. Click Create.
    To set up a workspace from an existing folder
    1. Select the folder on your system.
    2. Click Select project folder.
    The workspace is created from the selected folder.

What to do next

Create a project in your workspace. You can create multiple projects of different project types within a workspace.