if your IDE is slow when you click file

mine would often give me the spinning ball when I click file. On a hunch I deleted most of the recents in the preferences file and that seems to have helped. It was a very long list so I guess it reads that everytime you click file.