Template:EclipseStandardSetup: Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
* Window - Preference - General - Workspace - Text file encoding -> UTF8
* Window - Preferences - General - Workspace - Text file encoding -> UTF8
* Window - Preference - General - Workspace - New text file line delimiter -> Unix
* Window - Preferences - General - Workspace - New text file line delimiter -> Unix
* Window - Preference - General - Compare/Patch - Ignore white spaces -> Yes
* Window - Preferences - General - Compare/Patch - Ignore white spaces -> Yes
* Window - Preference - General - Editor - Text editors - Tab delimiter length -> 4
* Window - Preferences - General - Editor - Text editors - Tab delimiter length -> 4
* Window - Preference - General - Editor - Text editors - Insert spaces for tab -> No
* Window - Preferences - General - Editor - Text editors - Insert spaces for tab -> No
* Window - Preference - General - Editor - File Association -> Add *.lang associated to "Text Editor"
* Window - Preferences - General - Editor - File Association -> Add *.lang associated to "Text Editor"
And if PDT is installed (see later):
And if PDT is installed (see later):
* Window - Preference - PHP - Code Style - Formatter - Tab policy -> Tab
* Window - Preferences - PHP - Code Style - Formatter - Tab policy -> Tab
* Window - Preference - PHP - Code Style - Formatter - Default indentation for wrapped line -> 1
* Window - Preferences - PHP - Code Style - Formatter - Default indentation for wrapped line -> 1
* Window - Preference - 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" (keepingo this checked create corruption of text files by adding bad end of line characters)

Revision as of 19:00, 15 July 2013

  • 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"

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" (keepingo this checked create corruption of text files by adding bad end of line characters)