Skip to content

Studio is not respecting used flow scalar styles (double vs single quotes) #14

@jerone

Description

@jerone

All our YAML files are written with flow scalar style as double quotes (").
Maestro Studio Desktop is forcing it's own style with single quotes (').
Officially all options are possible (double, single and no quotes), but it mentions double first :)
Even your own examples use double quotes.

It would be nice if Maestro Studio Desktop could re-use the already applied styling.

Even better if it could detect the presence of Prettier (in current of parent folders), which uses double quotes as default (with some exceptions).

Alternatively, add an setting for the teams preferred styling.


Input (double quotes "):

appId: your.app.id
---
- launchApp
- tapOn: "Text on the screen"

Output (single quotes '):

appId: your.app.id
---
- launchApp
- tapOn: 'Text on the screen'

Expected (double quotes "):

appId: your.app.id
---
- launchApp
- tapOn: "Text on the screen"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions