Commit b7bd68b
committed
Start R language server only when needed and stop after 30s of inactivity
- Start the language server only when an R file is opened.
- Stop the server automatically 30 seconds after the last R file is closed.
- Cancel the shutdown timer if a new R file is opened within those 30 seconds.
- Fix "server disconnected" errors by double-checking that no R files are open exactly when the 30-second timer finishes, preventing the server from being accidentally killed while in use.1 parent 20f32fe commit b7bd68b
1 file changed
Lines changed: 418 additions & 137 deletions
0 commit comments