Function readWorkspaceFolderNames

  • Get all folder names in the root directory of the workspace. The function will automatically ignore all directories with . (dot) or _ (underscore).

    Returns Promise<string[]>

    • An array of the folder names.
    const folderNames = readWorkspaceFolderNames()