mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-20 02:47:34 +03:00
355aebd0e4
This PR introduces a new script for iterative development of prompt overrides in Zed. Just `script/prompts link` and your running Zed should start using prompts from `zed/assets/prompts`. Use `script/prompts unlink` to undo. You can also link with `script/prompts link --worktree` to store the prompts to a `../zed_prompts` worktree that's a sibling of your repo, in case you don't want to mess with your working copy. Just don't forget about it! Key changes: - Add new `script/prompts` for managing prompt overrides - Rename `prompt_templates_dir` to `prompt_overrides_dir` for clarity - Update paths to use `~/.config/zed/prompt_overrides` instead of `~/.config/zed/prompts/templates` - Adjust `PromptBuilder` to use the new `prompt_overrides_dir` function These changes simplify the process of customizing prompts and provide a more intuitive naming convention for override-related functionality. Release Notes: - N/A |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-GPL |