You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
operation: Schema.Literals(operations).annotate({description: "The LSP operation to perform"}),
25
-
filePath: Schema.String.annotate({description: "The absolute or relative path to the file"}),
26
-
line: Schema.Number.check(Schema.isInt())
27
-
.check(Schema.isGreaterThanOrEqualTo(1))
28
-
.annotate({description: "The line number (1-based, as shown in editors)"}),
29
-
character: Schema.Number.check(Schema.isInt())
30
-
.check(Schema.isGreaterThanOrEqualTo(1))
31
-
.annotate({description: "The character offset (1-based, as shown in editors)"}),
27
+
filePath: Schema.optional(Schema.String).annotate({description: "The absolute or relative path to the file. Required for all operations except workspaceSymbol."}),
28
+
line: Schema.optional(oneBasedInt).annotate({description: "The line number (1-based, as shown in editors). Required for: goToDefinition, findReferences, hover, goToImplementation, prepareCallHierarchy, incomingCalls, outgoingCalls."}),
29
+
character: Schema.optional(oneBasedInt).annotate({description: "The character offset (1-based, as shown in editors). Required for: goToDefinition, findReferences, hover, goToImplementation, prepareCallHierarchy, incomingCalls, outgoingCalls."}),
30
+
query: Schema.optional(Schema.String).annotate({description: "Search query. Required for workspaceSymbol operation."}),
0 commit comments