You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: Add webstorm resource (auto-generated from issue #41)
* fix: fixed on macos and linux
* fix: fixed on macos and linux
* feat: added better handling for install errors
* fix: claude code and cursor tests
* fix: cursor tests
---------
Co-authored-by: kevinwang5658 <20214115+kevinwang5658@users.noreply.github.com>
Co-authored-by: kevinwang <kevinwang5658@gmail.com>
description: A reference page for the webstorm resource
4
+
---
5
+
6
+
The webstorm resource installs [JetBrains WebStorm](https://www.jetbrains.com/webstorm/), a JavaScript IDE. On macOS it is installed via Homebrew Cask (`brew install --cask webstorm`); on Linux via Snap (`snap install webstorm --classic`).
7
+
8
+
## Parameters
9
+
10
+
-**settingsZip***(string, optional)* — Absolute path to a WebStorm settings ZIP file (exported via *File | Manage IDE Settings | Export Settings*) to import on first install. The archive is extracted directly into the WebStorm config directory, so all exported settings (keymaps, code styles, inspections, etc.) are applied before WebStorm 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. `"dev.blachut.svelte.lang"`, `"org.jetbrains.plugins.github"`). 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 WebStorm, e.g. `"2048m"` for 2 GB or `"4096m"` for 4 GB. Written to `webstorm.vmoptions` in the IDE config directory as `-Xmx<value>`.
17
+
18
+
-**jvmMinHeapSize***(string, optional)* — Initial JVM heap allocated to WebStorm, e.g. `"512m"`. Written to `webstorm.vmoptions` as `-Xms<value>`. Typically set to half the max heap size.
19
+
20
+
## Example usage
21
+
22
+
### Install WebStorm with plugins
23
+
24
+
```json title="codify.jsonc"
25
+
[
26
+
{
27
+
"type": "webstorm",
28
+
"plugins": [
29
+
"dev.blachut.svelte.lang",
30
+
"org.jetbrains.plugins.github"
31
+
]
32
+
}
33
+
]
34
+
```
35
+
36
+
### Install WebStorm, import previous settings, and increase heap
37
+
38
+
```json title="codify.jsonc"
39
+
[
40
+
{
41
+
"type": "webstorm",
42
+
"settingsZip": "/path/to/webstorm-settings.zip",
43
+
"importSettings": true,
44
+
"jvmMaxHeapSize": "4096m",
45
+
"jvmMinHeapSize": "1024m",
46
+
"plugins": [
47
+
"dev.blachut.svelte.lang",
48
+
"org.jetbrains.plugins.github"
49
+
]
50
+
}
51
+
]
52
+
```
53
+
54
+
## Notes
55
+
56
+
- On macOS a CLI launcher symlink is created at `/usr/local/bin/webstorm` during install so that `webstorm` 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 `webstorm.vmoptions` in `~/Library/Application Support/JetBrains/WebStorm<version>/` on macOS and `~/.config/JetBrains/WebStorm<version>/` on Linux. If WebStorm 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.
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "default",
3
-
"version": "1.3.0",
3
+
"version": "1.4.0-beta.5",
4
4
"description": "Default plugin for Codify - provides 50+ declarative resources for managing development tools and system configuration across macOS and Linux",
0 commit comments