Andrew Craig

Results 89 comments of Andrew Craig

Hi @wngrtn, the language server should know about `left_join` if the text `library(dplyr)` appears in an R document that is opened or saved, so could you try that? If you...

@wngrtn @izahn Can you provide steps that can be followed to reproduce this problem?

@izahn Thank you for the nice reproducible example! The equivalent process in VSCode works without the second save. That is: open an R file, write `library(stringr)` at the top, save,...

@randy3k @izahn I think this might be an eglot issue. The README says that eglot ‘Sends `textDocument/didChange` for groups of edits, not one per each tiny change’. This suggests that...

Open issue on eglot for allowing customisation of the time before changes are sent to the language server: https://github.com/joaotavora/eglot/issues/258

Most of my projects are not a single package so I'm keen for a bit more flexibility here too. Another option might be file-based inclusion/exclusion. For example, the language server...

@randy3k It's effectively optional at the moment because if {typeChecker} isn't installed it fails gracefully and just returns the {lintr} diagnostics as normal. So I think I would just need...

@randy3k Yes, that's a good idea.

Great! I will put together a PR.

Can we add a feature to automatically load all R files in the workspace on initialisation (and on workspace change)? I think the throttling already implemented in `process_sync_in` would avoid...