Skip to content

Support comments or newlines in .prompt/.chatmode #252279

Open
@danreeves

Description

@danreeves

A tools array with several items will be formatted by Prettier onto multiple lines. The prompt/chatmode parsers don't support this.

Adding a # prettier-ignore comment prevents the formatting but the parse also doesn't support comments so there are still issues reported.

Image

Image

In order to work nicely with common tooling I would expect one or both of these to be supported.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions