Skip to content

Commit bc29d10

Browse files
committed
working on inline completions
1 parent 061066b commit bc29d10

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

plugin/constants.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# ---------------- #
1919

2020
REQ_CHECK_STATUS = "checkStatus"
21+
REQ_CHECK_QUOTA = "checkQuota"
2122
REQ_COPILOT_MODELS = "copilot/models"
2223
REQ_COPILOT_SET_MODEL_POLICY = "copilot/setModelPolicy"
2324
REQ_COPILOT_CODE_REVIEW = "copilot/codeReview"
@@ -44,6 +45,21 @@
4445
# }
4546
# }
4647

48+
# textDocument/inlineCompletionPrompt
49+
# {
50+
# textDocument: nv,
51+
# position: wl,
52+
# formattingOptions: I.Optional(
53+
# I.Object({
54+
# tabSize: I.Optional(I.Union([I.Integer({ minimum: 1 }), I.String()])),
55+
# insertSpaces: I.Optional(I.Union([I.Boolean(), I.String()])),
56+
# }),
57+
# ),
58+
# context: _nt,
59+
# data: I.Optional(I.Unknown()),
60+
# }
61+
# textDocument/inlineCompletion
62+
4763
# --------------------- #
4864
# Copilot chat requests #
4965
# --------------------- #
@@ -96,3 +112,4 @@
96112
EDIT_STATUS_OVERALL_DESCRIPTION = "overall-description-generated"
97113
EDIT_STATUS_CODE_GENERATED = "updated-code-generated"
98114
EDIT_STATUS_NO_CODE_BLOCKS = "no-code-blocks-found"
115+
# "updated-code-generating"

0 commit comments

Comments
 (0)