1 /*******************************************************************************
 
   2  * Copyright (c) 2002 International Business Machines Corp. and others.
 
   3  * All rights reserved. This program and the accompanying materials
 
   4  * are made available under the terms of the Common Public License v1.0
 
   5  * which accompanies this distribution, and is available at
 
   6  * http://www.eclipse.org/legal/cpl-v05.html
 
   9  *     IBM Corporation - initial API and implementation
 
  10  ******************************************************************************/
 
  11 package net.sourceforge.phpdt.ui;
 
  13 import net.sourceforge.phpdt.core.IClasspathEntry;
 
  14 import net.sourceforge.phpdt.internal.ui.text.spelling.SpellCheckEngine;
 
  15 import net.sourceforge.phpdt.internal.ui.text.spelling.engine.ISpellCheckPreferenceKeys;
 
  16 import net.sourceforge.phpeclipse.IPreferenceConstants;
 
  17 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
 
  18 import net.sourceforge.phpeclipse.phpeditor.util.PHPColorProvider;
 
  20 import org.eclipse.jface.action.Action;
 
  21 import org.eclipse.jface.preference.IPreferenceStore;
 
  22 import org.eclipse.jface.preference.PreferenceConverter;
 
  23 import org.eclipse.swt.SWT;
 
  24 import org.eclipse.swt.graphics.RGB;
 
  25 import org.eclipse.ui.texteditor.AbstractDecoratedTextEditorPreferenceConstants;
 
  26 import org.eclipse.ui.texteditor.AbstractTextEditor;
 
  29 // import org.phpeclipse.phpdt.internal.ui.JavaPlugin;
 
  31 // org.phpeclipse.phpdt.internal.ui.preferences.NewJavaProjectPreferencePage;
 
  34  * Preference constants used in the JDT-UI preference store. Clients should only
 
  35  * read the JDT-UI preference store using these values. Clients are not allowed
 
  36  * to modify the preference store programmatically.
 
  40 public class PreferenceConstants {
 
  42         private PreferenceConstants() {
 
  46          * A named preference that controls return type rendering of methods in the
 
  49          * Value is of type <code>Boolean</code>: if <code>true</code> return
 
  53         public static final String APPEARANCE_METHOD_RETURNTYPE = "net.sourceforge.phpdt.ui.methodreturntype"; //$NON-NLS-1$
 
  56          * A named preference that controls if override indicators are rendered in
 
  59          * Value is of type <code>Boolean</code>: if <code>true</code> override
 
  60          * indicators are rendered
 
  63         public static final String APPEARANCE_OVERRIDE_INDICATOR = "net.sourceforge.phpdt.ui.overrideindicator"; //$NON-NLS-1$
 
  66          * A named preference that defines the pattern used for package name
 
  69          * Value is of type <code>String</code>. For example foe the given
 
  70          * package name 'net.sourceforge.phpdt' pattern '.' will compress it to
 
  71          * '..jdt', '1~' to 'o~.e~.jdt'.
 
  74         public static final String APPEARANCE_PKG_NAME_PATTERN_FOR_PKG_VIEW = "PackagesView.pkgNamePatternForPackagesView"; //$NON-NLS-1$
 
  77          * A named preference that controls if package name compression is turned on
 
  80          * Value is of type <code>Boolean</code>.
 
  83          * @see #APPEARANCE_PKG_NAME_PATTERN_FOR_PKG_VIEW
 
  85         public static final String APPEARANCE_COMPRESS_PACKAGE_NAMES = "net.sourceforge.phpdt.ui.compresspackagenames"; //$NON-NLS-1$
 
  88          * A named preference that controls if empty inner packages are folded in
 
  89          * the hierarchical mode of the package explorer.
 
  91          * Value is of type <code>Boolean</code>: if <code>true</code> empty
 
  92          * inner packages are folded.
 
  97         public static final String APPEARANCE_FOLD_PACKAGES_IN_PACKAGE_EXPLORER = "net.sourceforge.phpdt.ui.flatPackagesInPackageExplorer"; //$NON-NLS-1$
 
 100          * A named preference that defines how member elements are ordered by the
 
 101          * Java views using the <code>JavaElementSorter</code>.
 
 103          * Value is of type <code>String</code>: A comma separated list of the
 
 104          * following entries. Each entry must be in the list, no duplication. List
 
 105          * order defines the sort order.
 
 107          * <li><b>T </b>: Types</li>
 
 108          * <li><b>C </b>: Constructors</li>
 
 109          * <li><b>I </b>: Initializers</li>
 
 110          * <li><b>M </b>: Methods</li>
 
 111          * <li><b>F </b>: Fields</li>
 
 112          * <li><b>SI </b>: Static Initializers</li>
 
 113          * <li><b>SM </b>: Static Methods</li>
 
 114          * <li><b>SF </b>: Static Fields</li>
 
 120         public static final String APPEARANCE_MEMBER_SORT_ORDER = "outlinesortoption"; //$NON-NLS-1$
 
 123          * A named preference that defines how member elements are ordered by
 
 124          * visibility in the Java views using the <code>JavaElementSorter</code>.
 
 126          * Value is of type <code>String</code>: A comma separated list of the
 
 127          * following entries. Each entry must be in the list, no duplication. List
 
 128          * order defines the sort order.
 
 130          * <li><b>B </b>: Public</li>
 
 131          * <li><b>V </b>: Private</li>
 
 132          * <li><b>R </b>: Protected</li>
 
 133          * <li><b>D </b>: Default</li>
 
 139         public static final String APPEARANCE_VISIBILITY_SORT_ORDER = "net.sourceforge.phpdt.ui.visibility.order"; //$NON-NLS-1$
 
 142          * A named preferences that controls if Java elements are also sorted by
 
 145          * Value is of type <code>Boolean</code>.
 
 150         public static final String APPEARANCE_ENABLE_VISIBILITY_SORT_ORDER = "net.sourceforge.phpdt.ui.enable.visibility.order"; //$NON-NLS-1$
 
 153          * A named preference that controls if prefix removal during setter/getter
 
 154          * generation is turned on or off.
 
 156          * Value is of type <code>Boolean</code>.
 
 159         public static final String CODEGEN_USE_GETTERSETTER_PREFIX = "net.sourceforge.phpdt.ui.gettersetter.prefix.enable"; //$NON-NLS-1$
 
 162          * A named preference that holds a list of prefixes to be removed from a
 
 163          * local variable to compute setter and gettter names.
 
 165          * Value is of type <code>String</code>: comma separated list of prefixed
 
 168          * @see #CODEGEN_USE_GETTERSETTER_PREFIX
 
 170         public static final String CODEGEN_GETTERSETTER_PREFIX = "net.sourceforge.phpdt.ui.gettersetter.prefix.list"; //$NON-NLS-1$
 
 173          * A named preference that controls if suffix removal during setter/getter
 
 174          * generation is turned on or off.
 
 176          * Value is of type <code>Boolean</code>.
 
 179         public static final String CODEGEN_USE_GETTERSETTER_SUFFIX = "net.sourceforge.phpdt.ui.gettersetter.suffix.enable"; //$NON-NLS-1$
 
 182          * A named preference that holds a list of suffixes to be removed from a
 
 183          * local variable to compute setter and getter names.
 
 185          * Value is of type <code>String</code>: comma separated list of suffixes
 
 188          * @see #CODEGEN_USE_GETTERSETTER_SUFFIX
 
 190         public static final String CODEGEN_GETTERSETTER_SUFFIX = "net.sourceforge.phpdt.ui.gettersetter.suffix.list"; //$NON-NLS-1$
 
 193          * A named preference that controls whether the keyword "this" will be added
 
 194          * automatically to field accesses in generated methods.
 
 196          * Value is of type <code>Boolean</code>.
 
 201         public static final String CODEGEN_KEYWORD_THIS = "org.eclipse.jdt.ui.keywordthis"; //$NON-NLS-1$
 
 204          * A named preference that controls whether to use the prefix "is" or the
 
 205          * prefix "get" for automatically created getters which return a boolean
 
 208          * Value is of type <code>Boolean</code>.
 
 213         public static final String CODEGEN_IS_FOR_GETTERS = "org.eclipse.jdt.ui.gettersetter.use.is"; //$NON-NLS-1$
 
 216          * A named preference that defines the preferred variable names for
 
 217          * exceptions in catch clauses.
 
 219          * Value is of type <code>String</code>.
 
 224         public static final String CODEGEN_EXCEPTION_VAR_NAME = "org.eclipse.jdt.ui.exception.name"; //$NON-NLS-1$
 
 227          * A named preference that controls if comment stubs will be added
 
 228          * automatically to newly created types and methods.
 
 230          * Value is of type <code>Boolean</code>.
 
 235         public static final String CODEGEN_ADD_COMMENTS = "net.sourceforge.phpdt.ui.phpdoc"; //$NON-NLS-1$
 
 238          * A name preference that controls if a JavaDoc stub gets added to newly
 
 239          * created types and methods.
 
 241          * Value is of type <code>Boolean</code>.
 
 244          * @deprecated Use CODEGEN_ADD_COMMENTS instead (Name is more precise).
 
 246         // public static final String CODEGEN__JAVADOC_STUBS = CODEGEN_ADD_COMMENTS;
 
 249          * A named preference that controls if a non-phpdoc comment gets added to
 
 250          * methods generated via the "Override Methods" operation.
 
 252          * Value is of type <code>Boolean</code>.
 
 255         public static final String CODEGEN__NON_JAVADOC_COMMENTS = "net.sourceforge.phpdt.ui.seecomments"; //$NON-NLS-1$
 
 258          * A named preference that controls if a file comment gets added to newly
 
 261          * Value is of type <code>Boolean</code>.
 
 264         public static final String CODEGEN__FILE_COMMENTS = "net.sourceforge.phpdt.ui.filecomments"; //$NON-NLS-1$
 
 267          * A named preference that holds a list of comma separated package names.
 
 268          * The list specifies the import order used by the "Organize Imports"
 
 271          * Value is of type <code>String</code>: semicolon separated list of
 
 275         // public static final String ORGIMPORTS_IMPORTORDER =
 
 276         // "net.sourceforge.phpdt.ui.importorder"; //$NON-NLS-1$
 
 278          * A named preference that specifies the number of imports added before a
 
 279          * star-import declaration is used.
 
 281          * Value is of type <code>Int</code>: positive value specifing the number
 
 282          * of non star-import is used
 
 285         public static final String ORGIMPORTS_ONDEMANDTHRESHOLD = "net.sourceforge.phpdt.ui.ondemandthreshold"; //$NON-NLS-1$
 
 288          * A named preferences that controls if types that start with a lower case
 
 289          * letters get added by the "Organize Import" operation.
 
 291          * Value is of type <code>Boolean</code>.
 
 294         public static final String ORGIMPORTS_IGNORELOWERCASE = "net.sourceforge.phpdt.ui.ignorelowercasenames"; //$NON-NLS-1$
 
 297          * A named preference that speficies whether children of a compilation unit
 
 298          * are shown in the package explorer.
 
 300          * Value is of type <code>Boolean</code>.
 
 303         public static final String SHOW_CU_CHILDREN = "net.sourceforge.phpdt.ui.packages.cuchildren"; //$NON-NLS-1$
 
 306          * A named preference that controls whether the package explorer's selection
 
 307          * is linked to the active editor.
 
 309          * Value is of type <code>Boolean</code>.
 
 312         public static final String LINK_PACKAGES_TO_EDITOR = "net.sourceforge.phpdt.ui.packages.linktoeditor"; //$NON-NLS-1$
 
 315          * A named preference that controls whether the hierarchy view's selection
 
 316          * is linked to the active editor.
 
 318          * Value is of type <code>Boolean</code>.
 
 321         public static final String LINK_TYPEHIERARCHY_TO_EDITOR = "net.sourceforge.phpdt.ui.packages.linktypehierarchytoeditor"; //$NON-NLS-1$
 
 324          * A named preference that controls whether the browsing view's selection is
 
 325          * linked to the active editor.
 
 327          * Value is of type <code>Boolean</code>.
 
 332         public static final String LINK_BROWSING_VIEW_TO_EDITOR = "net.sourceforge.phpdt.ui.browsing.linktoeditor"; //$NON-NLS-1$
 
 335          * A named preference that controls whether new projects are generated using
 
 336          * source and output folder.
 
 338          * Value is of type <code>Boolean</code>. if <code>true</code> new
 
 339          * projects are created with a source and output folder. If
 
 340          * <code>false</code> source and output folder equals to the project.
 
 343         public static final String SRCBIN_FOLDERS_IN_NEWPROJ = "net.sourceforge.phpdt.ui.wizards.srcBinFoldersInNewProjects"; //$NON-NLS-1$
 
 346          * A named preference that specifies the source folder name used when
 
 347          * creating a new Java project. Value is inactive if
 
 348          * <code>SRCBIN_FOLDERS_IN_NEWPROJ</code> is set to <code>false</code>.
 
 350          * Value is of type <code>String</code>.
 
 353          * @see #SRCBIN_FOLDERS_IN_NEWPROJ
 
 355         public static final String SRCBIN_SRCNAME = "net.sourceforge.phpdt.ui.wizards.srcBinFoldersSrcName"; //$NON-NLS-1$
 
 358          * A named preference that specifies the output folder name used when
 
 359          * creating a new Java project. Value is inactive if
 
 360          * <code>SRCBIN_FOLDERS_IN_NEWPROJ</code> is set to <code>false</code>.
 
 362          * Value is of type <code>String</code>.
 
 365          * @see #SRCBIN_FOLDERS_IN_NEWPROJ
 
 367         public static final String SRCBIN_BINNAME = "net.sourceforge.phpdt.ui.wizards.srcBinFoldersBinName"; //$NON-NLS-1$
 
 370          * A named preference that holds a list of possible JRE libraries used by
 
 371          * the New Java Project wizard. An library consists of a description and an
 
 372          * arbitrary number of <code>IClasspathEntry</code>s, that will represent
 
 373          * the JRE on the new project's classpath.
 
 375          * Value is of type <code>String</code>: a semicolon separated list of
 
 376          * encoded JRE libraries. <code>NEWPROJECT_JRELIBRARY_INDEX</code> defines
 
 377          * the currently used library. Clients should use the method
 
 378          * <code>encodeJRELibrary</code> to encode a JRE library into a string and
 
 379          * the methods <code>decodeJRELibraryDescription(String)</code> and <code>
 
 380          * decodeJRELibraryClasspathEntries(String)</code>
 
 381          * to decode the description and the array of classpath entries from an
 
 385          * @see #NEWPROJECT_JRELIBRARY_INDEX
 
 386          * @see #encodeJRELibrary(String, IClasspathEntry[])
 
 387          * @see #decodeJRELibraryDescription(String)
 
 388          * @see #decodeJRELibraryClasspathEntries(String)
 
 390         public static final String NEWPROJECT_JRELIBRARY_LIST = "net.sourceforge.phpdt.ui.wizards.jre.list"; //$NON-NLS-1$
 
 393          * A named preferences that specifies the current active JRE library.
 
 395          * Value is of type <code>Int</code>: an index into the list of possible
 
 399          * @see #NEWPROJECT_JRELIBRARY_LIST
 
 401         public static final String NEWPROJECT_JRELIBRARY_INDEX = "net.sourceforge.phpdt.ui.wizards.jre.index"; //$NON-NLS-1$
 
 404          * A named preference that controls if a new type hierarchy gets opened in a
 
 405          * new type hierarchy perspective or inside the type hierarchy view part.
 
 407          * Value is of type <code>String</code>: possible values are <code>
 
 408          * OPEN_TYPE_HIERARCHY_IN_PERSPECTIVE</code>
 
 410          * OPEN_TYPE_HIERARCHY_IN_VIEW_PART</code>.
 
 413          * @see #OPEN_TYPE_HIERARCHY_IN_PERSPECTIVE
 
 414          * @see #OPEN_TYPE_HIERARCHY_IN_VIEW_PART
 
 416         public static final String OPEN_TYPE_HIERARCHY = "net.sourceforge.phpdt.ui.openTypeHierarchy"; //$NON-NLS-1$
 
 419          * A string value used by the named preference
 
 420          * <code>OPEN_TYPE_HIERARCHY</code>.
 
 422          * @see #OPEN_TYPE_HIERARCHY
 
 424         public static final String OPEN_TYPE_HIERARCHY_IN_PERSPECTIVE = "perspective"; //$NON-NLS-1$
 
 427          * A string value used by the named preference
 
 428          * <code>OPEN_TYPE_HIERARCHY</code>.
 
 430          * @see #OPEN_TYPE_HIERARCHY
 
 432         public static final String OPEN_TYPE_HIERARCHY_IN_VIEW_PART = "viewPart"; //$NON-NLS-1$
 
 435          * A named preference that controls the behaviour when double clicking on a
 
 436          * container in the packages view.
 
 438          * Value is of type <code>String</code>: possible values are <code>
 
 439          * DOUBLE_CLICK_GOES_INTO</code>
 
 441          * DOUBLE_CLICK_EXPANDS</code>.
 
 444          * @see #DOUBLE_CLICK_EXPANDS
 
 445          * @see #DOUBLE_CLICK_GOES_INTO
 
 447         public static final String DOUBLE_CLICK = "packageview.doubleclick"; //$NON-NLS-1$
 
 450          * A string value used by the named preference <code>DOUBLE_CLICK</code>.
 
 454         public static final String DOUBLE_CLICK_GOES_INTO = "packageview.gointo"; //$NON-NLS-1$
 
 457          * A string value used by the named preference <code>DOUBLE_CLICK</code>.
 
 461         public static final String DOUBLE_CLICK_EXPANDS = "packageview.doubleclick.expands"; //$NON-NLS-1$
 
 464          * A named preference that controls whether Java views update their
 
 465          * presentation while editing or when saving the content of an editor.
 
 467          * Value is of type <code>String</code>: possible values are <code>
 
 468          * UPDATE_ON_SAVE</code>
 
 470          * UPDATE_WHILE_EDITING</code>.
 
 473          * @see #UPDATE_ON_SAVE
 
 474          * @see #UPDATE_WHILE_EDITING
 
 476         public static final String UPDATE_JAVA_VIEWS = "JavaUI.update"; //$NON-NLS-1$
 
 479          * A string value used by the named preference
 
 480          * <code>UPDATE_JAVA_VIEWS</code>
 
 482          * @see #UPDATE_JAVA_VIEWS
 
 484         public static final String UPDATE_ON_SAVE = "JavaUI.update.onSave"; //$NON-NLS-1$
 
 487          * A string value used by the named preference
 
 488          * <code>UPDATE_JAVA_VIEWS</code>
 
 490          * @see #UPDATE_JAVA_VIEWS
 
 492         public static final String UPDATE_WHILE_EDITING = "JavaUI.update.whileEditing"; //$NON-NLS-1$
 
 495          * A named preference that holds the path of the Javadoc command used by the
 
 496          * Javadoc creation wizard.
 
 498          * Value is of type <code>String</code>.
 
 501         public static final String JAVADOC_COMMAND = "command"; //$NON-NLS-1$
 
 504          * A named preference that defines whether hint to make hover sticky should
 
 510         public static final String EDITOR_SHOW_TEXT_HOVER_AFFORDANCE = "PreferenceConstants.EDITOR_SHOW_TEXT_HOVER_AFFORDANCE"; //$NON-NLS-1$
 
 513          * A named preference that defines the key for the hover modifiers.
 
 518         public static final String EDITOR_TEXT_HOVER_MODIFIERS = "hoverModifiers"; //$NON-NLS-1$
 
 521          * The id of the best match hover contributed for extension point
 
 522          * <code>javaEditorTextHovers</code>.
 
 526         public static String ID_BESTMATCH_HOVER = "net.sourceforge.phpdt.ui.BestMatchHover"; //$NON-NLS-1$
 
 529          * The id of the source code hover contributed for extension point
 
 530          * <code>javaEditorTextHovers</code>.
 
 534         public static String ID_SOURCE_HOVER = "net.sourceforge.phpdt.ui.JavaSourceHover"; //$NON-NLS-1$
 
 537          * The id of the problem hover contributed for extension point
 
 538          * <code>javaEditorTextHovers</code>.
 
 542         public static String ID_PROBLEM_HOVER = "net.sourceforge.phpdt.ui.ProblemHover"; //$NON-NLS-1$
 
 545          * A named preference that controls whether bracket matching highlighting is
 
 548          * Value is of type <code>Boolean</code>.
 
 551         public final static String EDITOR_MATCHING_BRACKETS = "matchingBrackets"; //$NON-NLS-1$
 
 554          * A named preference that holds the color used to highlight matching
 
 557          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 558          * string using class <code>PreferenceConverter</code>
 
 561          * @see org.eclipse.jface.resource.StringConverter
 
 562          * @see org.eclipse.jface.preference.PreferenceConverter
 
 564         public final static String EDITOR_MATCHING_BRACKETS_COLOR = "matchingBracketsColor"; //$NON-NLS-1$
 
 567          * A named preference that controls whether the current line highlighting is
 
 570          * Value is of type <code>Boolean</code>.
 
 573         public final static String EDITOR_CURRENT_LINE = "currentLine"; //$NON-NLS-1$
 
 576          * A named preference that holds the color used to highlight the current
 
 579          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 580          * string using class <code>PreferenceConverter</code>
 
 583          * @see org.eclipse.jface.resource.StringConverter
 
 584          * @see org.eclipse.jface.preference.PreferenceConverter
 
 586         public final static String EDITOR_CURRENT_LINE_COLOR = "currentLineColor"; //$NON-NLS-1$
 
 589          * A named preference that controls whether the print margin is turned on or
 
 592          * Value is of type <code>Boolean</code>.
 
 595         public final static String EDITOR_PRINT_MARGIN = "printMargin"; //$NON-NLS-1$
 
 598          * A named preference that holds the color used to render the print margin.
 
 600          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 601          * string using class <code>PreferenceConverter</code>
 
 604          * @see org.eclipse.jface.resource.StringConverter
 
 605          * @see org.eclipse.jface.preference.PreferenceConverter
 
 607         public final static String EDITOR_PRINT_MARGIN_COLOR = "printMarginColor"; //$NON-NLS-1$
 
 610          * Print margin column. Int value.
 
 612         public final static String EDITOR_PRINT_MARGIN_COLUMN = "printMarginColumn"; //$NON-NLS-1$
 
 615          * A named preference that holds the color used for the find/replace scope.
 
 617          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 618          * string using class <code>PreferenceConverter</code>
 
 621          * @see org.eclipse.jface.resource.StringConverter
 
 622          * @see org.eclipse.jface.preference.PreferenceConverter
 
 624         public final static String EDITOR_FIND_SCOPE_COLOR = AbstractTextEditor.PREFERENCE_COLOR_FIND_SCOPE;
 
 627          * A named preference that specifies if the editor uses spaces for tabs.
 
 629          * Value is of type <code>Boolean</code>. If <code>true</code> spaces
 
 630          * instead of tabs are used in the editor. If <code>false</code> the
 
 631          * editor inserts a tab character when pressing the tab key.
 
 634         public final static String EDITOR_SPACES_FOR_TABS = "spacesForTabs"; //$NON-NLS-1$
 
 637          * A named preference that holds the number of spaces used per tab in the
 
 640          * Value is of type <code>Int</code>: positive int value specifying the
 
 641          * number of spaces per tab.
 
 644         public final static String EDITOR_TAB_WIDTH = AbstractDecoratedTextEditorPreferenceConstants.EDITOR_TAB_WIDTH; // "net.sourceforge.phpdt.ui.editor.tab.width";
 
 649          * A named preference that controls whether the outline view selection
 
 650          * should stay in sync with with the element at the current cursor position.
 
 652          * Value is of type <code>Boolean</code>.
 
 657         public final static String EDITOR_SYNC_OUTLINE_ON_CURSOR_MOVE = "JavaEditor.SyncOutlineOnCursorMove"; //$NON-NLS-1$
 
 660          * A named preference that controls if correction indicators are shown in
 
 663          * Value is of type <code>Boolean</code>.
 
 666         public final static String EDITOR_CORRECTION_INDICATION = "JavaEditor.ShowTemporaryProblem"; //$NON-NLS-1$
 
 669          * A named preference that controls whether the editor shows problem
 
 670          * indicators in text (squiggly lines).
 
 672          * Value is of type <code>Boolean</code>.
 
 675         // public final static String EDITOR_PROBLEM_INDICATION =
 
 676         // "problemIndication"; //$NON-NLS-1$
 
 678          * A named preference that holds the color used to render problem
 
 681          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 682          * string using class <code>PreferenceConverter</code>
 
 685          * @see #EDITOR_PROBLEM_INDICATION
 
 686          * @see org.eclipse.jface.resource.StringConverter
 
 687          * @see org.eclipse.jface.preference.PreferenceConverter
 
 689         // public final static String EDITOR_PROBLEM_INDICATION_COLOR =
 
 690         // "problemIndicationColor"; //$NON-NLS-1$
 
 692          * PreferenceConstants.EDITOR_PROBLEM_INDICATION_COLOR; A named preference
 
 693          * that controls whether the editor shows warning indicators in text
 
 696          * Value is of type <code>Boolean</code>.
 
 699         // public final static String EDITOR_WARNING_INDICATION =
 
 700         // "warningIndication"; //$NON-NLS-1$
 
 702          * A named preference that holds the color used to render warning
 
 705          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 706          * string using class <code>PreferenceConverter</code>
 
 709          * @see #EDITOR_WARNING_INDICATION
 
 710          * @see org.eclipse.jface.resource.StringConverter
 
 711          * @see org.eclipse.jface.preference.PreferenceConverter
 
 713         // public final static String EDITOR_WARNING_INDICATION_COLOR =
 
 714         // "warningIndicationColor"; //$NON-NLS-1$
 
 716          * A named preference that controls whether the editor shows task indicators
 
 717          * in text (squiggly lines).
 
 719          * Value is of type <code>Boolean</code>.
 
 722         public final static String EDITOR_TASK_INDICATION = "taskIndication"; //$NON-NLS-1$
 
 725          * A named preference that holds the color used to render task indicators.
 
 727          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 728          * string using class <code>PreferenceConverter</code>
 
 731          * @see #EDITOR_TASK_INDICATION
 
 732          * @see org.eclipse.jface.resource.StringConverter
 
 733          * @see org.eclipse.jface.preference.PreferenceConverter
 
 735         public final static String EDITOR_TASK_INDICATION_COLOR = "taskIndicationColor"; //$NON-NLS-1$
 
 738          * A named preference that controls whether the editor shows bookmark
 
 739          * indicators in text (squiggly lines).
 
 741          * Value is of type <code>Boolean</code>.
 
 746         public final static String EDITOR_BOOKMARK_INDICATION = "bookmarkIndication"; //$NON-NLS-1$
 
 749          * A named preference that holds the color used to render bookmark
 
 752          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 753          * string using class <code>PreferenceConverter</code>
 
 756          * @see #EDITOR_BOOKMARK_INDICATION
 
 757          * @see org.eclipse.jface.resource.StringConverter
 
 758          * @see org.eclipse.jface.preference.PreferenceConverter
 
 761         public final static String EDITOR_BOOKMARK_INDICATION_COLOR = "bookmarkIndicationColor"; //$NON-NLS-1$
 
 764          * A named preference that controls whether the editor shows search
 
 765          * indicators in text (squiggly lines).
 
 767          * Value is of type <code>Boolean</code>.
 
 772         public final static String EDITOR_SEARCH_RESULT_INDICATION = "searchResultIndication"; //$NON-NLS-1$
 
 775          * A named preference that holds the color used to render search indicators.
 
 777          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 778          * string using class <code>PreferenceConverter</code>
 
 781          * @see #EDITOR_SEARCH_RESULT_INDICATION
 
 782          * @see org.eclipse.jface.resource.StringConverter
 
 783          * @see org.eclipse.jface.preference.PreferenceConverter
 
 786         public final static String EDITOR_SEARCH_RESULT_INDICATION_COLOR = "searchResultIndicationColor"; //$NON-NLS-1$
 
 789          * A named preference that controls whether the editor shows unknown
 
 790          * indicators in text (squiggly lines).
 
 792          * Value is of type <code>Boolean</code>.
 
 797         public final static String EDITOR_UNKNOWN_INDICATION = "othersIndication"; //$NON-NLS-1$
 
 800          * A named preference that holds the color used to render unknown
 
 803          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 804          * string using class <code>PreferenceConverter</code>
 
 807          * @see #EDITOR_UNKNOWN_INDICATION
 
 808          * @see org.eclipse.jface.resource.StringConverter
 
 809          * @see org.eclipse.jface.preference.PreferenceConverter
 
 812         public final static String EDITOR_UNKNOWN_INDICATION_COLOR = "othersIndicationColor"; //$NON-NLS-1$
 
 815          * A named preference that controls whether the overview ruler shows error
 
 818          * Value is of type <code>Boolean</code>.
 
 823         public final static String EDITOR_ERROR_INDICATION_IN_OVERVIEW_RULER = "errorIndicationInOverviewRuler"; //$NON-NLS-1$
 
 826          * A named preference that controls whether the overview ruler shows warning
 
 829          * Value is of type <code>Boolean</code>.
 
 834         public final static String EDITOR_WARNING_INDICATION_IN_OVERVIEW_RULER = "warningIndicationInOverviewRuler"; //$NON-NLS-1$
 
 837          * A named preference that controls whether the overview ruler shows task
 
 840          * Value is of type <code>Boolean</code>.
 
 845         public final static String EDITOR_TASK_INDICATION_IN_OVERVIEW_RULER = "taskIndicationInOverviewRuler"; //$NON-NLS-1$
 
 848          * A named preference that controls whether the overview ruler shows
 
 849          * bookmark indicators.
 
 851          * Value is of type <code>Boolean</code>.
 
 856         public final static String EDITOR_BOOKMARK_INDICATION_IN_OVERVIEW_RULER = "bookmarkIndicationInOverviewRuler"; //$NON-NLS-1$
 
 859          * A named preference that controls whether the overview ruler shows search
 
 862          * Value is of type <code>Boolean</code>.
 
 867         public final static String EDITOR_SEARCH_RESULT_INDICATION_IN_OVERVIEW_RULER = "searchResultIndicationInOverviewRuler"; //$NON-NLS-1$
 
 870          * A named preference that controls whether the overview ruler shows unknown
 
 873          * Value is of type <code>Boolean</code>.
 
 878         public final static String EDITOR_UNKNOWN_INDICATION_IN_OVERVIEW_RULER = "othersIndicationInOverviewRuler"; //$NON-NLS-1$
 
 881          * A named preference that controls whether the 'close strings' feature is
 
 882          * enabled in PHP mode
 
 884          * Value is of type <code>Boolean</code>.
 
 887         public final static String EDITOR_CLOSE_STRINGS_DQ_PHP = "closeStringsPHPDQ"; //$NON-NLS-1$
 
 890          * A named preference that controls whether the 'close strings' feature is
 
 891          * enabled in PHP mode
 
 893          * Value is of type <code>Boolean</code>.
 
 896         public final static String EDITOR_CLOSE_STRINGS_SQ_PHP = "closeStringsPHPSQ"; //$NON-NLS-1$
 
 899          * A named preference that controls whether the 'close brackets' feature is
 
 900          * enabled in PHP mode
 
 902          * Value is of type <code>Boolean</code>.
 
 907         public final static String EDITOR_CLOSE_BRACKETS_PHP = "closeBracketsPHP"; //$NON-NLS-1$
 
 910          * A named preference that controls whether the 'wrap words' feature is
 
 913          * Value is of type <code>Boolean</code>.
 
 918         public final static String EDITOR_WRAP_WORDS = "wrapWords"; //$NON-NLS-1$
 
 921          * A named preference that controls whether the 'wrap strings' feature is
 
 924          * Value is of type <code>Boolean</code>.
 
 929         public final static String EDITOR_WRAP_STRINGS_DQ = "wrapStringsDQ"; //$NON-NLS-1$
 
 932          * A named preference that controls whether the 'escape strings' feature is
 
 935          * Value is of type <code>Boolean</code>.
 
 940         public final static String EDITOR_ESCAPE_STRINGS_DQ = "escapeStringsDQ"; //$NON-NLS-1$
 
 943          * A named preference that controls whether the 'wrap strings' feature is
 
 946          * Value is of type <code>Boolean</code>.
 
 951         public final static String EDITOR_WRAP_STRINGS_SQ = "wrapStringsSQ"; //$NON-NLS-1$
 
 954          * A named preference that controls whether the 'escape strings' feature is
 
 957          * Value is of type <code>Boolean</code>.
 
 962         public final static String EDITOR_ESCAPE_STRINGS_SQ = "escapeStringsSQ"; //$NON-NLS-1$
 
 965          * A named preference that controls if content assist inserts the common
 
 966          * prefix of all proposals before presenting choices.
 
 968          * Value is of type <code>Boolean</code>.
 
 973         public final static String CODEASSIST_PREFIX_COMPLETION = "content_assist_prefix_completion"; //$NON-NLS-1$
 
 976          * A named preference that controls whether the 'close braces' feature is
 
 979          * Value is of type <code>Boolean</code>.
 
 984         public final static String EDITOR_CLOSE_BRACES = "closeBraces"; //$NON-NLS-1$
 
 987          * A named preference that controls whether the 'close php docs' feature is
 
 990          * Value is of type <code>Boolean</code>.
 
 995         public final static String EDITOR_CLOSE_JAVADOCS = "closeJavaDocs"; //$NON-NLS-1$
 
 998          * A named preference that controls whether the 'add JavaDoc tags' feature
 
1001          * Value is of type <code>Boolean</code>.
 
1006         public final static String EDITOR_ADD_JAVADOC_TAGS = "addJavaDocTags"; //$NON-NLS-1$
 
1009          * A named preference that controls whether the 'format Javadoc tags'
 
1010          * feature is enabled.
 
1012          * Value is of type <code>Boolean</code>.
 
1017         public final static String EDITOR_FORMAT_JAVADOCS = "formatJavaDocs"; //$NON-NLS-1$
 
1020          * A named preference that controls whether the 'smart paste' feature is
 
1023          * Value is of type <code>Boolean</code>.
 
1028         public final static String EDITOR_SMART_PASTE = "smartPaste"; //$NON-NLS-1$
 
1031          * A named preference that controls whether the 'close strings' feature is
 
1032          * enabled in HTML mode
 
1034          * Value is of type <code>Boolean</code>.
 
1039         public final static String EDITOR_CLOSE_STRINGS_HTML = "closeStringsHTML"; //$NON-NLS-1$
 
1042          * A named preference that controls whether the 'close brackets' feature is
 
1043          * enabled in HTML mode
 
1045          * Value is of type <code>Boolean</code>.
 
1050         public final static String EDITOR_CLOSE_BRACKETS_HTML = "closeBracketsHTML"; //$NON-NLS-1$
 
1053          * A named preference that controls whether the 'smart home-end' feature is
 
1056          * Value is of type <code>Boolean</code>.
 
1061         public final static String EDITOR_SMART_HOME_END = AbstractTextEditor.PREFERENCE_NAVIGATION_SMART_HOME_END;
 
1064          * A named preference that controls whether the 'sub-word navigation'
 
1065          * feature is enabled.
 
1067          * Value is of type <code>Boolean</code>.
 
1072         public final static String EDITOR_SUB_WORD_NAVIGATION = "subWordNavigation"; //$NON-NLS-1$
 
1075          * A named preference that controls if temporary problems are evaluated and
 
1078          * Value is of type <code>Boolean</code>.
 
1081         public final static String EDITOR_EVALUTE_TEMPORARY_PROBLEMS = "handleTemporaryProblems"; //$NON-NLS-1$
 
1084          * A named preference that controls if the overview ruler is shown in the
 
1087          * Value is of type <code>Boolean</code>.
 
1090         public final static String EDITOR_OVERVIEW_RULER = "overviewRuler"; //$NON-NLS-1$
 
1093          * A named preference that controls if the line number ruler is shown in the
 
1096          * Value is of type <code>Boolean</code>.
 
1099         public final static String EDITOR_LINE_NUMBER_RULER = "lineNumberRuler"; //$NON-NLS-1$
 
1102          * A named preference that holds the color used to render line numbers
 
1103          * inside the line number ruler.
 
1105          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1106          * string using class <code>PreferenceConverter</code>
 
1109          * @see org.eclipse.jface.resource.StringConverter
 
1110          * @see org.eclipse.jface.preference.PreferenceConverter
 
1111          * @see #EDITOR_LINE_NUMBER_RULER
 
1113         public final static String EDITOR_LINE_NUMBER_RULER_COLOR = "lineNumberColor"; //$NON-NLS-1$
 
1116          * A named preference that holds the color used to render linked positions
 
1117          * inside code templates.
 
1119          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1120          * string using class <code>PreferenceConverter</code>
 
1123          * @see org.eclipse.jface.resource.StringConverter
 
1124          * @see org.eclipse.jface.preference.PreferenceConverter
 
1126         public final static String EDITOR_LINKED_POSITION_COLOR = "linkedPositionColor"; //$NON-NLS-1$
 
1129          * A named preference that holds the color used as the text foreground.
 
1131          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1132          * string using class <code>PreferenceConverter</code>
 
1135          * @see org.eclipse.jface.resource.StringConverter
 
1136          * @see org.eclipse.jface.preference.PreferenceConverter
 
1138         public final static String EDITOR_FOREGROUND_COLOR = AbstractTextEditor.PREFERENCE_COLOR_FOREGROUND;
 
1141          * A named preference that describes if the system default foreground color
 
1142          * is used as the text foreground.
 
1144          * Value is of type <code>Boolean</code>.
 
1147         public final static String EDITOR_FOREGROUND_DEFAULT_COLOR = AbstractTextEditor.PREFERENCE_COLOR_FOREGROUND_SYSTEM_DEFAULT;
 
1150          * A named preference that holds the color used as the text background.
 
1152          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1153          * string using class <code>PreferenceConverter</code>
 
1156          * @see org.eclipse.jface.resource.StringConverter
 
1157          * @see org.eclipse.jface.preference.PreferenceConverter
 
1159         public final static String EDITOR_BACKGROUND_COLOR = AbstractTextEditor.PREFERENCE_COLOR_BACKGROUND;
 
1162          * A named preference that describes if the system default background color
 
1163          * is used as the text foreground.
 
1165          * Value is of type <code>Boolean</code>.
 
1168         public final static String EDITOR_BACKGROUND_DEFAULT_COLOR = AbstractTextEditor.PREFERENCE_COLOR_BACKGROUND_SYSTEM_DEFAULT;
 
1171          * Preference key suffix for bold text style preference keys.
 
1173         public static final String EDITOR_BOLD_SUFFIX = "_bold"; //$NON-NLS-1$
 
1176          * Preference key suffix for bold text style preference keys.
 
1178         public static final String EDITOR_ITALIC_SUFFIX = "_italic"; //$NON-NLS-1$
 
1181          * A named preference that holds the color used to render multi line
 
1184          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1185          * string using class <code>PreferenceConverter</code>
 
1188          * @see org.eclipse.jface.resource.StringConverter
 
1189          * @see org.eclipse.jface.preference.PreferenceConverter
 
1191         public final static String EDITOR_MULTI_LINE_COMMENT_COLOR = IPreferenceConstants.PHP_MULTILINE_COMMENT;
 
1194          * The symbolic font name for the Java editor text font (value
 
1195          * <code>"net.sourceforge.phpdt.ui.editors.textfont"</code>).
 
1199         public final static String EDITOR_TEXT_FONT = "net.sourceforge.phpdt.ui.editors.textfont"; //$NON-NLS-1$
 
1202          * A named preference that controls whether multi line comments are rendered
 
1205          * Value is of type <code>Boolean</code>. If <code>true</code> multi
 
1206          * line comments are rendered in bold. If <code>false</code> the are
 
1207          * rendered using no font style attribute.
 
1210         public final static String EDITOR_MULTI_LINE_COMMENT_BOLD = IPreferenceConstants.PHP_MULTILINE_COMMENT
 
1211                         + EDITOR_BOLD_SUFFIX;
 
1214          * A named preference that holds the color used to render single line
 
1217          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1218          * string using class <code>PreferenceConverter</code>
 
1221          * @see org.eclipse.jface.resource.StringConverter
 
1222          * @see org.eclipse.jface.preference.PreferenceConverter
 
1224         public final static String EDITOR_SINGLE_LINE_COMMENT_COLOR = IPreferenceConstants.PHP_SINGLELINE_COMMENT;
 
1227          * A named preference that controls whether sinle line comments are rendered
 
1230          * Value is of type <code>Boolean</code>. If <code>true</code> single
 
1231          * line comments are rendered in bold. If <code>false</code> the are
 
1232          * rendered using no font style attribute.
 
1235         public final static String EDITOR_SINGLE_LINE_COMMENT_BOLD = IPreferenceConstants.PHP_SINGLELINE_COMMENT
 
1236                         + EDITOR_BOLD_SUFFIX;
 
1239          * A named preference that holds the color used to render operators and
 
1242          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1243          * string using class <code>PreferenceConverter</code>
 
1246          * @see org.eclipse.jface.resource.StringConverter
 
1247          * @see org.eclipse.jface.preference.PreferenceConverter
 
1250         public final static String EDITOR_PHP_OPERATOR_COLOR = IPreferenceConstants.PHP_OPERATOR;
 
1253          * A named preference that controls whether operators and brackets are
 
1256          * Value is of type <code>Boolean</code>.
 
1261         public final static String EDITOR_PHP_OPERATOR_BOLD = IPreferenceConstants.PHP_OPERATOR
 
1262                         + EDITOR_BOLD_SUFFIX;
 
1265          * A named preference that controls whether operators and brackets are
 
1266          * rendered in italic.
 
1268          * Value is of type <code>Boolean</code>.
 
1273         public final static String EDITOR_PHP_OPERATOR_ITALIC = IPreferenceConstants.PHP_OPERATOR
 
1274                         + EDITOR_ITALIC_SUFFIX;
 
1277          * A named preference that holds the color used to render operators and
 
1280          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1281          * string using class <code>PreferenceConverter</code>
 
1284          * @see org.eclipse.jface.resource.StringConverter
 
1285          * @see org.eclipse.jface.preference.PreferenceConverter
 
1288         public final static String EDITOR_PHP_BRACE_OPERATOR_COLOR = IPreferenceConstants.PHP_BRACE_OPERATOR;
 
1291          * A named preference that controls whether operators and brackets are
 
1294          * Value is of type <code>Boolean</code>.
 
1299         public final static String EDITOR_PHP_BRACE_OPERATOR_BOLD = IPreferenceConstants.PHP_BRACE_OPERATOR
 
1300                         + EDITOR_BOLD_SUFFIX;
 
1303          * A named preference that controls whether operators and brackets are
 
1304          * rendered in italic.
 
1306          * Value is of type <code>Boolean</code>.
 
1311         public final static String EDITOR_PHP_BRACE_OPERATOR_ITALIC = IPreferenceConstants.PHP_BRACE_OPERATOR
 
1312                         + EDITOR_ITALIC_SUFFIX;
 
1315          * A named preference that holds the color used to render the 'return'
 
1318          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1319          * string using class <code>PreferenceConverter</code>
 
1322          * @see org.eclipse.jface.resource.StringConverter
 
1323          * @see org.eclipse.jface.preference.PreferenceConverter
 
1326         public final static String EDITOR_PHP_KEYWORD_RETURN_COLOR = IPreferenceConstants.PHP_KEYWORD_RETURN;
 
1329          * A named preference that controls whether 'return' keyword is rendered in
 
1332          * Value is of type <code>Boolean</code>.
 
1337         public final static String EDITOR_PHP_KEYWORD_RETURN_BOLD = IPreferenceConstants.PHP_KEYWORD_RETURN
 
1338                         + EDITOR_BOLD_SUFFIX;
 
1341          * A named preference that controls whether 'return' keyword is rendered in
 
1344          * Value is of type <code>Boolean</code>.
 
1349         public final static String EDITOR_PHP_KEYWORD_RETURN_ITALIC = IPreferenceConstants.PHP_KEYWORD_RETURN
 
1350                         + EDITOR_ITALIC_SUFFIX;
 
1353          * A named preference that holds the color used to render php start and stop
 
1356          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1357          * string using class <code>PreferenceConverter</code>
 
1360          * @see org.eclipse.jface.resource.StringConverter
 
1361          * @see org.eclipse.jface.preference.PreferenceConverter
 
1363         public final static String EDITOR_PHP_TAG_COLOR = IPreferenceConstants.PHP_TAG;
 
1366          * A named preference that controls whether php start and stop tags are
 
1369          * Value is of type <code>Boolean</code>.
 
1372         public final static String EDITOR_PHP_TAG_BOLD = IPreferenceConstants.PHP_TAG
 
1373                         + EDITOR_BOLD_SUFFIX;
 
1376          * A named preference that holds the color used to render php keywords.
 
1378          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1379          * string using class <code>PreferenceConverter</code>
 
1382          * @see org.eclipse.jface.resource.StringConverter
 
1383          * @see org.eclipse.jface.preference.PreferenceConverter
 
1385         public final static String EDITOR_JAVA_KEYWORD_COLOR = IPreferenceConstants.PHP_KEYWORD;
 
1388          * A named preference that controls whether keywords are rendered in bold.
 
1390          * Value is of type <code>Boolean</code>.
 
1393         public final static String EDITOR_JAVA_KEYWORD_BOLD = IPreferenceConstants.PHP_KEYWORD
 
1394                         + EDITOR_BOLD_SUFFIX;
 
1397          * A named preference that holds the color used to render predefined php
 
1400          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1401          * string using class <code>PreferenceConverter</code>
 
1404          * @see org.eclipse.jface.resource.StringConverter
 
1405          * @see org.eclipse.jface.preference.PreferenceConverter
 
1407         public final static String EDITOR_PHP_FUNCTIONNAME_COLOR = IPreferenceConstants.PHP_FUNCTIONNAME;
 
1410          * A named preference that controls whether function names are rendered in
 
1413          * Value is of type <code>Boolean</code>.
 
1416         public final static String EDITOR_PHP_FUNCTIONNAME_BOLD = IPreferenceConstants.PHP_FUNCTIONNAME
 
1417                         + EDITOR_BOLD_SUFFIX;
 
1420          * A named preference that holds the color used to render php variables with
 
1423          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1424          * string using class <code>PreferenceConverter</code>
 
1427          * @see org.eclipse.jface.resource.StringConverter
 
1428          * @see org.eclipse.jface.preference.PreferenceConverter
 
1430         public final static String EDITOR_PHP_VARIABLE_DOLLAR_COLOR = IPreferenceConstants.PHP_VARIABLE_DOLLAR;
 
1433          * A named preference that controls whether variables with prefix '$_' are
 
1436          * Value is of type <code>Boolean</code>.
 
1439         public final static String EDITOR_PHP_VARIABLE_DOLLAR_BOLD = IPreferenceConstants.PHP_VARIABLE_DOLLAR
 
1440                         + EDITOR_BOLD_SUFFIX;
 
1443          * A named preference that holds the color used to render php variables.
 
1445          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1446          * string using class <code>PreferenceConverter</code>
 
1449          * @see org.eclipse.jface.resource.StringConverter
 
1450          * @see org.eclipse.jface.preference.PreferenceConverter
 
1452         public final static String EDITOR_PHP_VARIABLE_COLOR = IPreferenceConstants.PHP_VARIABLE;
 
1455          * A named preference that controls whether variables are rendered in bold.
 
1457          * Value is of type <code>Boolean</code>.
 
1460         public final static String EDITOR_PHP_VARIABLE_BOLD = IPreferenceConstants.PHP_VARIABLE
 
1461                         + EDITOR_BOLD_SUFFIX;
 
1464          * A named preference that holds the color used to render php constants.
 
1466          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1467          * string using class <code>PreferenceConverter</code>
 
1470          * @see org.eclipse.jface.resource.StringConverter
 
1471          * @see org.eclipse.jface.preference.PreferenceConverter
 
1473         public final static String EDITOR_PHP_CONSTANT_COLOR = IPreferenceConstants.PHP_CONSTANT;
 
1476          * A named preference that controls whether constants are rendered in bold.
 
1478          * Value is of type <code>Boolean</code>.
 
1481         public final static String EDITOR_PHP_CONSTANT_BOLD = IPreferenceConstants.PHP_CONSTANT
 
1482                         + EDITOR_BOLD_SUFFIX;
 
1485          * A named preference that holds the color used to render php types.
 
1487          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1488          * string using class <code>PreferenceConverter</code>
 
1491          * @see org.eclipse.jface.resource.StringConverter
 
1492          * @see org.eclipse.jface.preference.PreferenceConverter
 
1494         public final static String EDITOR_PHP_TYPE_COLOR = IPreferenceConstants.PHP_TYPE;
 
1497          * A named preference that controls whether types are rendered in bold.
 
1499          * Value is of type <code>Boolean</code>.
 
1502         public final static String EDITOR_PHP_TYPE_BOLD = IPreferenceConstants.PHP_TYPE
 
1503                         + EDITOR_BOLD_SUFFIX;
 
1506          * A named preference that holds the color used to render string constants.
 
1508          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1509          * string using class <code>PreferenceConverter</code>
 
1512          * @see org.eclipse.jface.resource.StringConverter
 
1513          * @see org.eclipse.jface.preference.PreferenceConverter
 
1515         public final static String EDITOR_STRING_COLOR_DQ = IPreferenceConstants.PHP_STRING_DQ;
 
1518          * A named preference that controls whether string constants are rendered in
 
1521          * Value is of type <code>Boolean</code>.
 
1524         public final static String EDITOR_STRING_BOLD_DQ = IPreferenceConstants.PHP_STRING_DQ
 
1525                         + EDITOR_BOLD_SUFFIX;
 
1527         public final static String EDITOR_STRING_COLOR_SQ = IPreferenceConstants.PHP_STRING_SQ;
 
1530          * A named preference that controls whether string constants are rendered in
 
1533          * Value is of type <code>Boolean</code>.
 
1536         public final static String EDITOR_STRING_BOLD_SQ = IPreferenceConstants.PHP_STRING_SQ
 
1537                         + EDITOR_BOLD_SUFFIX;
 
1540          * A named preference that holds the color used to render php default text.
 
1542          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1543          * string using class <code>PreferenceConverter</code>
 
1546          * @see org.eclipse.jface.resource.StringConverter
 
1547          * @see org.eclipse.jface.preference.PreferenceConverter
 
1549         public final static String EDITOR_JAVA_DEFAULT_COLOR = IPreferenceConstants.PHP_DEFAULT;
 
1552          * A named preference that controls whether Java default text is rendered in
 
1555          * Value is of type <code>Boolean</code>.
 
1558         public final static String EDITOR_JAVA_DEFAULT_BOLD = IPreferenceConstants.PHP_DEFAULT
 
1559                         + EDITOR_BOLD_SUFFIX;
 
1562          * A named preference that holds the color used to render task tags.
 
1564          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1565          * string using class <code>PreferenceConverter</code>
 
1568          * @see org.eclipse.jface.resource.StringConverter
 
1569          * @see org.eclipse.jface.preference.PreferenceConverter
 
1572         public final static String EDITOR_TASK_TAG_COLOR = IPreferenceConstants.TASK_TAG;
 
1575          * A named preference that controls whether task tags are rendered in bold.
 
1577          * Value is of type <code>Boolean</code>.
 
1582         public final static String EDITOR_TASK_TAG_BOLD = IPreferenceConstants.TASK_TAG
 
1583                         + EDITOR_BOLD_SUFFIX;
 
1586          * A named preference that holds the color used to render phpdoc keywords.
 
1588          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1589          * string using class <code>PreferenceConverter</code>
 
1592          * @see org.eclipse.jface.resource.StringConverter
 
1593          * @see org.eclipse.jface.preference.PreferenceConverter
 
1595         public final static String EDITOR_JAVADOC_KEYWORD_COLOR = IPreferenceConstants.PHPDOC_KEYWORD;
 
1598          * A named preference that controls whether phpdoc keywords are rendered in
 
1601          * Value is of type <code>Boolean</code>.
 
1604         public final static String EDITOR_JAVADOC_KEYWORD_BOLD = IPreferenceConstants.PHPDOC_KEYWORD
 
1605                         + EDITOR_BOLD_SUFFIX;
 
1608          * A named preference that holds the color used to render phpdoc tags.
 
1610          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1611          * string using class <code>PreferenceConverter</code>
 
1614          * @see org.eclipse.jface.resource.StringConverter
 
1615          * @see org.eclipse.jface.preference.PreferenceConverter
 
1617         public final static String EDITOR_JAVADOC_TAG_COLOR = IPreferenceConstants.PHPDOC_TAG;
 
1620          * A named preference that controls whether phpdoc tags are rendered in
 
1623          * Value is of type <code>Boolean</code>.
 
1626         public final static String EDITOR_JAVADOC_TAG_BOLD = IPreferenceConstants.PHPDOC_TAG
 
1627                         + EDITOR_BOLD_SUFFIX;
 
1630          * A named preference that holds the color used to render phpdoc links.
 
1632          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1633          * string using class <code>PreferenceConverter</code>
 
1636          * @see org.eclipse.jface.resource.StringConverter
 
1637          * @see org.eclipse.jface.preference.PreferenceConverter
 
1639         public final static String EDITOR_JAVADOC_LINKS_COLOR = IPreferenceConstants.PHPDOC_LINK;
 
1642          * A named preference that controls whether phpdoc links are rendered in
 
1645          * Value is of type <code>Boolean</code>.
 
1648         public final static String EDITOR_JAVADOC_LINKS_BOLD = IPreferenceConstants.PHPDOC_LINK
 
1649                         + EDITOR_BOLD_SUFFIX;
 
1652          * A named preference that holds the color used to render phpdoc default
 
1655          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1656          * string using class <code>PreferenceConverter</code>
 
1659          * @see org.eclipse.jface.resource.StringConverter
 
1660          * @see org.eclipse.jface.preference.PreferenceConverter
 
1662         public final static String EDITOR_JAVADOC_DEFAULT_COLOR = IPreferenceConstants.PHPDOC_DEFAULT;
 
1665          * A named preference that controls whether phpdoc default text is rendered
 
1668          * Value is of type <code>Boolean</code>.
 
1671         public final static String EDITOR_JAVADOC_DEFAULT_BOLD = IPreferenceConstants.PHPDOC_DEFAULT
 
1672                         + EDITOR_BOLD_SUFFIX;
 
1675          * A named preference that holds the color used for 'linked-mode' underline.
 
1677          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1678          * string using class <code>PreferenceConverter</code>
 
1681          * @see org.eclipse.jface.resource.StringConverter
 
1682          * @see org.eclipse.jface.preference.PreferenceConverter
 
1685         public final static String EDITOR_LINK_COLOR = "linkColor"; //$NON-NLS-1$
 
1688          * A named preference that controls whether hover tooltips in the editor are
 
1691          * Value is of type <code>Boolean</code>.
 
1694         public static final String EDITOR_SHOW_HOVER = "net.sourceforge.phpdt.ui.editor.showHover"; //$NON-NLS-1$
 
1697          * A named preference that defines the hover shown when no control key is
 
1700          * Value is of type <code>String</code>: possible values are <code>
 
1701          * EDITOR_NO_HOVER_CONFIGURED_ID</code>
 
1702          * or <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
 
1703          * hover contributed as <code>phpEditorTextHovers</code>.
 
1706          * @see #EDITOR_NO_HOVER_CONFIGURED_ID
 
1707          * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
 
1711         public static final String EDITOR_NONE_HOVER = "noneHover"; //$NON-NLS-1$
 
1714          * A named preference that defines the hover shown when the
 
1715          * <code>CTRL</code> modifier key is pressed.
 
1717          * Value is of type <code>String</code>: possible values are <code>
 
1718          * EDITOR_NO_HOVER_CONFIGURED_ID</code>
 
1719          * or <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
 
1720          * hover contributed as <code>phpEditorTextHovers</code>.
 
1723          * @see #EDITOR_NO_HOVER_CONFIGURED_ID
 
1724          * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
 
1728         public static final String EDITOR_CTRL_HOVER = "ctrlHover"; //$NON-NLS-1$
 
1731          * A named preference that defines the hover shown when the
 
1732          * <code>SHIFT</code> modifier key is pressed.
 
1734          * Value is of type <code>String</code>: possible values are <code>
 
1735          * EDITOR_NO_HOVER_CONFIGURED_ID</code>
 
1736          * or <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
 
1737          * hover contributed as <code>phpEditorTextHovers</code>.
 
1740          * @see #EDITOR_NO_HOVER_CONFIGURED_ID
 
1741          * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
 
1742          * @see JavaUI ID_*_HOVER
 
1745         public static final String EDITOR_SHIFT_HOVER = "shiftHover"; //$NON-NLS-1$
 
1748          * A named preference that defines the hover shown when the
 
1749          * <code>CTRL + ALT</code> modifier keys is pressed.
 
1751          * Value is of type <code>String</code>: possible values are <code>
 
1752          * EDITOR_NO_HOVER_CONFIGURED_ID</code>
 
1753          * or <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
 
1754          * hover contributed as <code>phpEditorTextHovers</code>.
 
1757          * @see #EDITOR_NO_HOVER_CONFIGURED_ID
 
1758          * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
 
1759          * @see JavaUI ID_*_HOVER
 
1762         public static final String EDITOR_CTRL_ALT_HOVER = "ctrlAltHover"; //$NON-NLS-1$
 
1765          * A named preference that defines the hover shown when the
 
1766          * <code>CTRL + ALT + SHIFT</code> modifier keys is pressed.
 
1768          * Value is of type <code>String</code>: possible values are <code>
 
1769          * EDITOR_NO_HOVER_CONFIGURED_ID</code>
 
1770          * or <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
 
1771          * hover contributed as <code>phpEditorTextHovers</code>.
 
1774          * @see #EDITOR_NO_HOVER_CONFIGURED_ID
 
1775          * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
 
1776          * @see JavaUI ID_*_HOVER
 
1779         public static final String EDITOR_CTRL_ALT_SHIFT_HOVER = "ctrlAltShiftHover"; //$NON-NLS-1$
 
1782          * A named preference that defines the hover shown when the
 
1783          * <code>CTRL + SHIFT</code> modifier keys is pressed.
 
1785          * Value is of type <code>String</code>: possible values are <code>
 
1786          * EDITOR_NO_HOVER_CONFIGURED_ID</code>
 
1787          * or <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
 
1788          * hover contributed as <code>phpEditorTextHovers</code>.
 
1791          * @see #EDITOR_NO_HOVER_CONFIGURED_ID
 
1792          * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
 
1793          * @see JavaUI ID_*_HOVER
 
1796         public static final String EDITOR_CTRL_SHIFT_HOVER = "ctrlShiftHover"; //$NON-NLS-1$
 
1799          * A named preference that defines the hover shown when the <code>ALT</code>
 
1800          * modifier key is pressed.
 
1802          * Value is of type <code>String</code>: possible values are <code>
 
1803          * EDITOR_NO_HOVER_CONFIGURED_ID</code>,
 
1804          * <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
 
1805          * hover contributed as <code>phpEditorTextHovers</code>.
 
1808          * @see #EDITOR_NO_HOVER_CONFIGURED_ID
 
1809          * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
 
1810          * @see JavaUI ID_*_HOVER
 
1813         public static final String EDITOR_ALT_SHIFT_HOVER = "altShiftHover"; //$NON-NLS-1$
 
1816          * A string value used by the named preferences for hover configuration to
 
1817          * descibe that no hover should be shown for the given key modifiers.
 
1821         public static final String EDITOR_NO_HOVER_CONFIGURED_ID = "noHoverConfiguredId"; //$NON-NLS-1$
 
1824          * A string value used by the named preferences for hover configuration to
 
1825          * descibe that the default hover should be shown for the given key
 
1826          * modifiers. The default hover is described by the
 
1827          * <code>EDITOR_DEFAULT_HOVER</code> property.
 
1831         public static final String EDITOR_DEFAULT_HOVER_CONFIGURED_ID = "defaultHoverConfiguredId"; //$NON-NLS-1$
 
1834          * A named preference that defines the hover named the 'default hover'.
 
1835          * Value is of type <code>String</code>: possible values are <code>
 
1836          * EDITOR_NO_HOVER_CONFIGURED_ID</code>
 
1837          * or <code> the hover id of a hover
 
1838          * contributed as <code>phpEditorTextHovers</code>.
 
1842         public static final String EDITOR_DEFAULT_HOVER = "defaultHover"; //$NON-NLS-1$
 
1845          * A named preference that controls if segmented view (show selected element
 
1846          * only) is turned on or off.
 
1848          * Value is of type <code>Boolean</code>.
 
1851         public static final String EDITOR_SHOW_SEGMENTS = "net.sourceforge.phpdt.ui.editor.showSegments"; //$NON-NLS-1$
 
1854          * A named preference that controls if browser like links are turned on or
 
1857          * Value is of type <code>Boolean</code>.
 
1862         public static final String EDITOR_BROWSER_LIKE_LINKS = "browserLikeLinks"; //$NON-NLS-1$
 
1865          * A named preference that controls the key modifier for browser like links.
 
1867          * Value is of type <code>String</code>.
 
1872         public static final String EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER = "browserLikeLinksKeyModifier"; //$NON-NLS-1$
 
1875          * A named preference that controls whether occurrences are marked in the
 
1878          * Value is of type <code>Boolean</code>.
 
1883         public static final String EDITOR_MARK_OCCURRENCES = "markOccurrences"; //$NON-NLS-1$
 
1886          * A named preference that controls whether occurrences are sticky in the
 
1889          * Value is of type <code>Boolean</code>.
 
1894         public static final String EDITOR_STICKY_OCCURRENCES = "stickyOccurrences"; //$NON-NLS-1$
 
1897          * A named preference that controls disabling of the overwrite mode.
 
1899          * Value is of type <code>Boolean</code>.
 
1904         public static final String EDITOR_DISABLE_OVERWRITE_MODE = "disable_overwrite_mode"; //$NON-NLS-1$
 
1907          * A named preference that controls the "smart semicolon" smart typing
 
1910          * Value is of type <code>Boolean</code>.
 
1915         public static final String EDITOR_SMART_SEMICOLON = "smart_semicolon"; //$NON-NLS-1$
 
1918          * A named preference that controls the smart backspace behavior.
 
1920          * Value is of type <code>Boolean</code>.
 
1924         public static final String EDITOR_SMART_BACKSPACE = "smart_backspace"; //$NON-NLS-1$
 
1927          * A named preference that controls the "smart opening brace" smart typing
 
1930          * Value is of type <code>Boolean</code>.
 
1935         public static final String EDITOR_SMART_OPENING_BRACE = "smart_opening_brace"; //$NON-NLS-1$
 
1938          * A named preference that controls the smart tab behaviour.
 
1940          * Value is of type <code>Boolean</code>.
 
1944         public static final String EDITOR_SMART_TAB = "smart_tab"; //$NON-NLS-1$
 
1946         public static final String EDITOR_P_RTRIM_ON_SAVE = "editor_p_trim_on_save"; //$NON-NLS-1$
 
1949          * A named preference that controls whether Java comments should be
 
1952          * Value is of type <code>Boolean</code>.
 
1957         public final static String SPELLING_CHECK_SPELLING = ISpellCheckPreferenceKeys.SPELLING_CHECK_SPELLING;
 
1960          * A named preference that controls whether words containing digits should
 
1961          * be skipped during spell-checking.
 
1963          * Value is of type <code>Boolean</code>.
 
1968         public final static String SPELLING_IGNORE_DIGITS = ISpellCheckPreferenceKeys.SPELLING_IGNORE_DIGITS;
 
1971          * A named preference that controls whether mixed case words should be
 
1972          * skipped during spell-checking.
 
1974          * Value is of type <code>Boolean</code>.
 
1979         public final static String SPELLING_IGNORE_MIXED = ISpellCheckPreferenceKeys.SPELLING_IGNORE_MIXED;
 
1982          * A named preference that controls whether sentence capitalization should
 
1983          * be ignored during spell-checking.
 
1985          * Value is of type <code>Boolean</code>.
 
1990         public final static String SPELLING_IGNORE_SENTENCE = ISpellCheckPreferenceKeys.SPELLING_IGNORE_SENTENCE;
 
1993          * A named preference that controls whether upper case words should be
 
1994          * skipped during spell-checking.
 
1996          * Value is of type <code>Boolean</code>.
 
2001         public final static String SPELLING_IGNORE_UPPER = ISpellCheckPreferenceKeys.SPELLING_IGNORE_UPPER;
 
2004          * A named preference that controls whether urls should be ignored during
 
2007          * Value is of type <code>Boolean</code>.
 
2012         public final static String SPELLING_IGNORE_URLS = ISpellCheckPreferenceKeys.SPELLING_IGNORE_URLS;
 
2015          * A named preference that controls the locale used for spell-checking.
 
2017          * Value is of type <code>String</code>.
 
2022         public final static String SPELLING_LOCALE = ISpellCheckPreferenceKeys.SPELLING_LOCALE;
 
2025          * A named preference that controls the number of proposals offered during
 
2028          * Value is of type <code>Integer</code>.
 
2033         public final static String SPELLING_PROPOSAL_THRESHOLD = ISpellCheckPreferenceKeys.SPELLING_PROPOSAL_THRESHOLD;
 
2036          * A named preference that specifies the workspace user dictionary.
 
2038          * Value is of type <code>Integer</code>.
 
2043         public final static String SPELLING_USER_DICTIONARY = ISpellCheckPreferenceKeys.SPELLING_USER_DICTIONARY;
 
2046          * A named preference that specifies whether spelling dictionaries are
 
2047          * available to content assist.
 
2049          * Value is of type <code>Boolean</code>.
 
2054         public final static String SPELLING_ENABLE_CONTENTASSIST = ISpellCheckPreferenceKeys.SPELLING_ENABLE_CONTENTASSIST;
 
2057          * A named preference that controls whether code snippets are formatted in
 
2060          * Value is of type <code>Boolean</code>.
 
2065         public final static String FORMATTER_COMMENT_FORMATSOURCE = "comment_format_source_code"; //$NON-NLS-1$
 
2068          * A named preference that controls whether description of Javadoc
 
2069          * parameters are indented.
 
2071          * Value is of type <code>Boolean</code>.
 
2076         public final static String FORMATTER_COMMENT_INDENTPARAMETERDESCRIPTION = "comment_indent_parameter_description"; //$NON-NLS-1$
 
2079          * A named preference that controls whether the header comment of a Java
 
2080          * source file is formatted.
 
2082          * Value is of type <code>Boolean</code>.
 
2087         public final static String FORMATTER_COMMENT_FORMATHEADER = "comment_format_header"; //$NON-NLS-1$
 
2090          * A named preference that controls whether Javadoc root tags are indented.
 
2092          * Value is of type <code>Boolean</code>.
 
2097         public final static String FORMATTER_COMMENT_INDENTROOTTAGS = "comment_indent_root_tags"; //$NON-NLS-1$
 
2100          * A named preference that controls whether Javadoc comments are formatted
 
2101          * by the content formatter.
 
2103          * Value is of type <code>Boolean</code>.
 
2108         public final static String FORMATTER_COMMENT_FORMAT = "comment_format_comments"; //$NON-NLS-1$
 
2111          * A named preference that controls whether a new line is inserted after
 
2112          * Javadoc root tag parameters.
 
2114          * Value is of type <code>Boolean</code>.
 
2119         public final static String FORMATTER_COMMENT_NEWLINEFORPARAMETER = "comment_new_line_for_parameter"; //$NON-NLS-1$
 
2122          * A named preference that controls whether an empty line is inserted before
 
2123          * the Javadoc root tag block.
 
2125          * Value is of type <code>Boolean</code>.
 
2130         public final static String FORMATTER_COMMENT_SEPARATEROOTTAGS = "comment_separate_root_tags"; //$NON-NLS-1$
 
2133          * A named preference that controls whether blank lines are cleared during
 
2136          * Value is of type <code>Boolean</code>.
 
2141         public final static String FORMATTER_COMMENT_CLEARBLANKLINES = "comment_clear_blank_lines"; //$NON-NLS-1$
 
2144          * A named preference that controls the line length of comments.
 
2146          * Value is of type <code>Integer</code>. The value must be at least 4
 
2147          * for reasonable formatting.
 
2152         public final static String FORMATTER_COMMENT_LINELENGTH = "comment_line_length"; //$NON-NLS-1$
 
2155          * A named preference that controls whether html tags are formatted.
 
2157          * Value is of type <code>Boolean</code>.
 
2162         public final static String FORMATTER_COMMENT_FORMATHTML = "comment_format_html"; //$NON-NLS-1$
 
2165          * A named preference that controls if the Java code assist gets auto
 
2168          * Value is of type <code>Boolean</code>.
 
2171         public final static String CODEASSIST_AUTOACTIVATION = "content_assist_autoactivation"; //$NON-NLS-1$
 
2174          * A name preference that holds the auto activation delay time in milli
 
2177          * Value is of type <code>Int</code>.
 
2180         public final static String CODEASSIST_AUTOACTIVATION_DELAY = "content_assist_autoactivation_delay"; //$NON-NLS-1$
 
2183          * A named preference that controls if code assist contains only visible
 
2186          * Value is of type <code>Boolean</code>. if
 
2187          * <code>true<code> code assist only contains visible members. If
 
2188          * <code>false</code> all members are included.
 
2191         public final static String CODEASSIST_SHOW_VISIBLE_PROPOSALS = "content_assist_show_visible_proposals"; //$NON-NLS-1$
 
2194          * A named preference that controls if the Java code assist inserts a
 
2195          * proposal automatically if only one proposal is available.
 
2197          * Value is of type <code>Boolean</code>.
 
2202         public final static String CODEASSIST_AUTOINSERT = "content_assist_autoinsert"; //$NON-NLS-1$
 
2205          * A named preference that controls if the Java code assist adds import
 
2208          * Value is of type <code>Boolean</code>.
 
2213         public final static String CODEASSIST_ADDIMPORT = "content_assist_add_import"; //$NON-NLS-1$
 
2216          * A named preference that controls if the Java code assist only inserts
 
2217          * completions. If set to false the proposals can also _replace_ code.
 
2219          * Value is of type <code>Boolean</code>.
 
2224         public final static String CODEASSIST_INSERT_COMPLETION = "content_assist_insert_completion"; //$NON-NLS-1$
 
2227          * A named preference that controls whether code assist proposals filtering
 
2228          * is case sensitive or not.
 
2230          * Value is of type <code>Boolean</code>.
 
2233         public final static String CODEASSIST_CASE_SENSITIVITY = "content_assist_case_sensitivity"; //$NON-NLS-1$
 
2236          * A named preference that defines if code assist proposals are sorted in
 
2237          * alphabetical order.
 
2239          * Value is of type <code>Boolean</code>. If <code>true</code> that are
 
2240          * sorted in alphabetical order. If <code>false</code> that are unsorted.
 
2243         public final static String CODEASSIST_ORDER_PROPOSALS = "content_assist_order_proposals"; //$NON-NLS-1$
 
2246          * A named preference that controls if argument names are filled in when a
 
2247          * method is selected from as list of code assist proposal.
 
2249          * Value is of type <code>Boolean</code>.
 
2252         public final static String CODEASSIST_FILL_ARGUMENT_NAMES = "content_assist_fill_method_arguments"; //$NON-NLS-1$
 
2255          * A named preference that controls if method arguments are guessed when a
 
2256          * method is selected from as list of code assist proposal.
 
2258          * Value is of type <code>Boolean</code>.
 
2263         public final static String CODEASSIST_GUESS_METHOD_ARGUMENTS = "content_assist_guess_method_arguments"; //$NON-NLS-1$
 
2266          * A named preference that holds the characters that auto activate code
 
2267          * assist in PHP code.
 
2269          * Value is of type <code>Sring</code>. All characters that trigger auto
 
2270          * code assist in PHP code.
 
2273         public final static String CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVA = "content_assist_autoactivation_triggers_php"; //$NON-NLS-1$
 
2276          * A named preference that holds the characters that auto activate code
 
2279          * Value is of type <code>Sring</code>. All characters that trigger auto
 
2280          * code assist in PHPDoc.
 
2283         public final static String CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVADOC = "content_assist_autoactivation_triggers_phpdoc"; //$NON-NLS-1$
 
2286          * A named preference that holds the characters that auto activate code
 
2289          * Value is of type <code>Sring</code>. All characters that trigger auto
 
2290          * code assist in HTML.
 
2293         public final static String CODEASSIST_AUTOACTIVATION_TRIGGERS_HTML = "content_assist_autoactivation_triggers_html"; //$NON-NLS-1$
 
2296          * A named preference that holds the background color used in the code
 
2297          * assist selection dialog.
 
2299          * Value is of type <code>String</code>. A RGB color value encoded as a
 
2300          * string using class <code>PreferenceConverter</code>
 
2303          * @see org.eclipse.jface.resource.StringConverter
 
2304          * @see org.eclipse.jface.preference.PreferenceConverter
 
2306         public final static String CODEASSIST_PROPOSALS_BACKGROUND = "content_assist_proposals_background"; //$NON-NLS-1$
 
2309          * A named preference that holds the foreground color used in the code
 
2310          * assist selection dialog.
 
2312          * Value is of type <code>String</code>. A RGB color value encoded as a
 
2313          * string using class <code>PreferenceConverter</code>
 
2316          * @see org.eclipse.jface.resource.StringConverter
 
2317          * @see org.eclipse.jface.preference.PreferenceConverter
 
2319         public final static String CODEASSIST_PROPOSALS_FOREGROUND = "content_assist_proposals_foreground"; //$NON-NLS-1$
 
2322          * A named preference that holds the background color used for parameter
 
2325          * Value is of type <code>String</code>. A RGB color value encoded as a
 
2326          * string using class <code>PreferenceConverter</code>
 
2329          * @see org.eclipse.jface.resource.StringConverter
 
2330          * @see org.eclipse.jface.preference.PreferenceConverter
 
2332         public final static String CODEASSIST_PARAMETERS_BACKGROUND = "content_assist_parameters_background"; //$NON-NLS-1$
 
2335          * A named preference that holds the foreground color used in the code
 
2336          * assist selection dialog
 
2338          * Value is of type <code>String</code>. A RGB color value encoded as a
 
2339          * string using class <code>PreferenceConverter</code>
 
2342          * @see org.eclipse.jface.resource.StringConverter
 
2343          * @see org.eclipse.jface.preference.PreferenceConverter
 
2345         public final static String CODEASSIST_PARAMETERS_FOREGROUND = "content_assist_parameters_foreground"; //$NON-NLS-1$
 
2348          * A named preference that holds the background color used in the code
 
2349          * assist selection dialog to mark replaced code.
 
2351          * Value is of type <code>String</code>. A RGB color value encoded as a
 
2352          * string using class <code>PreferenceConverter</code>
 
2355          * @see org.eclipse.jface.resource.StringConverter
 
2356          * @see org.eclipse.jface.preference.PreferenceConverter
 
2359         public final static String CODEASSIST_REPLACEMENT_BACKGROUND = "content_assist_completion_replacement_background"; //$NON-NLS-1$
 
2362          * A named preference that holds the foreground color used in the code
 
2363          * assist selection dialog to mark replaced code.
 
2365          * Value is of type <code>String</code>. A RGB color value encoded as a
 
2366          * string using class <code>PreferenceConverter</code>
 
2369          * @see org.eclipse.jface.resource.StringConverter
 
2370          * @see org.eclipse.jface.preference.PreferenceConverter
 
2373         public final static String CODEASSIST_REPLACEMENT_FOREGROUND = "content_assist_completion_replacement_foreground"; //$NON-NLS-1$
 
2376          * A named preference that controls the behaviour of the refactoring wizard
 
2377          * for showing the error page.
 
2379          * Value is of type <code>String</code>. Valid values are:
 
2380          * <code>REFACTOR_FATAL_SEVERITY</code>,
 
2381          * <code>REFACTOR_ERROR_SEVERITY</code>,<code>REFACTOR_WARNING_SEVERITY</code>
 
2382          * <code>REFACTOR_INFO_SEVERITY</code>,
 
2383          * <code>REFACTOR_OK_SEVERITY</code>.
 
2386          * @see #REFACTOR_FATAL_SEVERITY
 
2387          * @see #REFACTOR_ERROR_SEVERITY
 
2388          * @see #REFACTOR_WARNING_SEVERITY
 
2389          * @see #REFACTOR_INFO_SEVERITY
 
2390          * @see #REFACTOR_OK_SEVERITY
 
2392         public static final String REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD = "Refactoring.ErrorPage.severityThreshold"; //$NON-NLS-1$
 
2395          * A string value used by the named preference
 
2396          * <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
 
2398          * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
 
2400         public static final String REFACTOR_FATAL_SEVERITY = "4"; //$NON-NLS-1$
 
2403          * A string value used by the named preference
 
2404          * <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
 
2406          * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
 
2408         public static final String REFACTOR_ERROR_SEVERITY = "3"; //$NON-NLS-1$
 
2411          * A string value used by the named preference
 
2412          * <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
 
2414          * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
 
2416         public static final String REFACTOR_WARNING_SEVERITY = "2"; //$NON-NLS-1$
 
2419          * A string value used by the named preference
 
2420          * <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
 
2422          * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
 
2424         public static final String REFACTOR_INFO_SEVERITY = "1"; //$NON-NLS-1$
 
2427          * A string value used by the named preference
 
2428          * <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
 
2430          * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
 
2432         public static final String REFACTOR_OK_SEVERITY = "0"; //$NON-NLS-1$
 
2435          * A named preference thet controls whether all dirty editors are
 
2436          * automatically saved before a refactoring is executed.
 
2438          * Value is of type <code>Boolean</code>.
 
2441         public static final String REFACTOR_SAVE_ALL_EDITORS = "Refactoring.savealleditors"; //$NON-NLS-1$
 
2444          * A named preference that controls if the Java Browsing views are linked to
 
2445          * the active editor.
 
2447          * Value is of type <code>Boolean</code>.
 
2450          * @see #LINK_PACKAGES_TO_EDITOR
 
2452         public static final String BROWSING_LINK_VIEW_TO_EDITOR = "net.sourceforge.phpdt.ui.browsing.linktoeditor"; //$NON-NLS-1$
 
2455          * A named preference that controls the layout of the Java Browsing views
 
2456          * vertically. Boolean value.
 
2458          * Value is of type <code>Boolean</code>. If
 
2459          * <code>true<code> the views are stacked vertical.
 
2460          * If <code>false</code> they are stacked horizontal.
 
2463         public static final String BROWSING_STACK_VERTICALLY = "net.sourceforge.phpdt.ui.browsing.stackVertically"; //$NON-NLS-1$
 
2466          * A named preference that controls if templates are formatted when applied.
 
2468          * Value is of type <code>Boolean</code>.
 
2473         public static final String TEMPLATES_USE_CODEFORMATTER = "net.sourceforge.phpdt.ui.template.format"; //$NON-NLS-1$
 
2476          * A named preference that controls whether annotation roll over is used or
 
2479          * Value is of type <code>Boolean</code>. If
 
2480          * <code>true<code> the annotation ruler column
 
2481          * uses a roll over to display multiple annotations
 
2486         public static final String EDITOR_ANNOTATION_ROLL_OVER = "editor_annotation_roll_over"; //$NON-NLS-1$
 
2489          * A named preference that controls the key modifier mask for browser like
 
2490          * links. The value is only used if the value of
 
2491          * <code>EDITOR_BROWSER_LIKE_LINKS</code> cannot be resolved to valid SWT
 
2494          * Value is of type <code>String</code>.
 
2497          * @see #EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER
 
2500         public static final String EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER_MASK = "browserLikeLinksKeyModifierMask"; //$NON-NLS-1$
 
2503          * A named preference that defines the key for the hover modifier state
 
2504          * masks. The value is only used if the value of
 
2505          * <code>EDITOR_TEXT_HOVER_MODIFIERS</code> cannot be resolved to valid
 
2506          * SWT modifier bits.
 
2509          * @see #EDITOR_TEXT_HOVER_MODIFIERS
 
2512         public static final String EDITOR_TEXT_HOVER_MODIFIER_MASKS = "hoverModifierMasks"; //$NON-NLS-1$
 
2515          * A named preference that controls whether folding is enabled in the Java
 
2518          * Value is of type <code>Boolean</code>.
 
2523         public static final String EDITOR_FOLDING_ENABLED = "editor_folding_enabled"; //$NON-NLS-1$
 
2526          * A named preference that stores the configured folding provider.
 
2528          * Value is of type <code>String</code>.
 
2533         public static final String EDITOR_FOLDING_PROVIDER = "editor_folding_provider"; //$NON-NLS-1$
 
2536          * A named preference that stores the value for Javadoc folding for the
 
2537          * default folding provider.
 
2539          * Value is of type <code>Boolean</code>.
 
2544         public static final String EDITOR_FOLDING_JAVADOC = "editor_folding_default_javadoc"; //$NON-NLS-1$
 
2547          * A named preference that stores the value for inner type folding for the
 
2548          * default folding provider.
 
2550          * Value is of type <code>Boolean</code>.
 
2555         public static final String EDITOR_FOLDING_INNERTYPES = "editor_folding_default_innertypes"; //$NON-NLS-1$
 
2558          * A named preference that stores the value for method folding for the
 
2559          * default folding provider.
 
2561          * Value is of type <code>Boolean</code>.
 
2566         public static final String EDITOR_FOLDING_METHODS = "editor_folding_default_methods"; //$NON-NLS-1$
 
2569          * A named preference that stores the value for imports folding for the
 
2570          * default folding provider.
 
2572          * Value is of type <code>Boolean</code>.
 
2577         // public static final String EDITOR_FOLDING_IMPORTS =
 
2578         // "editor_folding_default_imports"; //$NON-NLS-1$
 
2580          * A named preference that stores the value for header comment folding for
 
2581          * the default folding provider.
 
2583          * Value is of type <code>Boolean</code>.
 
2588         public static final String EDITOR_FOLDING_HEADERS = "editor_folding_default_headers"; //$NON-NLS-1$
 
2590         public static void initializeDefaultValues(IPreferenceStore store) {
 
2591                 store.setDefault(PreferenceConstants.EDITOR_SHOW_SEGMENTS, false);
 
2593                 // JavaBasePreferencePage
 
2594                 store.setDefault(PreferenceConstants.LINK_PACKAGES_TO_EDITOR, true);
 
2595                 store.setDefault(PreferenceConstants.LINK_TYPEHIERARCHY_TO_EDITOR,
 
2598                                 .setDefault(PreferenceConstants.LINK_BROWSING_VIEW_TO_EDITOR,
 
2600                 store.setDefault(PreferenceConstants.OPEN_TYPE_HIERARCHY,
 
2601                                 PreferenceConstants.OPEN_TYPE_HIERARCHY_IN_VIEW_PART);
 
2602                 store.setDefault(PreferenceConstants.DOUBLE_CLICK,
 
2603                                 PreferenceConstants.DOUBLE_CLICK_EXPANDS);
 
2604                 store.setDefault(PreferenceConstants.UPDATE_JAVA_VIEWS,
 
2605                                 PreferenceConstants.UPDATE_WHILE_EDITING);
 
2607                 // AppearancePreferencePage
 
2608                 store.setDefault(PreferenceConstants.APPEARANCE_COMPRESS_PACKAGE_NAMES,
 
2610                 store.setDefault(PreferenceConstants.APPEARANCE_METHOD_RETURNTYPE,
 
2612                 store.setDefault(PreferenceConstants.SHOW_CU_CHILDREN, true);
 
2613                 store.setDefault(PreferenceConstants.APPEARANCE_OVERRIDE_INDICATOR,
 
2615                 store.setDefault(PreferenceConstants.BROWSING_STACK_VERTICALLY, false);
 
2617                                 PreferenceConstants.APPEARANCE_PKG_NAME_PATTERN_FOR_PKG_VIEW,
 
2621                                                 PreferenceConstants.APPEARANCE_FOLD_PACKAGES_IN_PACKAGE_EXPLORER,
 
2624                 // ImportOrganizePreferencePage
 
2625                 // store.setDefault(PreferenceConstants.ORGIMPORTS_IMPORTORDER,
 
2626                 // "php;phpx;org;com"); //$NON-NLS-1$
 
2627                 store.setDefault(PreferenceConstants.ORGIMPORTS_ONDEMANDTHRESHOLD, 99);
 
2628                 store.setDefault(PreferenceConstants.ORGIMPORTS_IGNORELOWERCASE, true);
 
2630                 // ClasspathVariablesPreferencePage
 
2631                 // CodeFormatterPreferencePage
 
2632                 // CompilerPreferencePage
 
2633                 // no initialization needed
 
2635                 // RefactoringPreferencePage
 
2637                                 PreferenceConstants.REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD,
 
2638                                 PreferenceConstants.REFACTOR_ERROR_SEVERITY);
 
2639                 store.setDefault(PreferenceConstants.REFACTOR_SAVE_ALL_EDITORS, false);
 
2640                 store.setDefault("RefactoringUI", "dialog");
 
2642                 // TemplatePreferencePage
 
2643                 store.setDefault(PreferenceConstants.TEMPLATES_USE_CODEFORMATTER, true);
 
2645                 // CodeGenerationPreferencePage
 
2646                 store.setDefault(PreferenceConstants.CODEGEN_USE_GETTERSETTER_PREFIX,
 
2648                 store.setDefault(PreferenceConstants.CODEGEN_USE_GETTERSETTER_SUFFIX,
 
2650                 store.setDefault(PreferenceConstants.CODEGEN_GETTERSETTER_PREFIX,
 
2651                                 "fg, f, _$, _, m_"); //$NON-NLS-1$
 
2652                 store.setDefault(PreferenceConstants.CODEGEN_GETTERSETTER_SUFFIX, "_"); //$NON-NLS-1$
 
2654                 store.setDefault(PreferenceConstants.CODEGEN_KEYWORD_THIS, false);
 
2655                 store.setDefault(PreferenceConstants.CODEGEN_IS_FOR_GETTERS, true);
 
2656                 store.setDefault(PreferenceConstants.CODEGEN_EXCEPTION_VAR_NAME, "e"); //$NON-NLS-1$
 
2657                 store.setDefault(PreferenceConstants.CODEGEN_ADD_COMMENTS, true);
 
2658                 store.setDefault(PreferenceConstants.CODEGEN__NON_JAVADOC_COMMENTS,
 
2660                 store.setDefault(PreferenceConstants.CODEGEN__FILE_COMMENTS, false);
 
2662                 // MembersOrderPreferencePage
 
2663                 store.setDefault(PreferenceConstants.APPEARANCE_MEMBER_SORT_ORDER,
 
2664                                 "T,SF,SI,SM,I,F,C,M"); //$NON-NLS-1$
 
2665                 store.setDefault(PreferenceConstants.APPEARANCE_VISIBILITY_SORT_ORDER,
 
2666                                 "B,V,R,D"); //$NON-NLS-1$
 
2668                                 PreferenceConstants.APPEARANCE_ENABLE_VISIBILITY_SORT_ORDER,
 
2670                 // must add here to guarantee that it is the first in the listener list
 
2671                 store.addPropertyChangeListener(PHPeclipsePlugin.getDefault()
 
2672                                 .getMemberOrderPreferenceCache());
 
2674                 store.setDefault(PreferenceConstants.EDITOR_MATCHING_BRACKETS, true);
 
2675                 PreferenceConverter.setDefault(store,
 
2676                                 PreferenceConstants.EDITOR_MATCHING_BRACKETS_COLOR, new RGB(
 
2679                 store.setDefault(PreferenceConstants.EDITOR_CURRENT_LINE, true);
 
2680                 PreferenceConverter.setDefault(store,
 
2681                                 PreferenceConstants.EDITOR_CURRENT_LINE_COLOR, new RGB(225,
 
2684                 store.setDefault(PreferenceConstants.EDITOR_PRINT_MARGIN, false);
 
2685                 store.setDefault(PreferenceConstants.EDITOR_PRINT_MARGIN_COLUMN, 80);
 
2686                 PreferenceConverter.setDefault(store,
 
2687                                 PreferenceConstants.EDITOR_PRINT_MARGIN_COLOR, new RGB(176,
 
2690                 PreferenceConverter.setDefault(store,
 
2691                                 PreferenceConstants.EDITOR_FIND_SCOPE_COLOR, new RGB(185, 176,
 
2694                 // store.setDefault(PreferenceConstants.EDITOR_PROBLEM_INDICATION,
 
2696                 // PreferenceConverter.setDefault(store,
 
2697                 // PreferenceConstants.EDITOR_PROBLEM_INDICATION_COLOR, new RGB(255, 0,
 
2699                 // store.setDefault(PreferenceConstants.EDITOR_ERROR_INDICATION_IN_OVERVIEW_RULER,
 
2702                 // store.setDefault(PreferenceConstants.EDITOR_WARNING_INDICATION,
 
2704                 // PreferenceConverter.setDefault(store,
 
2705                 // PreferenceConstants.EDITOR_WARNING_INDICATION_COLOR, new RGB(244,
 
2707                 // store.setDefault(PreferenceConstants.EDITOR_WARNING_INDICATION_IN_OVERVIEW_RULER,
 
2710                 // store.setDefault(PreferenceConstants.EDITOR_TASK_INDICATION, false);
 
2711                 // PreferenceConverter.setDefault(store,
 
2712                 // PreferenceConstants.EDITOR_TASK_INDICATION_COLOR, new RGB(0, 128,
 
2714                 // store.setDefault(PreferenceConstants.EDITOR_TASK_INDICATION_IN_OVERVIEW_RULER,
 
2717                 // store.setDefault(PreferenceConstants.EDITOR_BOOKMARK_INDICATION,
 
2719                 // PreferenceConverter.setDefault(store,
 
2720                 // PreferenceConstants.EDITOR_BOOKMARK_INDICATION_COLOR, new RGB(34,
 
2722                 // store.setDefault(PreferenceConstants.EDITOR_BOOKMARK_INDICATION_IN_OVERVIEW_RULER,
 
2725                 // store.setDefault(PreferenceConstants.EDITOR_SEARCH_RESULT_INDICATION,
 
2727                 // PreferenceConverter.setDefault(store,
 
2728                 // PreferenceConstants.EDITOR_SEARCH_RESULT_INDICATION_COLOR, new
 
2729                 // RGB(192, 192, 192));
 
2730                 // store.setDefault(PreferenceConstants.EDITOR_SEARCH_RESULT_INDICATION_IN_OVERVIEW_RULER,
 
2733                 // store.setDefault(PreferenceConstants.EDITOR_UNKNOWN_INDICATION,
 
2735                 // PreferenceConverter.setDefault(store,
 
2736                 // PreferenceConstants.EDITOR_UNKNOWN_INDICATION_COLOR, new RGB(0, 0,
 
2738                 // store.setDefault(PreferenceConstants.EDITOR_UNKNOWN_INDICATION_IN_OVERVIEW_RULER,
 
2742                                 .setDefault(PreferenceConstants.EDITOR_CORRECTION_INDICATION,
 
2745                                 PreferenceConstants.EDITOR_SYNC_OUTLINE_ON_CURSOR_MOVE, true);
 
2747                 store.setDefault(PreferenceConstants.EDITOR_EVALUTE_TEMPORARY_PROBLEMS,
 
2750                 store.setDefault(PreferenceConstants.EDITOR_OVERVIEW_RULER, true);
 
2752                 store.setDefault(PreferenceConstants.EDITOR_LINE_NUMBER_RULER, false);
 
2753                 PreferenceConverter.setDefault(store,
 
2754                                 PreferenceConstants.EDITOR_LINE_NUMBER_RULER_COLOR, new RGB(0,
 
2757                 // WorkbenchChainedTextFontFieldEditor.startPropagate(store,
 
2758                 // JFaceResources.TEXT_FONT);
 
2760                 PreferenceConverter.setDefault(store,
 
2761                                 PreferenceConstants.EDITOR_LINKED_POSITION_COLOR, new RGB(0,
 
2763                 PreferenceConverter.setDefault(store,
 
2764                                 PreferenceConstants.EDITOR_LINK_COLOR, new RGB(0, 0, 255));
 
2766                 store.setDefault(PreferenceConstants.EDITOR_FOREGROUND_DEFAULT_COLOR,
 
2769                 store.setDefault(PreferenceConstants.EDITOR_BACKGROUND_DEFAULT_COLOR,
 
2772                 store.setDefault(PreferenceConstants.EDITOR_TAB_WIDTH, 4);
 
2773                 store.setDefault(PreferenceConstants.EDITOR_SPACES_FOR_TABS, false);
 
2775                 PreferenceConverter.setDefault(store,
 
2776                                 PreferenceConstants.EDITOR_MULTI_LINE_COMMENT_COLOR, new RGB(
 
2778                 store.setDefault(PreferenceConstants.EDITOR_MULTI_LINE_COMMENT_BOLD,
 
2781                 PreferenceConverter.setDefault(store,
 
2782                                 PreferenceConstants.EDITOR_SINGLE_LINE_COMMENT_COLOR, new RGB(
 
2784                 store.setDefault(PreferenceConstants.EDITOR_SINGLE_LINE_COMMENT_BOLD,
 
2787                 PreferenceConverter.setDefault(store,
 
2788                                 PreferenceConstants.EDITOR_PHP_TAG_COLOR, new RGB(255, 0, 128));
 
2789                 store.setDefault(PreferenceConstants.EDITOR_PHP_TAG_BOLD, true);
 
2791                 PreferenceConverter.setDefault(store,
 
2792                                 PreferenceConstants.EDITOR_JAVA_KEYWORD_COLOR, new RGB(127, 0,
 
2794                 store.setDefault(PreferenceConstants.EDITOR_JAVA_KEYWORD_BOLD, true);
 
2796                 PreferenceConverter.setDefault(store,
 
2797                                 PreferenceConstants.EDITOR_PHP_FUNCTIONNAME_COLOR, new RGB(127,
 
2799                 store.setDefault(PreferenceConstants.EDITOR_PHP_FUNCTIONNAME_BOLD,
 
2802                 PreferenceConverter.setDefault(store,
 
2803                                 PreferenceConstants.EDITOR_PHP_VARIABLE_COLOR, new RGB(127,
 
2805                 store.setDefault(PreferenceConstants.EDITOR_PHP_VARIABLE_BOLD, false);
 
2807                 PreferenceConverter.setDefault(store,
 
2808                                 PreferenceConstants.EDITOR_PHP_VARIABLE_DOLLAR_COLOR, new RGB(
 
2810                 store.setDefault(PreferenceConstants.EDITOR_PHP_VARIABLE_DOLLAR_BOLD,
 
2813                 PreferenceConverter.setDefault(store,
 
2814                                 PreferenceConstants.EDITOR_PHP_CONSTANT_COLOR, new RGB(127, 0,
 
2816                 store.setDefault(PreferenceConstants.EDITOR_PHP_CONSTANT_BOLD, false);
 
2818                 PreferenceConverter.setDefault(store,
 
2819                                 PreferenceConstants.EDITOR_PHP_TYPE_COLOR, new RGB(127, 0, 85));
 
2820                 store.setDefault(PreferenceConstants.EDITOR_PHP_TYPE_BOLD, false);
 
2822                 PreferenceConverter.setDefault(store,
 
2823                                 PreferenceConstants.EDITOR_STRING_COLOR_DQ,
 
2824                                 PHPColorProvider.STRING_DQ);
 
2825                 store.setDefault(PreferenceConstants.EDITOR_STRING_BOLD_DQ, false);
 
2827                 PreferenceConverter.setDefault(store,
 
2828                                 PreferenceConstants.EDITOR_STRING_COLOR_SQ,
 
2829                                 PHPColorProvider.STRING_SQ);
 
2830                 store.setDefault(PreferenceConstants.EDITOR_STRING_BOLD_SQ, true);
 
2834                                                 PreferenceConstants.EDITOR_JAVA_DEFAULT_COLOR, new RGB(
 
2836                 store.setDefault(PreferenceConstants.EDITOR_JAVA_DEFAULT_BOLD, false);
 
2838                 PreferenceConverter.setDefault(store,
 
2839                                 PreferenceConstants.EDITOR_JAVADOC_KEYWORD_COLOR, new RGB(127,
 
2841                 store.setDefault(PreferenceConstants.EDITOR_JAVADOC_KEYWORD_BOLD, true);
 
2843                 PreferenceConverter.setDefault(store,
 
2844                                 PreferenceConstants.EDITOR_JAVADOC_TAG_COLOR, new RGB(127, 127,
 
2846                 store.setDefault(PreferenceConstants.EDITOR_JAVADOC_TAG_BOLD, false);
 
2848                 PreferenceConverter.setDefault(store,
 
2849                                 PreferenceConstants.EDITOR_JAVADOC_LINKS_COLOR, new RGB(63, 63,
 
2851                 store.setDefault(PreferenceConstants.EDITOR_JAVADOC_LINKS_BOLD, false);
 
2853                 PreferenceConverter.setDefault(store,
 
2854                                 PreferenceConstants.EDITOR_JAVADOC_DEFAULT_COLOR, new RGB(63,
 
2857                                 .setDefault(PreferenceConstants.EDITOR_JAVADOC_DEFAULT_BOLD,
 
2860                 store.setDefault(PreferenceConstants.CODEASSIST_AUTOACTIVATION, true);
 
2861                 store.setDefault(PreferenceConstants.CODEASSIST_AUTOACTIVATION_DELAY,
 
2864                 store.setDefault(PreferenceConstants.CODEASSIST_AUTOINSERT, true);
 
2865                 PreferenceConverter.setDefault(store,
 
2866                                 PreferenceConstants.CODEASSIST_PROPOSALS_BACKGROUND, new RGB(
 
2868                 PreferenceConverter.setDefault(store,
 
2869                                 PreferenceConstants.CODEASSIST_PROPOSALS_FOREGROUND, new RGB(0,
 
2871                 PreferenceConverter.setDefault(store,
 
2872                                 PreferenceConstants.CODEASSIST_PARAMETERS_BACKGROUND, new RGB(
 
2874                 PreferenceConverter.setDefault(store,
 
2875                                 PreferenceConstants.CODEASSIST_PARAMETERS_FOREGROUND, new RGB(
 
2877                 PreferenceConverter.setDefault(store,
 
2878                                 PreferenceConstants.CODEASSIST_REPLACEMENT_BACKGROUND, new RGB(
 
2880                 PreferenceConverter.setDefault(store,
 
2881                                 PreferenceConstants.CODEASSIST_REPLACEMENT_FOREGROUND, new RGB(
 
2884                                 PreferenceConstants.CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVA,
 
2885                                 "$>"); //$NON-NLS-1$
 
2887                                 PreferenceConstants.CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVADOC,
 
2890                                 PreferenceConstants.CODEASSIST_AUTOACTIVATION_TRIGGERS_HTML,
 
2891                                 "<&#"); //$NON-NLS-1$
 
2892                 store.setDefault(PreferenceConstants.CODEASSIST_SHOW_VISIBLE_PROPOSALS,
 
2895                                 .setDefault(PreferenceConstants.CODEASSIST_CASE_SENSITIVITY,
 
2897                 store.setDefault(PreferenceConstants.CODEASSIST_ORDER_PROPOSALS, false);
 
2898                 store.setDefault(PreferenceConstants.CODEASSIST_ADDIMPORT, true);
 
2900                                 .setDefault(PreferenceConstants.CODEASSIST_INSERT_COMPLETION,
 
2902                 store.setDefault(PreferenceConstants.CODEASSIST_FILL_ARGUMENT_NAMES,
 
2904                 store.setDefault(PreferenceConstants.CODEASSIST_GUESS_METHOD_ARGUMENTS,
 
2906                 store.setDefault(PreferenceConstants.CODEASSIST_PREFIX_COMPLETION,
 
2909                 store.setDefault(PreferenceConstants.EDITOR_SMART_HOME_END, true);
 
2910                 store.setDefault(PreferenceConstants.EDITOR_SUB_WORD_NAVIGATION, true);
 
2911                 store.setDefault(PreferenceConstants.EDITOR_SMART_PASTE, true);
 
2912                 store.setDefault(PreferenceConstants.EDITOR_CLOSE_STRINGS_DQ_PHP, true);
 
2913                 store.setDefault(PreferenceConstants.EDITOR_CLOSE_STRINGS_SQ_PHP, true);
 
2914                 store.setDefault(PreferenceConstants.EDITOR_CLOSE_BRACKETS_PHP, true);
 
2915                 store.setDefault(PreferenceConstants.EDITOR_CLOSE_BRACES, true);
 
2916                 store.setDefault(PreferenceConstants.EDITOR_CLOSE_JAVADOCS, true);
 
2917                 store.setDefault(PreferenceConstants.EDITOR_WRAP_WORDS, false);
 
2918                 store.setDefault(PreferenceConstants.EDITOR_WRAP_STRINGS_DQ, true);
 
2919                 store.setDefault(PreferenceConstants.EDITOR_ESCAPE_STRINGS_DQ, false);
 
2920                 store.setDefault(PreferenceConstants.EDITOR_WRAP_STRINGS_SQ, true);
 
2921                 store.setDefault(PreferenceConstants.EDITOR_ESCAPE_STRINGS_SQ, false);
 
2922                 store.setDefault(PreferenceConstants.EDITOR_ADD_JAVADOC_TAGS, true);
 
2923                 store.setDefault(PreferenceConstants.EDITOR_FORMAT_JAVADOCS, false);
 
2924                 store.setDefault(PreferenceConstants.EDITOR_DISABLE_OVERWRITE_MODE,
 
2927                 store.setDefault(PreferenceConstants.EDITOR_CLOSE_STRINGS_HTML, true);
 
2928                 store.setDefault(PreferenceConstants.EDITOR_CLOSE_BRACKETS_HTML, true);
 
2930                 // store.setDefault(PreferenceConstants.EDITOR_DEFAULT_HOVER,
 
2931                 // JavaPlugin.ID_BESTMATCH_HOVER);
 
2932                 store.setDefault(PreferenceConstants.EDITOR_NONE_HOVER,
 
2933                                 PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
 
2934                 // store.setDefault(PreferenceConstants.EDITOR_CTRL_HOVER,
 
2935                 // JavaPlugin.ID_SOURCE_HOVER);
 
2936                 store.setDefault(PreferenceConstants.EDITOR_SHIFT_HOVER,
 
2937                                 PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
 
2938                 store.setDefault(PreferenceConstants.EDITOR_CTRL_SHIFT_HOVER,
 
2939                                 PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
 
2940                 store.setDefault(PreferenceConstants.EDITOR_CTRL_ALT_HOVER,
 
2941                                 PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
 
2942                 store.setDefault(PreferenceConstants.EDITOR_ALT_SHIFT_HOVER,
 
2943                                 PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
 
2944                 store.setDefault(PreferenceConstants.EDITOR_CTRL_ALT_SHIFT_HOVER,
 
2945                                 PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
 
2947                 String ctrl = Action.findModifierString(SWT.CTRL);
 
2950                                                 PreferenceConstants.EDITOR_TEXT_HOVER_MODIFIERS,
 
2951                                                 "net.sourceforge.phpdt.ui.BestMatchHover;0;net.sourceforge.phpdt.ui.JavaSourceHover;" + ctrl); //$NON-NLS-1$
 
2954                                                 PreferenceConstants.EDITOR_TEXT_HOVER_MODIFIER_MASKS,
 
2955                                                 "net.sourceforge.phpdt.ui.BestMatchHover;0;net.sourceforge.phpdt.ui.JavaSourceHover;" + SWT.CTRL); //$NON-NLS-1$
 
2956                 store.setDefault(PreferenceConstants.EDITOR_SHOW_TEXT_HOVER_AFFORDANCE,
 
2959                 store.setDefault(PreferenceConstants.EDITOR_BROWSER_LIKE_LINKS, true);
 
2961                                 PreferenceConstants.EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER,
 
2965                                                 PreferenceConstants.EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER_MASK,
 
2969                 store.setDefault(PreferenceConstants.EDITOR_MARK_OCCURRENCES, true);
 
2970                 store.setDefault(PreferenceConstants.EDITOR_STICKY_OCCURRENCES, true);
 
2971                 // store.setDefault(PreferenceConstants.EDITOR_MARK_TYPE_OCCURRENCES,
 
2973                 // store.setDefault(PreferenceConstants.EDITOR_MARK_METHOD_OCCURRENCES,
 
2975                 // store.setDefault(PreferenceConstants.EDITOR_MARK_CONSTANT_OCCURRENCES,
 
2977                 // store.setDefault(PreferenceConstants.EDITOR_MARK_FIELD_OCCURRENCES,
 
2979                 // store.setDefault(PreferenceConstants.EDITOR_MARK_LOCAL_VARIABLE_OCCURRENCES,
 
2981                 // store.setDefault(PreferenceConstants.EDITOR_MARK_EXCEPTION_OCCURRENCES,
 
2983                 // store.setDefault(PreferenceConstants.EDITOR_MARK_METHOD_EXIT_POINTS,
 
2985                 // store.setDefault(PreferenceConstants.EDITOR_MARK_IMPLEMENTORS, true);
 
2988                 store.setDefault(PreferenceConstants.SPELLING_CHECK_SPELLING, false);
 
2989                 store.setDefault(PreferenceConstants.SPELLING_LOCALE, SpellCheckEngine
 
2990                                 .getDefaultLocale().toString());
 
2991                 store.setDefault(PreferenceConstants.SPELLING_IGNORE_DIGITS, true);
 
2992                 store.setDefault(PreferenceConstants.SPELLING_IGNORE_MIXED, true);
 
2993                 store.setDefault(PreferenceConstants.SPELLING_IGNORE_SENTENCE, true);
 
2994                 store.setDefault(PreferenceConstants.SPELLING_IGNORE_UPPER, true);
 
2995                 store.setDefault(PreferenceConstants.SPELLING_IGNORE_URLS, true);
 
2996                 store.setDefault(PreferenceConstants.SPELLING_USER_DICTIONARY, ""); //$NON-NLS-1$
 
2997                 store.setDefault(PreferenceConstants.SPELLING_PROPOSAL_THRESHOLD, 20);
 
2998                 store.setDefault(PreferenceConstants.SPELLING_ENABLE_CONTENTASSIST,
 
3002                 store.setDefault(PreferenceConstants.EDITOR_FOLDING_ENABLED, true);
 
3003                 store.setDefault(PreferenceConstants.EDITOR_FOLDING_PROVIDER,
 
3004                                 "net.sourceforge.phpdt.ui.text.defaultFoldingProvider"); //$NON-NLS-1$
 
3005                 store.setDefault(PreferenceConstants.EDITOR_FOLDING_JAVADOC, true);
 
3006                 store.setDefault(PreferenceConstants.EDITOR_FOLDING_INNERTYPES, true);
 
3007                 store.setDefault(PreferenceConstants.EDITOR_FOLDING_METHODS, false);
 
3008                 // store.setDefault(PreferenceConstants.EDITOR_FOLDING_IMPORTS, false);
 
3009                 store.setDefault(PreferenceConstants.EDITOR_FOLDING_HEADERS, true);
 
3011                 store.setDefault(PreferenceConstants.EDITOR_SMART_BACKSPACE, true);
 
3012                 store.setDefault(PreferenceConstants.EDITOR_P_RTRIM_ON_SAVE, false);
 
3013                 // do more complicated stuff
 
3014                 // NewJavaProjectPreferencePage.initDefaults(store);
 
3018          * Returns the JDT-UI preference store.
 
3020          * @return the JDT-UI preference store
 
3022         public static IPreferenceStore getPreferenceStore() {
 
3023                 return PHPeclipsePlugin.getDefault().getPreferenceStore();
 
3027         // * Encodes a JRE library to be used in the named preference
 
3028         // <code>NEWPROJECT_JRELIBRARY_LIST</code>.
 
3030         // * @param description a string value describing the JRE library. The
 
3031         // description is used
 
3032         // * to indentify the JDR library in the UI
 
3033         // * @param entries an array of classpath entries to be encoded
 
3035         // * @return the encoded string.
 
3037         // public static String encodeJRELibrary(String description,
 
3038         // IClasspathEntry[] entries) {
 
3039         // return NewJavaProjectPreferencePage.encodeJRELibrary(description,
 
3044         // * Decodes an encoded JRE library and returns its description string.
 
3046         // * @return the description of an encoded JRE library
 
3048         // * @see #encodeJRELibrary(String, IClasspathEntry[])
 
3050         // public static String decodeJRELibraryDescription(String encodedLibrary) {
 
3052         // NewJavaProjectPreferencePage.decodeJRELibraryDescription(encodedLibrary);
 
3056         // * Decodes an encoded JRE library and returns its classpath entries.
 
3058         // * @return the array of classpath entries of an encoded JRE library.
 
3060         // * @see #encodeJRELibrary(String, IClasspathEntry[])
 
3062         // public static IClasspathEntry[] decodeJRELibraryClasspathEntries(String
 
3063         // encodedLibrary) {
 
3065         // NewJavaProjectPreferencePage.decodeJRELibraryClasspathEntries(encodedLibrary);
 
3069         // * Returns the current configuration for the JRE to be used as default in
 
3070         // new Java projects.
 
3071         // * This is a convenience method to access the named preference
 
3072         // <code>NEWPROJECT_JRELIBRARY_LIST
 
3073         // * </code> with the index defined by <code>
 
3074         // NEWPROJECT_JRELIBRARY_INDEX</code>.
 
3076         // * @return the current default set of classpath entries
 
3078         // * @see #NEWPROJECT_JRELIBRARY_LIST
 
3079         // * @see #NEWPROJECT_JRELIBRARY_INDEX
 
3081         // public static IClasspathEntry[] getDefaultJRELibrary() {
 
3082         // return NewJavaProjectPreferencePage.getDefaultJRELibrary();