continue icon indicating copy to clipboard operation
continue copied to clipboard

write a docstring for this code.

Open linnnff opened this issue 1 year ago • 2 comments

Validations

  • [X] I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • [X] I'm not able to find an open issue that requests the same enhancement

Problem

how to choose language when i use write a docstring for this code.

Solution

No response

linnnff avatar Sep 05 '24 06:09 linnnff

i want use chinese to write docsting.

linnnff avatar Sep 05 '24 06:09 linnnff

@linnnff There are a couple of ways to do this:

If you always want the model to respond in Chinese, you can set "systemMessage": "Always respond in Chinese" in config.json.

If you want to customize only the docstring prompt, you can change it like this:

"experimental": {
    "contextMenuPrompts": {
      "docstring": "Write a docstring for this code in Chinese. Do not change anything about the code itself."
    }
  },

in config.json

sestinj avatar Sep 05 '24 14:09 sestinj

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Mar 03 '25 04:03 github-actions[bot]

This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!

github-actions[bot] avatar Mar 14 '25 02:03 github-actions[bot]