Template:EclipseStandardSetup: Difference between revisions
No edit summary |
mNo edit summary Tag: 2017 source edit |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
* Window - Preferences - General - Editor - Text editors - Insert spaces for tab -> No | * Window - Preferences - General - Editor - Text editors - Insert spaces for tab -> No | ||
* Window - Preferences - General - Editor - File Association -> Add *.lang associated to "Text Editor" | * Window - Preferences - General - Editor - File Association -> Add *.lang associated to "Text Editor" | ||
* Note: You can also disable Windows - Preferences - Java - Editor - Content Assist - Auto Activation | |||
And if PDT is installed (see later): | And if PDT is installed (see later): | ||
* 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" ( | * 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 - 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 | |||
Latest revision as of 03:36, 26 February 2020
- Window - Preferences - General - Workspace - Text file encoding -> UTF8
- Window - Preferences - General - Workspace - New text file line delimiter -> Unix
- Window - Preferences - General - Compare/Patch - Ignore white spaces -> Yes
- Window - Preferences - General - Editor - Text editors - Tab delimiter length -> 4
- Window - Preferences - General - Editor - Text editors - Insert spaces for tab -> No
- Window - Preferences - General - Editor - File Association -> Add *.lang associated to "Text Editor"
- Note: You can also disable Windows - Preferences - Java - Editor - Content Assist - Auto Activation
And if PDT is installed (see later):
- 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 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 - 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