|
|
**WICHTIG!!! Informationen können veraltet sein!!! Da wir auf PhpStorm umgestiegen sind. Bessere Plugins, bessere Performance.**
|
|
|
|
|
|
## Eclipse Plugins - muss
|
|
|
|
|
|
+ AnyEdit
|
|
|
+ Install Server: http://andrei.gmxhome.de/eclipse/
|
|
|
|
|
|
+ JSHint
|
|
|
+ Install Server: http://github.eclipsesource.com/jshint-eclipse/updates/
|
|
|
+ http://github.eclipsesource.com/jshint-eclipse/install.html
|
|
|
|
|
|
+ Aptana Plugin
|
|
|
+ Install Server: http://download.aptana.com/studio3/plugin/install
|
|
|
|
|
|
+ PDT
|
|
|
+ Einfach danach suchen, ist in den standard Updateservern normalerweise enthalten.
|
|
|
|
|
|
## Eclipse Einstellungen
|
|
|
|
|
|
+ Es wird nur UTF8 verwendet
|
|
|
|
|
|
### Tabs immer mit 4 spaces
|
|
|
|
|
|
+ -> Window -> Preferences -> PHP -> Code Style -> Formatter
|
|
|
|
|
|
Tab Policy = Spaces
|
|
|
Intendation Size = 4
|
|
|
|
|
|
Bei Eclipse 4.2 alles auf 4
|
|
|
|
|
|
|
|
|
### Tabs immer als spaces einfügen
|
|
|
|
|
|
+ -> Window -> Preferences -> General -> Editors -> Text Editors
|
|
|
|
|
|
Insert spaces for tabs - aktivieren
|
|
|
|
|
|
|
|
|
### AnyEdit Tools
|
|
|
|
|
|
+ -> Window -> Preferences -> General -> Editors -> AnyEdit Tools
|
|
|
|
|
|
**Tab: Auto - Convert**
|
|
|
Remove trailing whitespaces - aktivieren
|
|
|
|
|
|
Convert tabs <-> spaces - aktivieren
|
|
|
Tabs to spaces - aktivieren
|
|
|
|
|
|
**Tab: Convert...***
|
|
|
Tab width/number of spaces for tabs = 4
|
|
|
|
|
|
## Eclipse Einstellungen für das bessere Programmieren
|
|
|
|
|
|
### JavaScript libraries einbinden
|
|
|
|
|
|
+ -> Window -> Preferences -> JavaScript -> Include Path -> User Libraries
|
|
|
|
|
|
Hier requiresjs, mootools und quiqqer einbinden
|
|
|
|
|
|
### JavaScript Syntax Validator in Aptana ausschalten
|
|
|
|
|
|
+ -> Window -> Preferences -> Aptana Studio -> Validation
|
|
|
|
|
|
Der JavaScript Syntax Validator und JSLint kann ausgeschaltet werden, da dies JSHint übernimmt.
|
|
|
|
|
|
### Eclipse Web Developer Tools
|
|
|
|
|
|
Packet "Eclipse Web Developer Tools" installieren und XML / HTML / DTD Validation kann eingestellt werden.
|
|
|
|
|
|
+ Rechtsklick auf ein Projekt -> Validation
|
|
|
|
|
|
|
|
|
### Coloring PHP
|
|
|
|
|
|
Dies ist in erster Linie für uns, da wir das standard Coloring von PHP in Eclipse nicht besonders mögen.
|
|
|
|
|
|
+ Coloring PHP -> PHP -> Editor -> Syntax Coloring
|
|
|
|
|
|
|
|
|
+ Deprecated members
|
|
|
+ Enable
|
|
|
+ Foreground #000000
|
|
|
+ Background #FFFFFF
|
|
|
+ Strikthrough
|
|
|
|
|
|
+ Fields
|
|
|
+ Enable
|
|
|
+ Foreground #0000C0
|
|
|
+ Background #FFFFFF
|
|
|
|
|
|
+ Heredoc
|
|
|
+ Enable
|
|
|
+ Foreground #008282
|
|
|
+ Background #FFFFFF
|
|
|
|
|
|
+ Keyword
|
|
|
+ Enable
|
|
|
+ Foreground #0000FF
|
|
|
+ Background #FFFFFF
|
|
|
+ Bold
|
|
|
|
|
|
+ Multi-line comment
|
|
|
+ Enable
|
|
|
+ Foreground #557F5F
|
|
|
+ Background #FFFFFF
|
|
|
|
|
|
+ Normal
|
|
|
+ Enable
|
|
|
+ Foreground #000000
|
|
|
+ Background #FFFFFF
|
|
|
|
|
|
+ Number
|
|
|
+ Enable
|
|
|
+ Foreground #FF0000
|
|
|
+ Background #FFFFFF
|
|
|
|
|
|
+ PHP tags
|
|
|
+ Enable
|
|
|
+ Foreground #FF0000
|
|
|
+ Background #FFFFFF
|
|
|
|
|
|
+ PHP Doc
|
|
|
+ Enable
|
|
|
+ Foreground #7F9FBF
|
|
|
+ Background #FFFFFF
|
|
|
+ Bold
|
|
|
|
|
|
+ PHP Doc
|
|
|
+ Enable
|
|
|
+ Foreground #808080
|
|
|
+ Background #FFFFFF
|
|
|
|
|
|
+ Single-line comment
|
|
|
+ Enable
|
|
|
+ Foreground #808080
|
|
|
+ Background #FFFFFF
|
|
|
|
|
|
+ Static fields
|
|
|
+ Enable
|
|
|
+ Foreground #0000C0
|
|
|
+ Background #FFFFFF
|
|
|
+ Italic
|
|
|
|
|
|
+ Static methods
|
|
|
+ Enable
|
|
|
+ Foreground #000000
|
|
|
+ Background #FFFFFF
|
|
|
+ Italic
|
|
|
|
|
|
+ String
|
|
|
+ Enable
|
|
|
+ Foreground #008200
|
|
|
+ Background #FFFFFF
|
|
|
|
|
|
+ Task Tag
|
|
|
+ Enable
|
|
|
+ Foreground #7CA5D5
|
|
|
+ Background #FFFFFF
|
|
|
+ Bold
|
|
|
|
|
|
+ Variable
|
|
|
+ Enable
|
|
|
+ Foreground #660000
|
|
|
+ Background #FFFFFF
|
|
|
|
|
|
### Eclipse spinnt rum :(
|
|
|
|
|
|
Oft hakt Eclipse oder braucht ewig, um den Workspace aufzubauen. Schauen Sie einmal in Ihre Eclipse Config wie die RAM Einstellungen aussehen. Standard sind 256MB eingestellt, dies kann natürlich auf 512 oder 1024 eingestellt werden. Die Rechner bei uns sollten das alle schaffen. |
|
|
\ No newline at end of file |