Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Search files on your instance in VS Code

Search and download any script files on your instance using the ServiceNow Extensions for VS Code extension.

Before you begin

Role required: none

Procedure

  1. Open a project in VS Code containing your application.

  2. Click the File Search on the status bar on the bottom of the VSCode IDE.

    You can also use a keyboard shortcut, Control+Shift+P in Windows or Command+Shift+P on MacOS, to open the command palette and choose Now: Global Search from the list.

Image omitted: vscode-globalsearch.png
Global Search File command
  1. Select the file group from the Select File Group list in the command palette on the top of the screen.
Image omitted: vscode-filegroup.png
List of file groups
  1. Select the file type from the Select a File Type list in the command palette on the top of the screen.
Image omitted: vscode-filetype.png
Select a file type list
  1. Select files from the Select files to download list.
Image omitted: vscode-listoffiles.png
Select files to download list
You can select and download multiple files at a time.

The selected files are downloaded to the `scratch` folder of your application. You can edit the selected files.
  1. View more than 10,000 results from your search:

    1. Open settings by selecting Control+, in Windows or Command+, on MacOS.

    2. Enter now into the search bar.

    3. Enter the number of records you want to see in the Fetch Records Max Limit settings.

Image omitted: vs-code-file-search.png
Fetch Records Max Limit settings

Parent Topic:ServiceNow Extensions for Visual Studio Code

Related topics

Create a file in VS Code