id = "clion"
name = "CLion"
homepage = "https://www.jetbrains.com/clion/"
description = "A cross-platform IDE for C and C++."
icon = "theSVG:clion"
executables = ["clion"]
[dotfiles]
paths = ["[appData]/JetBrains/CLion*/"]
exclude = [
"[appData]/JetBrains/CLion*/plugins/",
]
secret = ["[appData]/JetBrains/CLion*/c.kdbx"]
self_sync = true
[commands]
format = 1
label = "Open in CLion"
description = "Open a project or file in CLion. diff, merge, format, inspect and plugin installation subcommands are left out."
quality = "ai-draft"
base = "fig:clion"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false }
[[commands.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/clion.ts"
license = "MIT"
[[commands.field]]
id = "path"
label = "Path"
description = "Project directory or file to open."
type = "path"
position = 0
path = { kind = "any", role = "input", must_exist = true }
sources = ["fig"]
[[commands.field]]
id = "wait"
label = "Wait until closed"
description = "Wait for the files to be closed before returning to the command prompt."
type = "boolean"
option = ["--wait"]
sources = ["fig"]
[[commands.field]]
id = "nosplash"
label = "No splash screen"
description = "Do not show the splash screen when loading CLion."
type = "boolean"
option = ["nosplash"]
sources = ["fig"]
[[commands.field]]
id = "dont_reopen"
label = "Do not reopen projects"
description = "Do not reopen projects and show the welcome screen."
type = "boolean"
option = ["dontReopenProjects"]
sources = ["fig"]
[[commands.field]]
id = "disable_plugins"
label = "Disable user plugins"
description = "Do not load manually installed plugins."
type = "boolean"
option = ["disableNonBundledPlugins"]
sources = ["fig"]
[[commands.task]]
id = "open"
label = "Open a project"
fields = ["path"]
required = ["path"]
[[commands.task]]
id = "safe"
label = "Open without plugins"
set = { disable_plugins = [true] }
fields = ["path", "disable_plugins"]
required = []
[[commands.group]]
id = "basic"
label = "Basic"
fields = ["path", "wait"]
[[commands.group]]
id = "advanced"
label = "Advanced"
fields = ["nosplash", "dont_reopen", "disable_plugins"]