Justacec/remove projects from menu

Previously I had looked for a way to clear out the list of recently used projects from the projects popup menu.  I was instructed that the only way I could do so was to remove my settings directory and start fresh.  I decided that this morning I would see if I could add a menu option to the projects menu to clear this out.  After some investigation I saw that most of the code was already in place.  I have added in the necessary code to do the minimum thing which is to simply clear the MRU list for the projects.

As indicated earlier, this is the minimum thing that can be done.  I think that there a several possible improvements:

 1. Allow the user to selectively remove individual popup items from a dialog window that would be dedicated to the management of the MRU instance for projects. (Or have action buttons on each project MRU item, say a little "x" symbol, that the user could click which would remove the need for a popup.)  
 2. Do a sanity check and automatically remove the MRU item if the corresponding project file does not exist.
 3. A combination of 1 and 2.
 4. Remove the menu separator and the menu item to clear the contents if there are no current items in the MRU list.
Okay, thanks and appreciate the PR. It is a big system so there are indeed
lots of ways to get lost!


On Tue, Aug 26, 2014 at 7:12 AM, Justace Clutter <notifications@github.com>
wrote:

> In src/gwt/src/org/rstudio/studio/client/projects/Projects.java:
>
> > @@ -163,6 +163,12 @@ public void onSessionInit(SessionInitEvent sie)
> >        });
> >     }
> >
> > +   @Handler
>
> I will look into this mot likely this weekend. Three whole days! I have to
> admit I feel like I am walking around a dark room when making these changes.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/rstudio/rstudio/pull/152/files#r16707244>.
>