Skip to content

Commit

Permalink
Merge pull request #226 from TerminalFi/fix/Telemetry
Browse files Browse the repository at this point in the history
Update LSP-copilot.sublime-settings
  • Loading branch information
TerminalFi authored Dec 23, 2024
2 parents 7ac8884 + a24b33f commit 530359c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 3 additions & 1 deletion LSP-copilot.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@
// 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": false,
"telemetry": {
"telemetryLevel": null
},
},
// ST4 configuration
"selector": "source | text | embedding"
Expand Down
9 changes: 7 additions & 2 deletions sublime-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,14 @@
"type": "string"
},
"telemetry": {
"default": false,
"markdownDescription": "Enables Copilot telemetry requests for `Accept` and `Reject` completions.",
"type": "boolean"
"type": "object",
"items": {
"telemetryLevel": {
"markdownDescription": "Level of Telemetry to be sent. (null, 'all')",
"type": "string"
}
}
}
}
}
Expand Down

0 comments on commit 530359c

Please sign in to comment.