-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathLSP-copilot.sublime-settings
46 lines (46 loc) · 1.63 KB
/
LSP-copilot.sublime-settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"command": [
"${node_bin}",
"${server_path}",
"--stdio"
],
"schemes": [
"file",
"buffer",
"res"
],
"settings": {
"auto_ask_completions": true,
"commit_completion_on_tab": true,
"completion_style": "popup",
"debug": false,
"hook_to_auto_complete_command": false,
"local_checks": false,
"proxy": "",
"prompts": [
{
"id": "review",
"description": "Review code and provide feedback.",
"prompt": [
"Review the referenced code and provide feedback.",
"Feedback should first reply back with the line or lines of code, followed by the feedback about the code.",
"Do not invent new problems.",
"The feedback should be constructive and aim to improve the code quality.",
"If there are no issues detected, reply that the code looks good and no changes are necessary.",
"Group related feedback into a single comment if possible.",
"Present each comment with a brief description of the issue and a suggestion for improvement.",
"Use the format `Comment #: [description] [suggestion]` for each comment, # representing the number of comments.",
"At last provide a summary of the overall code quality and any general suggestions for improvement.",
]
}
],
// The (Jinja2) template of the status bar text which is inside the parentheses `(...)`.
// See https://jinja.palletsprojects.com/templates/
"status_text": "{% if is_copilot_ignored %}{{ is_copilot_ignored }}{% elif is_waiting %}{{ is_waiting }}{% elif server_version %}v{{ server_version }}{% endif %}",
"telemetry": {
"telemetryLevel": null
},
},
// ST4 configuration
"selector": "source | text | embedding"
}