Skip to content

Auto-detect embedded yaml and sql in go strings #1647

@bronze1man

Description

@bronze1man

It would be nice if the plugin could auto-detect yaml and sql in go strings and automatically inject them (see how things work in PhpStorm for example).

Original:

The yaml need space to intent. But golang need tab to intent. It works, but without highlight.
It is not easy to edit the yaml in the golang file,the ide will always want to insert tab when press tab key.

You can see the code demo in https://github.com/bronze1man/kmg/blob/master/kmgSql/Functions_test.go#L127

Embed yaml in php in phpstorm is fine.

If a file have a lot of yaml in golang file. it will show this bar. I do not want to see the bar.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions