Template:EclipseStandardSetup: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Tag: 2017 source edit
 
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.
* Window - Preferences - PHP - Code Style - Formatter - Use the profile provided into '''dev/setup/eclipse/PSR-12 [built-in].xml''' as Eclipse syntax formatter.
* 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