| OLD | NEW |
| 1 # Linux Eclipse Dev | 1 # Linux Eclipse Dev |
| 2 | 2 |
| 3 Eclipse can be used on Linux (and probably Windows and Mac) as an IDE for | 3 Eclipse can be used on Linux (and probably Windows and Mac) as an IDE for |
| 4 developing Chromium. It's unpolished, but here's what works: | 4 developing Chromium. It's unpolished, but here's what works: |
| 5 | 5 |
| 6 * Editing code works well (especially if you're used to it or Visual Studio). | 6 * Editing code works well (especially if you're used to it or Visual Studio). |
| 7 * Navigating around the code works well. There are multiple ways to do this | 7 * Navigating around the code works well. There are multiple ways to do this |
| 8 (F3, control-click, outlines). | 8 (F3, control-click, outlines). |
| 9 * Building works fairly well and it does a decent job of parsing errors so | 9 * Building works fairly well and it does a decent job of parsing errors so |
| 10 that you can click and jump to the problem spot. | 10 that you can click and jump to the problem spot. |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 CXX, etc...) will be visible to the eclipse process. | 85 CXX, etc...) will be visible to the eclipse process. |
| 86 | 86 |
| 87 Set the Workspace to be a directory on a local disk (e.g. | 87 Set the Workspace to be a directory on a local disk (e.g. |
| 88 `/work/workspaces/chrome`). Placing it on an NFS share is not recommended -- | 88 `/work/workspaces/chrome`). Placing it on an NFS share is not recommended -- |
| 89 it's too slow and Eclipse will block on access. Don't put the workspace in the | 89 it's too slow and Eclipse will block on access. Don't put the workspace in the |
| 90 same directory as your checkout. | 90 same directory as your checkout. |
| 91 | 91 |
| 92 ### Install the C Development Tools ("CDT") | 92 ### Install the C Development Tools ("CDT") |
| 93 | 93 |
| 94 1. From the Help menu, select Install New Software... | 94 1. From the Help menu, select Install New Software... |
| 95 1. Select the URL for the CDT, | 95 1. Select the 'Workd with' URL for the CDT |
| 96 http://download.eclipse.org/tools/cdt/releases/kepler | 96 1. If it's not there you can click Add... and add it. |
| 97 1. If it's not there you can click Add... and add it. | 97 1. See https://eclipse.org/cdt/downloads.php for up to date |
| 98 versions. |
| 99 1. e.g. with CDT 8.7.0 for Eclipse Mars, use |
| 100 http://download.eclipse.org/tools/cdt/releases/8.7 |
| 98 1. Googlers: We have a local mirror, but be sure you run prodaccess before | 101 1. Googlers: We have a local mirror, but be sure you run prodaccess before |
| 99 trying to use it. | 102 trying to use it. |
| 100 1. Select & install the Main and Optional features. | 103 1. Select & install the Main and Optional features. |
| 101 1. Restart Eclipse | 104 1. Restart Eclipse |
| 102 1. Go to Window > Open Perspective > Other... > C/C++ to switch to the C++ | 105 1. Go to Window > Open Perspective > Other... > C/C++ to switch to the C++ |
| 103 perspective (window layout). | 106 perspective (window layout). |
| 104 1. Right-click on the "Java" perspective in the top-right corner and select | 107 1. Right-click on the "Java" perspective in the top-right corner and select |
| 105 "Close" to remove it. | 108 "Close" to remove it. |
| 106 | 109 |
| 107 ### Create your project(s) | 110 ### Create your project(s) |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 ### Additional tips | 392 ### Additional tips |
| 390 | 393 |
| 391 1. Mozilla's | 394 1. Mozilla's |
| 392 [Eclipse CDT guide](https://developer.mozilla.org/en-US/docs/Eclipse_CDT) | 395 [Eclipse CDT guide](https://developer.mozilla.org/en-US/docs/Eclipse_CDT) |
| 393 is helpful: | 396 is helpful: |
| 394 1. For improved performance, I use medium-granularity projects (eg. one for | 397 1. For improved performance, I use medium-granularity projects (eg. one for |
| 395 WebKit/Source) instead of putting all of 'src/' in one project. | 398 WebKit/Source) instead of putting all of 'src/' in one project. |
| 396 1. For working in Blink (which uses WebKit code style), feel free to use | 399 1. For working in Blink (which uses WebKit code style), feel free to use |
| 397 [this](https://drive.google.com/file/d/0B2LVVIKSxUVYM3R6U0tUa1dmY0U/view?usp
=sharing) | 400 [this](https://drive.google.com/file/d/0B2LVVIKSxUVYM3R6U0tUa1dmY0U/view?usp
=sharing) |
| 398 code-style formatter XML profile | 401 code-style formatter XML profile |
| OLD | NEW |