Skip to content

feat(commands): #2222 add folders from the command palette - #5838

Merged
Jocs merged 1 commit into
developfrom
feat/2222-add-folder-command
Oct 21, 2026
Merged

Jocs merged 1 commit into
developfrom
feat/2222-add-folder-command

Conversation

@Jocs

@Jocs Jocs commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Closes #2222

Summary

Expose Add Folder… in the existing command palette, using the same append action as the sidebar and File menu. Keep the current Cmd/Ctrl+Shift+P palette shortcut and do not allocate a new default shortcut.

Extend the integration scenario to execute this command before searching, removing folders and restoring the session.

Type of change

  • Bug fix (non-breaking)
  • New feature (non-breaking)

Test plan

  • 1182 unit tests and 22 macOS Electron E2E tests passed.
  • pnpm run lint, pnpm run typecheck and pnpm run build:unpack passed.

Evidence

Add Folder in the command palette.

palette

Stack

Merge from top to bottom; after merging a parent, retarget its child to develop before deleting the parent branch.

Order PR Base
1 (merged) exclude the Electron application entry from file arguments develop
2 (merged) manage and restore multiple folder roots develop
3 (merged) search across sidebar folder roots develop
4 (merged) add folders from the File menu develop
5 (this PR) add folders from the command palette develop

Notes for reviewers

Builds on merged PR #5837. This is part 5 of a five-PR stack. Review this PR against its current base branch; merge the stack in order and retarget each child to develop after its parent lands.

Local native validation was on macOS; Windows and Linux are covered by CI when available. No screenshots or recordings are committed to the repository.


By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Build artifacts for PR #5838:

Run: https://github.com/marktext/marktext/actions/runs/39629810935

Artifact Size Link
marktext-macos-x64 313.6 MB Download
marktext-windows-x64 299.2 MB Download
marktext-linux-arm64 522.3 MB Download
marktext-windows-arm64 291.0 MB Download
marktext-linux-x64 667.4 MB Download
marktext-macos-arm64 300.3 MB Download

@Jocs
Jocs force-pushed the feat/2222-add-folder-command branch 2 times, most recently from ad200ca to e35ae08 Compare October 21, 2026 14:06
@Jocs
Jocs force-pushed the feat/2222-add-folder-menu branch from 958c44f to c175c84 Compare October 21, 2026 15:25
@Jocs
Jocs force-pushed the feat/2222-add-folder-command branch from e35ae08 to 9007203 Compare October 21, 2026 15:25
@Jocs
Jocs force-pushed the feat/2222-add-folder-menu branch from c175c84 to 65e0013 Compare October 21, 2026 15:38
@Jocs
Jocs force-pushed the feat/2222-add-folder-command branch from 9007203 to 6fadbb9 Compare October 21, 2026 15:38
@Jocs
Jocs changed the base branch from feat/2222-add-folder-menu to develop October 21, 2026 15:53
@Jocs
Jocs force-pushed the feat/2222-add-folder-command branch from 6fadbb9 to 589301e Compare October 21, 2026 15:53
@Jocs
Jocs merged commit 65af0e4 into develop Oct 21, 2026
13 checks passed
@Jocs
Jocs deleted the feat/2222-add-folder-command branch October 23, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiple folders open in the sidebar

1 participant