Template:EclipseStandardSetup: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
No edit summary
mNo edit summary
Line 8: Line 8:


And if PDT is installed (see later):
And if PDT is installed (see later):
* Window - Preferences - PHP - Code Style - Formatter - Choose '''PSR2''' profile.
* Window - Preferences - PHP - Code Style - Formatter - Tab policy -> Tab
* Window - Preferences - PHP - Code Style - Formatter - Tab policy -> Tab
* Window - Preferences - PHP - Code Style - Formatter - Default indentation for wrapped line -> 1
* Window - Preferences - PHP - Code Style - Formatter - Default indentation for wrapped line -> 1
* 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

Navigation menu