Template:EclipseStandardSetup: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
No edit summary
mNo edit summary
Line 12: Line 12:
* Window - Preferences - PHP - Code Style - Formatter - Default indentation for array initializer -> 0
* Window - Preferences - PHP - Code Style - Formatter - Default indentation for array initializer -> 0
* Window - Preferences - PHP - Editor - Typing - Uncheck "When Pasting Adjust Indentation" (keeping this option checked create corruption of text files by adding bad end of line characters)
* Window - Preferences - PHP - Editor - Typing - Uncheck "When Pasting Adjust Indentation" (keeping this option checked create corruption of text files by adding bad end of line characters)
* Window - Preferences - PHP - Code Style - Formatter - Choose '''PSR2''' profile.
* Note: You can also disable Windows - Preferences - PHP - Editor - Content Assist - Auto Activation
* Note: You can also disable Windows - Preferences - PHP - Editor - Content Assist - Auto Activation
Or if your Eclipse version suggests it, choose '''PSR2''' profile.

Navigation menu