Search files on your instance in VS Code

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

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.

    [Omitted image "vscode-globalsearch.png"] Alt text: Global Search File command

  3. Select the file group from the Select File Group list in the command palette on the top of the screen.

    [Omitted image "vscode-filegroup.png"] Alt text: List of file groups

  4. Select the file type from the Select a File Type list in the command palette on the top of the screen.

    [Omitted image "vscode-filetype.png"] Alt text: Select a file type list

  5. Select files from the Select files to download list.

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

  6. 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.

      [Omitted image "vs-code-file-search.png"] Alt text: Fetch Records Max Limit settings

Parent Topic:ServiceNow Extensions for Visual Studio Code

Related topics

Create a file in VS Code

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