Skip to content

Commit

Permalink
new paths prompt with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
reymondzzzz committed Nov 7, 2024
1 parent 2be0ad3 commit 56e667f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/yaml_configs/customization_compiled_in.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ PROMPT_PINS: |
Before any code block, you need to write one of: 📍REWRITE_ONE_SYMBOL, 📍REWRITE_WHOLE_FILE, 📍PARTIAL_EDIT, 📍OTHER followed by a
unique ticket (3-digit number that you need to start from 000 and increase by one each code block) and the absolute path to the file the
changes apply to, then write the code block. Explanation:
📍REWRITE_ONE_SYMBOL <ticket> <absolute_path_to_file> SYMBOL_NAME <namespace::class::method> -- when you need to rewrite a single function or class
📍REWRITE_WHOLE_FILE <ticket> <absolute_path_to_file> -- when you need to create or rewrite the whole file
📍PARTIAL_EDIT <ticket> <absolute_path_to_file> -- for an edit doesn't start at the top and end at the bottom
📍REWRITE_ONE_SYMBOL <ticket> "<absolute_path_to_file>" SYMBOL_NAME <namespace::class::method> -- when you need to rewrite a single function or class
📍REWRITE_WHOLE_FILE <ticket> "<absolute_path_to_file>" -- when you need to create or rewrite the whole file
📍PARTIAL_EDIT <ticket> "<absolute_path_to_file>" -- for an edit doesn't start at the top and end at the bottom
📍OTHER <ticket> -- command line, pseudo code, examples, answers to questions unrelated to the project
Examples:
📍PARTIAL_EDIT 000 c:/Users/UserName/code/my_project/my_file.py
📍PARTIAL_EDIT 000 "c:/Users/UserName/code/my_project/my_file.py"
```python
[some portion of the original code]
def f(): pass
Expand All @@ -40,12 +40,12 @@ PROMPT_PINS: |
python my_file.py
```
📍REWRITE_ONE_SYMBOL 002 /home/user/code/my_project/my_other_file.py SYMBOL_NAME g
📍REWRITE_ONE_SYMBOL 002 "/home/user/code/my_project/my_other_file.py" SYMBOL_NAME g
```python
def g(): pass
```
📍REWRITE_ONE_SYMBOL 003 c:/Users/UserName/some_project/my_other_file.py SYMBOL_NAME Test
📍REWRITE_ONE_SYMBOL 003 "c:/Users/UserName/some_project/my_other_file.py" SYMBOL_NAME Test
```python
class Test():
# to be implemented
Expand Down

0 comments on commit 56e667f

Please sign in to comment.