docs: update docs for generate and refactor directives

This commit is contained in:
Himadri Bhattacharjee
2025-07-09 11:42:07 +05:30
parent 34aeae0496
commit c8a62b9b42

View File

@@ -42,14 +42,15 @@ Mutations are defined in the same scheme as the HTTP API. Check out those detail
``` go
resumeFilename := "resume.pdf"
version := 3
// silos: change the file basename to that of the parent
// refactor: change the file basename to that of the parent
whereIsMyResume :=
filepath.Base(
documentsDirectory + "CV" + "_v" + strconv.Itoa(version) + "/" + resumeFilename)
```
The comment must follow the format `silos: ...` as shown.
- The comment must begin with either of
- `generate: `
- `refactor: `
- Select the code to be modified along with the comment above it.
- Trigger code actions. In helix, this is `space`, `a`.
- Select the option called "ask silos."