rstudio/rstudio — pull request #227 by kevinushey (2014-11-24 23:07:08+00:00)
Title: Autocompletion for install.packages

Note that I had already written the install.packages completions infrastructure code; this PR just wires that up to the pre-existing package cache.

You should double-check that I am properly handling mutexes and whatnot on the (singleton) packages cache -- all calls to the cache are locked through a mutex so I do believe that it should be safe, but let me know if you think I missed anything.