Create a file in VS Code
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
Open the VS Code project containing your application.
Click the Create File (
Image omitted: vscode-createfile.png
Create File button\) on the status bar on the bottom of the VSCode IDE.
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.
- Select the file group from Select File Group list.
Image omitted: vscode-file-group.png
Available file groups
Available file groups
- Select the file type from the Select File Type list from the command palette at the top of the screen.
Image omitted: vscode-file-type.png
Available file types
Available file types
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