{
  "id": "rustrover",
  "name": "RustRover",
  "homepage": "https://www.jetbrains.com/rust/",
  "description": "A powerful IDE for Rust. Code, test, debug, and deploy, all right out of the box.",
  "icon": "https://resources.jetbrains.com/storage/products/company/brand/logos/RustRover_icon.svg",
  "executables": [
    "rustrover"
  ],
  "dotfiles": {
    "paths": [
      "[appData]/JetBrains/RustRover*/"
    ],
    "exclude": [
      "[appData]/JetBrains/RustRover*/plugins/"
    ],
    "secret": [
      "[appData]/JetBrains/RustRover*/c.kdbx"
    ],
    "self_sync": true
  },
  "commands": {
    "format": 1,
    "label": "Open in RustRover",
    "description": "Open a file or project in RustRover. Formatting is a separate sub-form.",
    "quality": "ai-draft",
    "base": "fig:rustrover",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/rustrover.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "path",
        "label": "File or project",
        "type": "path",
        "position": 0,
        "path": {
          "kind": "any",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "wait",
        "label": "Wait until closed",
        "type": "boolean",
        "option": [
          "--wait"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "nosplash",
        "label": "No splash screen",
        "type": "boolean",
        "option": [
          "nosplash"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "dont_reopen",
        "label": "Do not reopen projects",
        "type": "boolean",
        "option": [
          "dontReopenProjects"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_plugins",
        "label": "Skip manually installed plugins",
        "type": "boolean",
        "option": [
          "disableNonBundledPlugins"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "open",
        "label": "Open path",
        "fields": [
          "path",
          "wait"
        ],
        "required": [
          "path"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "path",
          "wait"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "nosplash",
          "dont_reopen",
          "no_plugins"
        ]
      }
    ],
    "subcommand": [
      {
        "path": [
          "format"
        ],
        "label": "Format files",
        "description": "Apply code style formatting to files with RustRover.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/rustrover.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "paths",
            "label": "Files or directories",
            "type": "path",
            "position": 0,
            "multiple": true,
            "path": {
              "kind": "any",
              "role": "input"
            },
            "effect": "overwrite",
            "sources": [
              "fig"
            ]
          },
          {
            "id": "mask",
            "label": "File masks",
            "type": "string",
            "option": [
              "-m"
            ],
            "description": "Comma-separated list of file masks.",
            "sources": [
              "fig"
            ]
          },
          {
            "id": "recursive",
            "label": "Recurse",
            "type": "boolean",
            "option": [
              "-r"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "dry",
            "label": "Dry run (validate only)",
            "type": "boolean",
            "option": [
              "-d"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "settings",
            "label": "Code style settings file",
            "type": "path",
            "option": [
              "-s"
            ],
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "format",
            "label": "Format",
            "fields": [
              "paths",
              "mask",
              "recursive",
              "settings"
            ],
            "required": [
              "paths"
            ]
          },
          {
            "id": "check",
            "label": "Validate only",
            "fields": [
              "paths",
              "recursive",
              "dry"
            ],
            "required": [
              "paths",
              "dry"
            ],
            "set": {
              "dry": [
                true
              ]
            }
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "paths",
              "mask",
              "recursive",
              "dry"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "settings"
            ]
          }
        ]
      }
    ]
  }
}
