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
Copy file name to clipboardExpand all lines: pkg/analysis_server/tool/lsp_spec/README.md
+19-2Lines changed: 19 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -285,13 +285,30 @@ Params: `{ uri: Uri }`
285
285
286
286
Notifies the client that the content in the virtual file with `uri` may have changed (for example because a macro executed and regenerated its content).
287
287
288
-
### dart/connectToDtd Method (Experimental)
288
+
### dart/connectToDtd Method
289
289
290
290
Direction: Client -> Server
291
291
Params: `{ uri: Uri }`
292
292
Returns: `null`
293
293
294
-
Provides the URI of a Dart Tooling Daemon server to allow the LSP server to connect and provide access to a subset of LSP functionality to DTD clients. This support is still a work in progress and should not be used outside of development (yet).
294
+
Provides the URI of a Dart Tooling Daemon server to allow the LSP server to connect and provide access to a subset of LSP functionality to DTD clients. This method can only be called by the tool that owns the analysis server process (via stdin/stdout) and not through DTD.
295
+
296
+
### dart/textDocument/editableArguments Method
297
+
298
+
Direction: Client -> Server
299
+
Params: `TextDocumentPositionParams`
300
+
Returns: `EditableArguments`
301
+
302
+
Returns the list of editable arguments at a position within the current document. This information can be used to update arguments in the document by using the `dart/textDocument/editArgument` request.
303
+
304
+
### dart/textDocument/editArgument Method
305
+
306
+
Direction: Client -> Server
307
+
Params: `EditArgumentParams`
308
+
Returns: `Null`
309
+
310
+
Instructs the editor to edit the value of an argument (that was returned from a `dart/textDocument/editableArguments` request).
0 commit comments