[
    {
        "id": "edit",
        "children":
        [
            {
                "caption": "Trailing Spaces",
                "id": "trailing-spaces",
                "children":
                [
                    {
                        "command": "delete_trailing_spaces",
                        "caption": "Delete"
                    },
                    { "caption": "-" },
                    {
                        "command": "toggle_trailing_spaces_modified_lines_only",
                        "caption": "Modified Lines Only",
                        "checkbox": true
                    },
                    {
                        "command": "toggle_trailing_spaces",
                        "caption": "Highlight Regions",
                        "checkbox": true
                    }
                ]
            }
        ]
    },
    {
        "id": "preferences",
        "children":
        [
            {
                "caption": "Package Settings",
                "mnemonic": "P",
                "id": "package-settings",
                "children":
                [
                    {
                        "caption": "Trailing Spaces",
                        "children":
                        [
                            {
                                "command": "open_file",
                                "args": {
                                    "file": "${packages}/TrailingSpaces/README.md",
                                    "platform": "Windows"
                                },
                                "caption": "Help"
                            },
                            {
                                "command": "open_file",
                                "args": {
                                    "file": "${packages}/TrailingSpaces/README.md",
                                    "platform": "OSX"
                                },
                                "caption": "Help"
                            },
                            {
                                "command": "open_file",
                                "args": {
                                    "file": "${packages}/TrailingSpaces/README.md",
                                    "platform": "Linux"
                                },
                                "caption": "Help"
                            },
                            { "caption": "-" },
                            {
                                "command": "open_file",
                                "args": {
                                    "file": "${packages}/TrailingSpaces/trailing_spaces.sublime-settings",
                                    "platform": "Windows"
                                },
                                "caption": "Settings - Default"
                            },
                            {
                                "command": "open_file",
                                "args": {
                                    "file": "${packages}/TrailingSpaces/trailing_spaces.sublime-settings",
                                    "platform": "OSX"
                                },
                                "caption": "Settings - Default"
                            },
                            {
                                "command": "open_file",
                                "args": {
                                    "file": "${packages}/TrailingSpaces/trailing_spaces.sublime-settings",
                                    "platform": "Linux"
                                },
                                "caption": "Settings - Default"
                            },
                            {
                                "command": "open_file",
                                "args": {
                                    "file": "${packages}/User/trailing_spaces.sublime-settings",
                                    "platform": "Windows"
                                },
                                "caption": "Settings - User"
                            },
                            {
                                "command": "open_file",
                                "args": {
                                    "file": "${packages}/User/trailing_spaces.sublime-settings",
                                    "platform": "OSX"
                                },
                                "caption": "Settings - User"
                            },
                            {
                                "command": "open_file",
                                "args": {
                                    "file": "${packages}/User/trailing_spaces.sublime-settings",
                                    "platform": "Linux"
                                },
                                "caption": "Settings - User"
                            }
                        ]
                    }
                ]
            }
        ]
    }
]
