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
Open a project in VS Code containing your application.
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
Global Search File command
- 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
List of file groups
- 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
Select a file type list
- Select files from the Select files to download list.
Image omitted: vscode-listoffiles.png
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.
View more than 10,000 results from your search:
Open settings by selecting Control+, in Windows or Command+, on MacOS.
Enter
nowinto the search bar.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
Fetch Records Max Limit settings
Parent Topic:ServiceNow Extensions for Visual Studio Code
Related topics