Set up a workspace in VS Code

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:1分
  • Using the ServiceNow Extensions for VS Code, create a project work folder to use as a workspace for ServiceNow applications.

    始める前に

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

    手順

    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.
      図 : 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.

    次のタスク

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