Post

VSCode-AddFolderToWorkspace - Release 2.1.0

2.1.0

Added

  • Command Add Recent Folders to Workspace (addRecentFoldersToWorkspace) to pick from the saved recent list only; default keybinding Ctrl+Alt+K R (Cmd+Alt+K R on macOS where applicable).
  • Command Clear Recent Folders List (clearRecentFoldersToWorkspace) to remove all entries from the global recent list.
  • Setting addFolderToWorkspace.recentFoldersCount (default 5, minimum 0) to control how many recently added folders are pinned at the top of the Add Folder to Workspace quick pick. When set to 0, that pinned section is hidden and recent paths are not persisted.
  • Global recent-folder history in extension globalState under addFolderToWorkspace.recentPaths (per user profile, not per workspace file).

Changed

  • Add Folder to Workspace quick pick order: recent entries (if any and limit > 0), the manual directory option, then configured and recursive workspace directories (duplicates with the recent section omitted).
  • When the manual directory option is used together with other selections, it is removed by index instead of Array.shift(), so behavior stays correct when recent rows appear above the manual row.
  • Adding folders (main command and Add Recent Folders) now persists the global recent list right after updateWorkspaceFolders accepts the update, then waits for the workspace-folder change event. That order avoids missing or delayed onDidChangeWorkspaceFolders so recent paths update reliably on the first run.

What’s Changed

  • Bump @typescript-eslint/eslint-plugin from 6.21.0 to 8.29.0 by @dependabot[bot] in https://github.com/dennykorsukewitz/VSCode-AddFolderToWorkspace/pull/22
  • Bump eslint from 8.57.1 to 9.23.0 by @dependabot[bot] in https://github.com/dennykorsukewitz/VSCode-AddFolderToWorkspace/pull/21
  • Bump @typescript-eslint/parser from 6.21.0 to 8.29.0 by @dependabot[bot] in https://github.com/dennykorsukewitz/VSCode-AddFolderToWorkspace/pull/20
  • Bump @types/node from 18.19.85 to 22.13.16 by @dependabot[bot] in https://github.com/dennykorsukewitz/VSCode-AddFolderToWorkspace/pull/19
  • Bump mocha from 10.8.2 to 11.1.0 by @dependabot[bot] in https://github.com/dennykorsukewitz/VSCode-AddFolderToWorkspace/pull/11

New Contributors

  • @dependabot[bot] made their first contribution in https://github.com/dennykorsukewitz/VSCode-AddFolderToWorkspace/pull/22

Full Changelog: https://github.com/dennykorsukewitz/VSCode-AddFolderToWorkspace/compare/2.0.1…2.1.0


This post is licensed under CC BY 4.0 by the author.