Get desktop application:
View/edit binary Protocol Buffers messages
Next ID: 3, Previous field: completion_id.
Next ID: 1, Previous field: N/A.
(message has no fields)
(message has no fields)
Next ID: 3, Previous field: request_id.
(message has no fields)
Search RPCs.
Next ID: 4, Previous field: num_clusters.
Number of search results to query for.
Number of clusters to group search results into. Note that the response may container fewer clusters than requested if suitable clusters are not found.
Next ID: 2, Previous field: clusters.
Clustered search results ordered by descending mean similarity score.
Next ID: 4, Previous field: metadata.
Next ID: 3, Previous field: hit_limit.
True if max_results was reached.
(message has no fields)
(message has no fields)
Next ID: 1, Previous field: N/A.
(message has no fields)
Next ID: 3, Previous field: uuid.
Chat RPCs.
Next ID: 9, Previous field: disable_cache.
Name of custom model to use, if any.
Next ID: 5, Previous field: latency_info.
(message has no fields)
(message has no fields)
(message has no fields)
(message has no fields)
Next ID: 3, Previous field: event.
(message has no fields)
Refresh context with editor state on IDE events happening.
(message has no fields)
(message has no fields)
Used in:
Next ID: 9, Previous field: completion_parts.
Used in:
Represents a contiguous part of the completion text that is not already in the document. Next ID: 4, Previous field: prefix.
Used in:
Offset in the original document where the part starts. For block parts, this is always the end of the line before the block.
The section of the original line that came before this part. Only valid for COMPLETION_PART_TYPE_INLINE.
In the case of COMPLETION_PART_TYPE_BLOCK, represents the line it is below.
Used in:
Single-line completion parts that appear within an existing line of text.
Possibly multi-line completion parts that appear below an existing line of text.
Like COMPLETION_PART_TYPE_INLINE, but overwrites the existing text.
Next ID: 9, Previous field: cursor_position.
Used in: , , ,
Path relative to the root of the workspace.
Language ID provided by the editor.
Language enum standardized across editors.
Measured in number of UTF-8 bytes.
May be present instead of cursor_offset.
\n or \r\n, if known.
Portion of document visible in IDE;
Used in: ,
0-indexed. Measured in UTF-8 bytes.
0-indexed. Measured in UTF-8 bytes.
Next ID: 3, Previous field: insert_spaces.
Used in:
The matching lines of text, or a portion of the matching line that contains the match.
The Range within `text` corresponding to the text of the match. The number of matches must match the ExactSearchResult's ranges property.
References https://github.com/microsoft/vscode/blob/9b8114e6b9e7fe6217def08b60e240172b12489a/src/vs/workbench/services/search/common/searchExtTypes.ts#L128-L223 Next ID: 14, Previous field: preview_options.
Used in:
The root folder to search within.
Files that match an `includes` glob pattern should be included in the search.
unsupported
Files that match an `excludes` glob pattern should be excluded from the search.
unsupported
Whether external files that exclude files, like .gitignore, should be disregarded.
Whether symlinks should be followed while searching.
Whether global files that exclude files, like .gitignore, should be disregarded.
Whether files in parent directories that exclude files, like .gitignore, should be disregarded.
Exclude files larger than `maxFileSize` in bytes.
Interpret files using this encoding.
Number of lines of context to include before each match.
unsupported
Number of lines of context to include after each match.
unsupported
The maximum number of results to be returned. If not specified, all results are returned.
Options to specify the size of the result text preview.
unsupported
Next ID: 3, Previous field: chars_per_line.
Used in:
The maximum number of lines in the preview.
The maximum number of characters included per line.
References https://github.com/microsoft/vscode/blob/9b8114e6b9e7fe6217def08b60e240172b12489a/src/vs/workbench/services/search/common/searchExtTypes.ts#L91-L119 Next ID: 6, Previous field: is_word_match.
Used in:
The text pattern to search for.
Whether or not `pattern` should match multiple lines of text.
Whether or not `pattern` should be interpreted as a regular expression.
unsupported
Whether or not the search should be case-sensitive.
Whether or not to search for whole word matches only.
unsupported
References: https://github.com/microsoft/vscode/blob/9b8114e6b9e7fe6217def08b60e240172b12489a/src/vs/workbench/services/search/common/searchExtTypes.ts#L300-L357 Next ID: 6, Previous field: result_id.
Used in:
The absolute path for the matching document.
The relative path for the matching document.
The ranges of the match within the document.
A preview of the text match.
UUID for the search result
Next ID: 3, Previous field: force_disable_experiments.
Used in:
Used as request type in: LanguageServerService.GetChatMessage
Used as field type in:
Chat messages in ascending order of timestamp.
Context
Next ID: 5, Previous field: end_position.
Used in: , , ,
Used as request type in: LanguageServerService.RecordChatFeedback
Used as field type in:
Next ID: 7, Previous field: repo_info.
Used in:
The ID of the embedding (value in faiss index).
Absolute path for the search result file.
WorkspacePath for each workspace containing this search result.
The embedding metadata for the search result.
Similarity score between the search result embedding and the query embedding. Smaller is better.
Next ID: 5, Previous field: mean_similarity_score.
Used in:
List of search results.
Path for the directory most representative of the cluster. Generally this is a directory containing most of the results in the cluster.
Natural language description / summary of clustered search results.
Mean similarity score between clustered search result embeddings and query embedding.
UUID for the search
UUID for the cluster result
Next ID: 3, Previous field: message.
Used in:
Used in:
Text to insert after the cursor when accepting the completion.
Cursor position delta (as signed offset) from the end of the inserted completion (including the suffix).