aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_proc_macro_srv/src/rustc_server.rs
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-08-08 19:53:38 +0100
committerVeetaha <[email protected]>2020-08-08 19:53:38 +0100
commite43811c1645f78818d5d7fe0054b54a462145847 (patch)
tree43c7e67da3e783af3f06033478d306a2cfc99490 /crates/ra_proc_macro_srv/src/rustc_server.rs
parenta69f19a6a5899bdfb6fc498371650bf54263deff (diff)
Fix no inlay hints / unresolved tokens until manual edit
No we return ContentModified during the workspace loading. This signifies the language client to retry the operation (i.e. the client will continue polling the server while it returns ContentModified). I believe that there might be cases of overly big projects where the backoff logic we have setup in `sendRequestWithRetry` (which we use for inlay hints) might bail too early (currently the largest retry standby time is 10 seconds). However, I've tried on one of my project with 500+ dependencies and it is still enough.
Diffstat (limited to 'crates/ra_proc_macro_srv/src/rustc_server.rs')
0 files changed, 0 insertions, 0 deletions