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
description: Two new improvements on the VS Code extension. It will now automatically sync its workspaces configuration with the windmill CLI ones, and has yaml syntax validation for flow.yaml files.
Copy file name to clipboardExpand all lines: docs/advanced/4_local_development/index.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -302,6 +302,10 @@ Syncing directly from the CLI is great, but instead of using the CLI directly, y
302
302
/>
303
303
</div>
304
304
305
+
## LLMs rules for local development
306
+
307
+
The `wmill init` command will create cursor rules and CLAUDE.md files to enhance your AI experience when working with scripts and flows. These files provide context and guidelines for AI assistants to better assist you in creating scripts and flows that match Windmill's guidelines. You can safely delete them if you do not use LLMs on your local development.
308
+
305
309
## Run locally
306
310
307
311
Windmill has its [own integrated development environment](../../code_editor/index.mdx). But for iteration, integration with CI/CD and testing purposes you may need to run a script locally that also interacts with Windmill (for example, to retrieve resources). It will allow you to integrate Windmill with any testing framework.
Copy file name to clipboardExpand all lines: docs/cli_local_dev/1_vscode-extension/index.mdx
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,13 +58,11 @@ First of all, have your workspace synced locally with [Windmill CLI](../../advan
58
58
59
59
With [wmill sync pull](../../advanced/3_cli/sync.mdx#pulling) and [wmill sync push](../../advanced/3_cli/sync.mdx) you can synchronize your remote workspace to a local directory which you would version with GitHub / GitLab.
60
60
61
-
In the settings menu, set the remote url, workspace name and [token](../../core_concepts/4_webhooks/index.mdx#user-token).
61
+
Then you can:
62
62
63
63
1. Install the [extension](https://marketplace.visualstudio.com/items?itemName=windmill-labs.windmill).
64
64
65
-
2. Enter your Windmill remote URL and [token](../../core_concepts/4_webhooks/index.mdx#user-token), so the extension can execute scripts and flows on your workspace.
66
-
67
-
3. From any script file, use `> Windmill: Run preview in the current editor` or Ctrl+Enter and Shift+Enter to generate the UI preview (provided that the script meets the [few rules](../../core_concepts/13_json_schema_and_parsing/index.mdx#json-schema-in-windmill) required by Windmill).
65
+
2. From any script file, use `> Windmill: Run preview in the current editor` or Ctrl+Enter and Shift+Enter to generate the UI preview (provided that the script meets the [few rules](../../core_concepts/13_json_schema_and_parsing/index.mdx#json-schema-in-windmill) required by Windmill).
68
66
69
67
All details to set up the workspace folder:
70
68
@@ -120,6 +118,10 @@ Editing the flow from the UI immediately modifies the YAML definition
120
118
src="/videos/yaml_to_ui.mp4"
121
119
/>
122
120
121
+
### Flow YAML validation
122
+
123
+
The VS Code extension includes syntax validation for flow.yaml files, making it easier to spot mistakes and ensure your flows are properly formatted before testing or deployment.
124
+
123
125
### Infer lockfile or use current lockfile
124
126
125
127
With this toggle, you can choose to use the metadata lockfile ([derived from](../../advanced/3_cli/script.md#packagejson--requirementstxt) package.json or requirements.txt after [`wmill script generate-metadata`](../../advanced/3_cli/script.md#re-generating-a-script-metadata-file)) instead of inferring them directly from the script.
@@ -142,15 +144,18 @@ Access these commands through the Command Palette (Ctrl/Cmd+Shift+P):
142
144
143
145
## Settings
144
146
147
+
The extension automatically uses workspace settings from your Windmill CLI configuration if available. This provides seamless integration between the CLI and VS Code extension without needing to configure settings separately.
0 commit comments