Lines Matching +full:pull +full:- +full:requests

1 //===--- Protocol.h - Language Server Protocol Implementation ---*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // https://github.com/Microsoft/language-server-protocol/blob/main/protocol.md
19 // tests, and is not generally machine-readable.
21 //===----------------------------------------------------------------------===//
40 // from the LLVM coding standard. To avoid the clang-tidy warnings, we're
42 // NOLINTBEGIN(readability-identifier-naming)
49 ParseError = -32700,
50 InvalidRequest = -32600,
51 MethodNotFound = -32601,
52 InvalidParams = -32602,
53 InternalError = -32603,
55 ServerNotInitialized = -32002,
56 UnknownErrorCode = -32001,
59 RequestCancelled = -32800,
60 ContentModified = -32801,
157 /// Line position in a document (zero-based).
160 /// Character offset on a line in a document (zero-based).
161 /// WARNING: this is in UTF-16 codepoints, not bytes or characters!
265 /// A human-readable string describing the actual change. The string
273 /// A human-readable string which is rendered less prominent in
419 // https://github.com/Microsoft/language-server-protocol/issues/344
426 // Length counts code units of UTF-16 encoded text. (Standard LSP behavior).
428 // Length counts bytes of UTF-8 encoded text. (Clangd extension).
526 /// https://github.com/microsoft/vscode-languageserver-node/pull/367
534 /// The content format that should be used for Hover requests.
546 /// The client supports implicit $/progress work-done progress streams,
552 /// Whether the client claims to cancel stale requests.
575 /// workspace/didChangeConfiguration to record updates to the in-memory
588 // Changes to the in-memory compilation database.
643 /// User-provided initialization options.
674 /// long-running operation. Clients that don't support cancellation are
844 // In general, we use a clang-format style detected from common mechanisms
845 // (.clang-format files and the -fallback-style flag).
847 // - the protocol makes FormatOptions mandatory, so many clients set them to
849 // - we also format in other places, where FormatOptions aren't available.
934 /// A human-readable string describing the source of this
944 /// An array of related diagnostic information, e.g. when symbol-names within
1032 /// command back to the server if the user requests to execute a particular code
1067 /// A short, human-readable, title for this code action.
1145 /// This excludes the fuzzy-matching score between `name` and the query.
1146 /// (Specifically, the last ::-separated component).
1147 /// This can be used to re-rank results as the user types, using client-side
1148 /// fuzzy-matching (that score should be multiplied with this one).
1164 /// Unlike SymbolID, it is variable-length and somewhat human-readable.
1221 /// Completion was re-triggered as the current completion list is incomplete.
1303 /// A human-readable string with additional information about this item, like
1307 /// A human-readable string that represents a doc-comment.
1342 /// This excludes the fuzzy-match between `filterText` and the partial word.
1343 /// This can be used to re-rank results as the user types, using client-side
1344 /// fuzzy-matching (that score should be multiplied with this one).
1353 // data?: any - A data entry field that is preserved on a completion item
1384 /// Offsets are computed by lspLength(), which counts UTF-16 code units by
1423 /// ^-argListStart ^-cursor
1424 /// This is a clangd-specific extension, it is only available via C++ API and
1446 /// Placeholder text to use in the editor if non-empty.
1526 /// supertypes or subtypes requests. It could also be used to identify the
1641 /// A parameter literal used in inlay hint requests.
1683 /// Uses comment-like syntax like "// func".
1805 /// The human-readable string presents the current state of the file, can be
1852 /// Requests the changes in semantic tokens since a previous response.
1884 /// Parameters for the inactive regions (server-side) push notification.
1937 // data?: any - A data entry field that is preserved on a document link
1952 // per-line-folding editors.
2001 /// The highest-level node that entirely contains the range will be returned.
2020 /// A one-line dump of detailed information about the node.
2022 /// It is similar to the output from `clang -Xclang -ast-dump`.
2042 static clang::clangd::Position Tomb{-1, -1};
2047 static clang::clangd::Position Tomb{-2, -2};
2069 // NOLINTEND(readability-identifier-naming)