Skip to content

Commit ba85259

Browse files
feat: Add intellij-products resource (#62)
* feat: Add intellij-products resource (auto-generated from issue #61) * feat: refactored common methods * chore: re-organized docs --------- Co-authored-by: kevinwang5658 <20214115+kevinwang5658@users.noreply.github.com> Co-authored-by: kevinwang <kevinwang5658@gmail.com>
1 parent 14ba32f commit ba85259

49 files changed

Lines changed: 3675 additions & 20 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

completions-cron/src/__generated__/completions-index.ts

Lines changed: 34 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/resources/(resources)/claude-code-project.mdx renamed to docs/resources/(resources)/ai-agents/claude-code-project.mdx

File renamed without changes.
File renamed without changes.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"title": "ai & agents",
3+
"pages": ["claude-code", "claude-code-project", "ollama", "openclaw"]
4+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
title: clion
3+
description: A reference page for the clion resource
4+
---
5+
6+
The clion resource installs [JetBrains CLion](https://www.jetbrains.com/clion/), a C/C++ IDE. On macOS it is installed via Homebrew Cask (`brew install --cask clion`); on Linux via Snap (`snap install clion --classic`).
7+
8+
## Parameters
9+
10+
- **settingsZip** *(string, optional)* — Absolute path to a CLion settings ZIP file (exported via *File | Manage IDE Settings | Export Settings*) to import on first install. The archive is extracted directly into the CLion config directory, so all exported settings (keymaps, code styles, inspections, etc.) are applied before CLion is first launched.
11+
12+
- **importSettings** *(boolean, optional, default: `true`)* — Controls whether the `settingsZip` is imported during `create`. Set to `false` to skip the import even when `settingsZip` is specified. This is a setting parameter and is not tracked as state, so it only has effect when the resource is first applied.
13+
14+
- **plugins** *(string[], optional)* — JetBrains Marketplace plugin IDs to install (e.g. `"com.github.copilot"`, `"Docker"`). Plugin IDs can be found on the plugin's page in the Marketplace under *Additional Information*. Plugins are managed statefully: Codify adds missing plugins and removes plugins no longer in the list.
15+
16+
- **jvmMaxHeapSize** *(string, optional)* — Maximum JVM heap allocated to CLion, e.g. `"2048m"` for 2 GB or `"4096m"` for 4 GB. Written to `clion.vmoptions` in the IDE config directory as `-Xmx<value>`.
17+
18+
- **jvmMinHeapSize** *(string, optional)* — Initial JVM heap allocated to CLion, e.g. `"512m"`. Written to `clion.vmoptions` as `-Xms<value>`. Typically set to half the max heap size.
19+
20+
## Example usage
21+
22+
### Install CLion with plugins
23+
24+
```json title="codify.jsonc"
25+
[
26+
{
27+
"type": "clion",
28+
"plugins": [
29+
"com.github.copilot",
30+
"Docker"
31+
]
32+
}
33+
]
34+
```
35+
36+
### Install CLion, import previous settings, and increase heap
37+
38+
```json title="codify.jsonc"
39+
[
40+
{
41+
"type": "clion",
42+
"settingsZip": "/path/to/clion-settings.zip",
43+
"importSettings": true,
44+
"jvmMaxHeapSize": "4096m",
45+
"jvmMinHeapSize": "1024m",
46+
"plugins": [
47+
"com.github.copilot",
48+
"Docker"
49+
]
50+
}
51+
]
52+
```
53+
54+
## Notes
55+
56+
- On macOS a CLI launcher symlink is created at `/usr/local/bin/clion` during install so that `clion` is available in terminal sessions. It is removed on destroy.
57+
- Plugin IDs must be exact JetBrains Marketplace IDs. You can find them on the plugin's Marketplace page under *Additional Information → Plugin ID*.
58+
- The `settingsZip` import only runs during `create` (first apply), not on subsequent applies. If you need to re-import, destroy and re-apply the resource.
59+
- JVM options are written to `clion.vmoptions` in `~/Library/Application Support/JetBrains/CLion<version>/` on macOS and `~/.config/JetBrains/CLion<version>/` on Linux. If CLion has never been launched, Codify creates this directory and file automatically.
60+
- On Linux, Snap must be available. Codify will attempt to install `snapd` via the system package manager if it is not found.
File renamed without changes.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
title: goland
3+
description: A reference page for the goland resource
4+
---
5+
6+
The goland resource installs [JetBrains GoLand](https://www.jetbrains.com/go/), a Go IDE. On macOS it is installed via Homebrew Cask (`brew install --cask goland`); on Linux via Snap (`snap install goland --classic`).
7+
8+
## Parameters
9+
10+
- **settingsZip** *(string, optional)* — Absolute path to a GoLand settings ZIP file (exported via *File | Manage IDE Settings | Export Settings*) to import on first install. The archive is extracted directly into the GoLand config directory, so all exported settings (keymaps, code styles, inspections, etc.) are applied before GoLand is first launched.
11+
12+
- **importSettings** *(boolean, optional, default: `true`)* — Controls whether the `settingsZip` is imported during `create`. Set to `false` to skip the import even when `settingsZip` is specified. This is a setting parameter and is not tracked as state, so it only has effect when the resource is first applied.
13+
14+
- **plugins** *(string[], optional)* — JetBrains Marketplace plugin IDs to install (e.g. `"com.github.copilot"`, `"Docker"`). Plugin IDs can be found on the plugin's page in the Marketplace under *Additional Information*. Plugins are managed statefully: Codify adds missing plugins and removes plugins no longer in the list.
15+
16+
- **jvmMaxHeapSize** *(string, optional)* — Maximum JVM heap allocated to GoLand, e.g. `"2048m"` for 2 GB or `"4096m"` for 4 GB. Written to `goland.vmoptions` in the IDE config directory as `-Xmx<value>`.
17+
18+
- **jvmMinHeapSize** *(string, optional)* — Initial JVM heap allocated to GoLand, e.g. `"512m"`. Written to `goland.vmoptions` as `-Xms<value>`. Typically set to half the max heap size.
19+
20+
## Example usage
21+
22+
### Install GoLand with plugins
23+
24+
```json title="codify.jsonc"
25+
[
26+
{
27+
"type": "goland",
28+
"plugins": [
29+
"com.github.copilot",
30+
"Docker"
31+
]
32+
}
33+
]
34+
```
35+
36+
### Install GoLand, import previous settings, and increase heap
37+
38+
```json title="codify.jsonc"
39+
[
40+
{
41+
"type": "goland",
42+
"settingsZip": "/path/to/goland-settings.zip",
43+
"importSettings": true,
44+
"jvmMaxHeapSize": "4096m",
45+
"jvmMinHeapSize": "1024m",
46+
"plugins": [
47+
"com.github.copilot",
48+
"Docker"
49+
]
50+
}
51+
]
52+
```
53+
54+
## Notes
55+
56+
- On macOS a CLI launcher symlink is created at `/usr/local/bin/goland` during install so that `goland` is available in terminal sessions. It is removed on destroy.
57+
- Plugin IDs must be exact JetBrains Marketplace IDs. You can find them on the plugin's Marketplace page under *Additional Information → Plugin ID*.
58+
- The `settingsZip` import only runs during `create` (first apply), not on subsequent applies. If you need to re-import, destroy and re-apply the resource.
59+
- JVM options are written to `goland.vmoptions` in `~/Library/Application Support/JetBrains/GoLand<version>/` on macOS and `~/.config/JetBrains/GoLand<version>/` on Linux. If GoLand has never been launched, Codify creates this directory and file automatically.
60+
- On Linux, Snap must be available. Codify will attempt to install `snapd` via the system package manager if it is not found.

0 commit comments

Comments
 (0)