Updating Eclipse: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 15: | Line 15: | ||
== Reinitializing Preferences == | == Reinitializing Preferences == | ||
=== General Prferences === | |||
* Change the font size and appearance. | * Change the font size and appearance. | ||
* Import the formatter settings. Change the line width to 130 on all editors. | * Import the formatter settings. Change the line width to 130 on all editors. | ||
* Reenter all your custom keys. | * Reenter all your custom keys. | ||
* Change all the default encodings to UTF-8 (this is especially important for JSP). | * Change all the default encodings to UTF-8 (this is especially important for JSP, and *.tex files). | ||
* Make all the necessary associations for file types (*.gsp -> JSP editor, *.xlf, *.xul, *xbl -> XML editor). | * Make all the necessary associations for file types (*.gsp -> JSP editor, *.xlf, *.xul, *xbl -> XML editor). | ||
* Recreate your views and perspectives. In General -> Editor -> Text Editors, check the Show Line Numbers checkbox. | * Recreate your views and perspectives. In General -> Editor -> Text Editors, check the Show Line Numbers checkbox. | ||
* Open an XML file and choose "Source" at the bottom at the page. There is no setting for this, Eclipse will just remember to open XML files by default in Source mode. | * Open an XML file and choose "Source" at the bottom at the page. There is no setting for this, Eclipse will just remember to open XML files by default in Source mode. | ||
=== Plugin Preferences === | |||
* For Texlipse, change the indentation (Texlipse -> Editor -> Indentation). You can also change the Viewer Settings (to use kpdf). | |||
== Changing projects == | == Changing projects == | ||
* You may need to redefine variables such as GRAILS_HOME in your existing projects. | * You may need to redefine variables such as GRAILS_HOME in your existing projects. |
Revision as of 13:35, 11 August 2008
This page lists the procedure to recreate a clean workspace and .eclipse folder (containing the plugins) when doing a major Eclipse upgrade.
Preparation
- Move your current ~/.eclipse and workspace folder out of their current places (keep those as backups in case something goes wrong).
- Export your formatter settings as XML files.
Reinstalling plugins
- Install all the plugins listed in Eclipse Plugins and Features.
Import some projects into the new workspace
- This will allow you to test the next step in good conditions.
Reinitializing Preferences
General Prferences
- Change the font size and appearance.
- Import the formatter settings. Change the line width to 130 on all editors.
- Reenter all your custom keys.
- Change all the default encodings to UTF-8 (this is especially important for JSP, and *.tex files).
- Make all the necessary associations for file types (*.gsp -> JSP editor, *.xlf, *.xul, *xbl -> XML editor).
- Recreate your views and perspectives. In General -> Editor -> Text Editors, check the Show Line Numbers checkbox.
- Open an XML file and choose "Source" at the bottom at the page. There is no setting for this, Eclipse will just remember to open XML files by default in Source mode.
Plugin Preferences
- For Texlipse, change the indentation (Texlipse -> Editor -> Indentation). You can also change the Viewer Settings (to use kpdf).
Changing projects
- You may need to redefine variables such as GRAILS_HOME in your existing projects.