Eclipse: Difference between revisions
No edit summary |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
** Help-> Install New Software -> Add... -> Find latest PDT site [ here] -> add https://wiki.eclipse.org/PDT/Installation | ** Help-> Install New Software -> Add... -> Find latest PDT site [ here] -> add https://wiki.eclipse.org/PDT/Installation | ||
** e.g. for Mars1, use http://download.eclipse.org/tools/pdt/updates/3.6/ | ** e.g. for Mars1, use http://download.eclipse.org/tools/pdt/updates/3.6/ | ||
* Install JavaScript | |||
* Install WTP | * Install WTP | ||
** Help-> Install New Software -> Add... -> add -> "WTP Mars", http://download.eclipse.org/webtools/repository/mars/ -> select WTP 3.7.1 | ** Help-> Install New Software -> Add... -> add -> "WTP Mars", http://download.eclipse.org/webtools/repository/mars/ -> select WTP 3.7.1 | ||
Line 40: | Line 41: | ||
* Configure the project according to these [[Eclipse project configuration screenshots]] | * Configure the project according to these [[Eclipse project configuration screenshots]] | ||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! Eclipse ToDo.txt macros | |||
|- | |||
| Set up two [https://marketplace.eclipse.org/content/practically-macro-0 PracticallyMacro] macros, tdw and tda. | |||
tdw (ToDo: Go To Working) | |||
Find: // ^ DONE ^ | |||
[x] case sensitive, search forward, wrap | |||
Line Start | |||
Move cursor down (x4) | |||
tda (ToDo: archive) | |||
Move cursor right (this ensures that the next backwards search gets just what we want) | |||
Find: ^[^ \r\n] | |||
[x] reg expression | |||
Line start | |||
Find: .[\s\S]+?[\n\r]+[^ \r\n] | |||
[x] search forward, reg expression | |||
Select Line Start | |||
Cut | |||
Find: // ^ DONE ^ | |||
[x] case sensitive | |||
Line Start | |||
Move cursor up | |||
Paste | |||
Move cursor down (x5) | |||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! Eclipse annoyances | ! Eclipse annoyances |