Skip to content

Add mise task discovery support#11

Merged
MelbourneDeveloper merged 8 commits intoNimblesite:mainfrom
JonCanning:feat/mise-task-discovery
Apr 6, 2026
Merged

Add mise task discovery support#11
MelbourneDeveloper merged 8 commits intoNimblesite:mainfrom
JonCanning:feat/mise-task-discovery

Conversation

@JonCanning
Copy link
Copy Markdown
Contributor

Summary

  • Discover tasks from mise.toml, .mise.toml, mise.yaml, and .mise.yaml config files
  • Fix TOML parser to recognize [tasks.name] sections without requiring a bare [tasks] preamble (matching real-world mise configs)
  • Extract pure parsers into parsers/miseParser.ts for testability

Test plan

  • Unit tests for TOML parsing (with/without preamble, descriptions, interspersed sections, empty)
  • Unit tests for YAML parsing (task names, descriptions, empty)
  • E2E: open workspace with mise.toml containing tasks, verify they appear in CommandTree view

JonCanning and others added 6 commits March 26, 2026 12:25
Discover tasks from mise.toml, .mise.toml, mise.yaml, and .mise.yaml
config files. Extracts task names and descriptions from [tasks.*] TOML
sections and tasks: YAML blocks.

Fixes TOML parser to recognize [tasks.name] sections without requiring
a bare [tasks] preamble, matching how mise configs are written in
practice.
@MelbourneDeveloper
Copy link
Copy Markdown
Collaborator

@JonCanning thank you very much. Sorry for the slow check of this. I needed to fix up a bunch of CI stuff to check this. Will do a release soon.

@MelbourneDeveloper
Copy link
Copy Markdown
Collaborator

Nice work

@MelbourneDeveloper MelbourneDeveloper merged commit 23cafc2 into Nimblesite:main Apr 6, 2026
2 checks passed
@MelbourneDeveloper
Copy link
Copy Markdown
Collaborator

Thanks for your contribution. Reviews on the vscode marketplace super appreciated @JonCanning

image

https://marketplace.visualstudio.com/items?itemName=Nimblesite.commandtree&ssr=false#review-details

@MelbourneDeveloper
Copy link
Copy Markdown
Collaborator

@JonCanning , blog post added:

https://commandtree.dev/blog/mise-tasks-vscode/

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.

2 participants