Search files on your instance in VS Code

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:2分
  • Search and download any script files on your instance using the ServiceNow Extensions for VS Code extension.

    始める前に

    Role required: none

    手順

    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.
      図 : 1. Global File Search command
      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.
      図 : 2. Select File Group list
      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.
      図 : 3. Select a file type list
      Select a file type list
    5. Select files from the Select files to download list.
      図 : 4. Select files to download list
      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.
        図 : 5. Fetch Records Max Limit settings
        Fetch Records Max Limit settings