Create a file in VS Code

task brazil Updated Sep 10, 2026 1 min read vscode-create-file.md
Raw file servicenow.com

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.

Role required: none.

Procedure

  1. Open the VS Code project containing your application.

  2. Click the Create File ([Omitted image "vscode-createfile.png"] Alt text: 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.

    [Omitted image "vscode-file-group.png"] Alt text: Available file groups

  4. Select the file type from the Select File Type list from the command palette at the top of the screen.

    [Omitted image "vscode-file-type.png"] Alt text: 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.

Parent Topic:ServiceNow Extensions for Visual Studio Code

Search documentation
Search document titles and file paths on the brazil branch