To work seamlessly on different Windows 10 devices, I added an Eclipse workspace to OneDrive (OneDrive/Eclipse). The contents of this folder are my projects, and a .metadata
(~45MB) folder, and a (hidden?) .recommenders
(~5MB) folder.
Because all of this is inside OneDrive, all files and projects get synced between devices. If I come home from work, the projects will sync to my home computer, but so will the .metadata and .recommenders folders.
The problem is that OneDrive often runs into issues: something cannot be synced or overwritten, so it creates a local copy - which is obviously annoying. Upon closer inspections I realised I don't even know what .metadata and .recommenders are, or what they do.
The . metadata folder is an area where Eclipse plug-ins can save any information they want to save. This will include things like your preference settings, information about the contents of projects and the indices the Java plug-in uses to find classes and methods quickly.
2.1 Setting Up Your Workspace and Project Directories A workspace is a directory that contains all your configuration and state information, such as your Oracle Enterprise Pack for Eclipse color preferences, recently opened files, caches, and so on. By default your portal projects go in your workspace.
Open Eclipse and navigate to the Window > Preferences. Scroll down the left-hand panel in the Preferences window and click the Remote Systems drop-down root menu. 3. Click the Clear Cached Files button in the File Cache window.
The workspace is a directory on the disk where the Eclipse platform and all the installed plug-ins store preferences, configurations and temporary information. Subsequent Eclipse invocations will use this storage to restore the previous state. As the name suggests, it is your "space of work".
To what extend do you want it to be seamless? Including workspace settings or not?
.recommenders
should contain information about dynamic ctrl-space completion based on the user's past behavior etc. Probably not needed for a seamless experience unless you care about details..metadata
is all the workspace settings & cache & essentially the workspace's home directory. It contains all sorts of things: What is the .metadata folder in Eclipse workspace? Not super important to sync if you enable per project settings instead of workspace settings. But maybe needed for whatever your definition of seamless is. There is lots of caching and other things in there that isn't useful to sync and can cause odd effects so I would rather avoid the entire folder.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With