Skip to content

Missing space in front matter of prompt file leads to errors thats not really user friendly nor actionable #255156

@DonJayamanne

Description

@DonJayamanne

I understand that a space is required after the :.
However I tend to miss this often and end up spending a few minutes trying to figure out whats wrong, until I realize my mistake.

I.e. this is an invalid prompt with no codelens and no completions, & no real actionable error message

---
mode: agent
tools:[]
---
Define the tas
Image

Suggestion: Perhaps a code action to insert the require space would be a good idea, and turn this into a warning as opposed to an error.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions