-
Notifications
You must be signed in to change notification settings - Fork 25
/
sublime-package.json
157 lines (157 loc) · 6.27 KB
/
sublime-package.json
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"contributions": {
"settings": [
{
"file_patterns": [
"/LSP-copilot.sublime-settings"
],
"schema": {
"$id": "sublime://settings/LSP-copilot",
"definitions": {
"PluginConfig": {
"properties": {
"initializationOptions": {
"additionalProperties": false,
"type": "object",
"properties": {}
},
"settings": {
"additionalProperties": false,
"type": "object",
"properties": {
"authProvider": {
"default": "github",
"markdownDescription": "The GitHub identity to use for Copilot",
"type": "string",
"enumDescriptions": [
"github.com",
"GitHub Enterprise"
],
"enum": [
"github",
"github-enterprise"
],
},
"auto_ask_completions": {
"default": true,
"description": "Auto ask the server for completions. Otherwise, you have to trigger it manually.",
"type": "boolean"
},
"commit_completion_on_tab": {
"default": true,
"markdownDescription": "Use the `Tab` key for committing Copilot's completion. This may conflict with Sublime Text's `auto_complete_commit_on_tab` setting.",
"type": "boolean"
},
"completion_style": {
"default": "popup",
"markdownDescription": "Completion style. `popup` is the default, `phantom` is experimental(there are [well-known issues](https://github.com/TheSecEng/LSP-copilot/issues)).",
"type": "string",
"enum": [
"popup",
"phantom"
]
},
"debug": {
"default": false,
"markdownDescription": "Enables `debug` mode fo the LSP-copilot. Enabling all commands regardless of status requirements.",
"type": "boolean"
},
"github-enterprise": {
"type": "object",
"markdownDescription": "The configuration for Github Enterprise.",
"properties": {
"url": {
"default": "",
"description": "The URL of the GitHub Enterprise instance.",
"type": "string"
}
}
},
"hook_to_auto_complete_command": {
"default": false,
"markdownDescription": "Ask the server for completions when the `auto_complete` command is called.",
"type": "boolean"
},
"local_checks": {
"default": false,
"description": "Enables local checks. This feature is not fully understood yet.",
"type": "boolean"
},
"prompts": {
"default": true,
"markdownDescription": "Enables custom user prompts for Copilot completions.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"markdownDescription": "The ID of the prompt that acts as the trigger. `/` is automatically assumed and shouldn't be included.",
"type": "string"
},
"description": {
"markdownDescription": "The description of the prompt.",
"type": "string"
},
"prompt": {
"markdownDescription": "The prompt message.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"proxy": {
"default": "",
"markdownDescription": "The HTTP proxy to use for Copilot requests. It's in the form of `username:password@host:port` or just `host:port`.",
"type": "string"
},
"status_text": {
"default": "{% if server_version %}v{{ server_version }}{% endif %}",
"markdownDescription": "The (Jinja2) template of the status bar text which is inside the parentheses `(...)`. See https://jinja.palletsprojects.com/templates/",
"type": "string"
},
"telemetry": {
"default": false,
"markdownDescription": "Enables Copilot telemetry requests for `Accept` and `Reject` completions.",
"type": "boolean"
}
}
}
}
}
},
"allOf": [
{
"$ref": "sublime://settings/LSP-plugin-base"
},
{
"$ref": "sublime://settings/LSP-copilot#/definitions/PluginConfig"
}
]
}
},
{
"file_patterns": [
"/*.sublime-project"
],
"schema": {
"properties": {
"settings": {
"properties": {
"LSP": {
"properties": {
"LSP-copilot": {
"$ref": "sublime://settings/LSP-copilot#/definitions/PluginConfig"
}
}
}
}
}
}
}
}
]
}
}