| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 | 140 |
| 141 In the Project Explorer on the left side: | 141 In the Project Explorer on the left side: |
| 142 | 142 |
| 143 1. Right-click on "src" and select "Properties..." | 143 1. Right-click on "src" and select "Properties..." |
| 144 1. Open Resource > Resource Filters | 144 1. Open Resource > Resource Filters |
| 145 1. Click "Add..." | 145 1. Click "Add..." |
| 146 1. Add the following filter: | 146 1. Add the following filter: |
| 147 * Include only | 147 * Include only |
| 148 * Files, all children (recursive) | 148 * Files, all children (recursive) |
| 149 * Name matches | 149 * Name matches |
| 150 `.*\.(c|cc|cpp|h|mm|inl|idl|js|json|css|html|gyp|gypi|grd|grdp|gn)` | 150 `.*\.(c|cc|cpp|h|mm|inl|idl|js|json|css|html|gyp|gypi|grd|grdp|gn|gni|mo
jom)` |
| 151 regular expression | 151 regular expression |
| 152 1. Add another filter: | 152 1. Add another filter: |
| 153 * Exclude all | 153 * Exclude all |
| 154 * Folders | 154 * Folders |
| 155 * Name matches `out_.*|\.git|\.svn|LayoutTests` regular expression | 155 * Name matches `out_.*|\.git|\.svn|LayoutTests` regular expression |
| 156 * If you aren't working on WebKit, adding `|WebKit` will remove more | 156 * If you aren't working on WebKit, adding `|WebKit` will remove more |
| 157 files | 157 files |
| 158 1. Click "OK" | 158 1. Click "OK" |
| 159 | 159 |
| 160 Don't exclude the primary "out" directory, as it contains generated header files | 160 Don't exclude the primary "out" directory, as it contains generated header files |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 ### Additional tips | 403 ### Additional tips |
| 404 | 404 |
| 405 1. Mozilla's | 405 1. Mozilla's |
| 406 [Eclipse CDT guide](https://developer.mozilla.org/en-US/docs/Eclipse_CDT) | 406 [Eclipse CDT guide](https://developer.mozilla.org/en-US/docs/Eclipse_CDT) |
| 407 is helpful: | 407 is helpful: |
| 408 1. For improved performance, I use medium-granularity projects (eg. one for | 408 1. For improved performance, I use medium-granularity projects (eg. one for |
| 409 WebKit/Source) instead of putting all of 'src/' in one project. | 409 WebKit/Source) instead of putting all of 'src/' in one project. |
| 410 1. For working in Blink (which uses WebKit code style), feel free to use | 410 1. For working in Blink (which uses WebKit code style), feel free to use |
| 411 [this](https://drive.google.com/file/d/0B2LVVIKSxUVYM3R6U0tUa1dmY0U/view?usp
=sharing) | 411 [this](https://drive.google.com/file/d/0B2LVVIKSxUVYM3R6U0tUa1dmY0U/view?usp
=sharing) |
| 412 code-style formatter XML profile | 412 code-style formatter XML profile |
| OLD | NEW |