Skip to content

Alt + Q on file header description #170

@davidAlgis

Description

@davidAlgis

Hi,

First, thanks for this nice plugin, it's really useful to me !
I wanted to override the auto-filled description for file header in "block_layout", I add this configuration:

{
                "tags": [
                    "",
                    "@file         {file_base_name}",
                    "",
                    "@brief        Description of the file",
                    "",
                    "@author       {user_name}",
                    "",
                    "@company      Company_name",
                    "Copyright © Company_name. All rights reserved.",
                    "",
                ],
                "context": [
                    {
                        "key": "row",
                        "operator": "equal",
                        "operand": "0"
                    },
                    {
                        "key": "kind",
                        "operator": "equal",
                        "operand": ""
                    }
                ]
            },

However, when I trigger Alt+S on the first line (which is empty) of any file, it doesn't do anything or if I'm in a class it will directly go on the comment of the class below. The context seems good, as I only copy/paste the one from "block_layout_default". Is there something I don't understand ?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions