Eclipse global preferences [duplicate] - eclipse

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Clone workspace in eclipse
I started a new workspace a couple of weeks ago, and configured eclipse ( Window -> Preferences ). I configured alot of stuff, hotkeys and so on.
Now I have started a new Workspace, but none of the old settings are available.
Is there a way to configure global preferences for eclipse?
I know I can export/import preferences but I have some doubts if that actually takes all of the preferences. Previous experience has told me no, plus it is inconvient as one change in one workspace won't get updated in another and you have this constant non-synchronized properties.
Thank you !

You can have a look at the following plugin : https://github.com/alfsch/workspacemechanic
It's a plugin developed by google which lets you store your preferences and apply them to any workspace automatically.
If you store it in your dropbox (or any other shared storage), you'll be able to share you preferences between all your computers and even between all your team members.
It's the best and most reliable solution for your problem.

No, that´s not possible. All settings are done per workspace.

Related

How to set STM32CubeIDE preferences for all NEW workspaces?

I use CubeMX based on Eclipse. First thing I noticed about it it's just ridiculously slow, and the slowest feature in it is the key binding editor.
I redefined my key bindings and saved my changes, also exported everything to files.
Then I created a new workspace and all my changes are gone. I have to go to the preferences dialog, import my settings, then restart CubeMX. It takes a couple of MINUTES on a fast PC.
Is there a faster way? Is it possible to make my changed settings default for all workspaces?
Some tools (like TouchGFX designer) uses the same project name for all projects. My workaround is to use a separate workspace for each TouchGFX project. It works fine, but the problem is I have to change basic preferences like key bindings and code style for each project. It takes ages.
There is a similar question asked 10 years ago. I've read it. 10 years ago it was impossible to achieve this in Eclipse. What about now? Any NEW workarounds?

Is the workspace in eclipse completely private from others to reach and view?

This might sound like a stupid question to ask, but I'm curious if it is possible for others to view and reach different user's eclipse projects?
I know there is GitHub, but I have not leashed my workspace to a central source or cloud such as Git. Just a question regarding privacy and security.
Let's say you are coding a program in Java with eclipse and it might contain some sensitive information. Is the project completely safe on your computer? Or are there any settings you need to change in order for it to be secure? Like setting a password on the workspace or so?
Thanks in advance guys.
When Eclipse is started, it asks you for a workspace location. Anyone who has access to that location would be able to view your workspace.
To view your current workspace location go to: File -> Switch Workspace -> Other...

Sharing an Eclipse workspace across computers?

I need to design or use 5 to 10 PCs (with eclipse) but with the same workspace, how can I do that? I already tried but I can not share the folder of the workspace, please help
What do you want to achieve, actually?
Because the workspace is supposed to be user specific. It contains things like settings, how perspectives are setup, which view to show where. Which means if two users share a workspace they will continually write of each others settings.
And to enforce this, as soon as you starts Eclipse with a workspace, it is locked preventing someone else to use it.
So sharing workspace is not a good idea.
What I guess you really want to achieve is to share the projects between several developers. Using project sets is a good way to do that. Check out my answer for a different question regarding this.
If you want to share preferences with other users, then check out this question for advice on import/export of preferences.

How to alphabetically sort tabs in new versions of Eclipse [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Can I sort the tabs in Eclipse alphabetically?
Is there a way to alphabetically sort open tabs (editors) in Eclipse in the drop-down chevron? I seem to remember doing it in an older version of Eclipse, but can't seem to figure it out in Juno.
I already had the Extended VS Plugin installed and wanted to share some screen shots of it since it does what you asked about.
After installing the plugin, you must enable it like so :
First time after plugin installation please enable Extended VS Presentation under:
Window->Preferences->General->Appearance->Current presentation.
Then you can sort the tabs either on-demand by right-clicking on one of the tabs like so:
OR, you can choose to have the tabs automatically sorted by going into Preferences -> Appearance -> Extended VS Presentation like so :
I had originally installed this for it's Session Save feature, which allows you to easily save the list of Open Editor Tabs as sessions which can be restored later. Uber useful if you have opened a number of files related to a task or a bug and need to refer to them later.

Eclipse - Universal Preferences Across All Workspaces?

I like to use several different workspaces, so as to keep everything organized. However, its annoying to have to copy the .settings folder to all my workspaces just because I added a keyboard shortcut. I'm looking for a way to update the preferences of all my workspaces whenever I change the preferences in one workspace. The settings I care about are keyboard shortcuts, code style, fonts, etc.
I have found this plugin which might be useful, but doesn't seem to be exactly what I'm looking for.
Ideally, I could have my settings saved in the cloud somewhere. On startup, Eclipse will check if workspace settings and the settings in the cloud differ, and if so, import them from the cloud. If I change any settings, then these preferences should be exported to the cloud. This way I also have my preferences on my school's lab machines.
Does anybody know a way to make this work? I'm all ears.
Thanks
Short answer: no. The easiest thing is probably just manually configure your preferences on those two or three PCs where you use Eclipse, and move on.
Longer answer: yes, you can copy (and standardize) Eclipse settings (e.g. for a standard configuration across your development shop). Here's a good article explaining how:
http://www.javalobby.org/java/forums/t18678.html
Finally, there's still no easy way (AFAIK) to safely and reliably UNINSTALL plug-ins as of the latest/greatest version (Indigo, Eclipse 3.7). So if you find yourself experimenting with a lot of plug-ins .. some of which you might ultimately wish to get rid of ... then maybe your best bet is installing Eclipse on a VM (say, VBox or VMWare, running Linux or Windows). Use your VM as a little "sandbox" where you can try stuff out, and easily clone (if you like it) or blow it away (if you don't).
IMHO...