Use the ServiceNow extension to create a new file for your application with your project.

Before you begin

Import an application in your VS Code project to create a file within your project.

Procedure

  1. Open the VS Code project containing your application.
  2. Click the Create File (Create File button) on the status bar on the bottom of the VSCode 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: Create New File from the list.
  3. Select the file group from Select File Group list.
    Available file groups
  4. Select the file type from the Select File Type list from the command palette at the top of the screen.
    Available file types
  5. Enter a name for the file in the Create New File dialog box.
    The extension creates a file in your application on your local file system. The new file is added to your instance when you synchronize your workspace.