Resolve inlay hint data

Skip every propery set in inlay hint client resolve capabilities,
reducing overall json footprint.
This commit is contained in:
Kirill Bulatov
2023-08-28 00:11:26 +03:00
parent 0e002fe5c6
commit e07fbabcfe
9 changed files with 200 additions and 51 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
<!---
lsp/ext.rs hash: 149a5be3c5e469d1
lsp/ext.rs hash: 121482ee911854da
If you need to change the above hash to make the test pass, please check if you
need to adjust this doc as well and ping this issue:
@@ -322,7 +322,7 @@ Position[]
```rust
fn main() {
let x: Vec<()>/*cursor here*/ = vec![]
let x: Vec<()>/*cursor here*/ = vec![];
}
```
@@ -362,7 +362,7 @@ interface RunnablesParams {
```typescript
interface Runnable {
label: string;
/// If this Runnable is associated with a specific function/module, etc, the location of this item
/// If this Runnable is associated with a specific function/module, etc., the location of this item
location?: LocationLink;
/// Running things is necessary technology specific, `kind` needs to be advertised via server capabilities,
// the type of `args` is specific to `kind`. The actual running is handled by the client.