add files from one vs vscode to another code example

Example 1: VS Code not showing subfolders when there is only one

File > Preference > Settings and disable "explorer.compactFolders".

//type "explorer.compactFolders" in search box

Example 2: vscode search in folder

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

Example 3: how to save files in a repository visual studio code

def fib(number):
    if number in [0, 1]:
        return 1
    else:
        return fib(number - 2) + fib(number - 1)