visual studio code search file contents code example

Example 1: substitute everything visual studio code

Click on the left bar the search icon
Then with the symbol at the right side of the input field decide if apport the substitution to all files

Example 2: vscode search for file

cmd + p  (for Mac users)

Example 3: vscode search in folder

concatMap(rootTemplate =>
  this.templateEngine.getAllChildTemplates(rootTemplate).pipe(
    map(childTemplates => [rootTemplate, childTemplates])
  )
),
concatMap(([rootTemplate, childTemplates]) => 
  this.templateEngine.createTemplateToRender(childTemplates, rootTemplate)
)