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 saving of a file on loss of editor focus.
1909 * Value is of type <code>Boolean</code>.
1914 public static final String EDITOR_SAVE_ON_BLUR = "save_on_blur"; //$NON-NLS-1$
1917 * A named preference that controls the "smart semicolon" smart typing
1920 * Value is of type <code>Boolean</code>.
1925 public static final String EDITOR_SMART_SEMICOLON = "smart_semicolon"; //$NON-NLS-1$
1928 * A named preference that controls the smart backspace behavior.
1930 * Value is of type <code>Boolean</code>.
1934 public static final String EDITOR_SMART_BACKSPACE = "smart_backspace"; //$NON-NLS-1$
1937 * A named preference that controls the "smart opening brace" smart typing
1940 * Value is of type <code>Boolean</code>.
1945 public static final String EDITOR_SMART_OPENING_BRACE = "smart_opening_brace"; //$NON-NLS-1$
1948 * A named preference that controls the smart tab behaviour.
1950 * Value is of type <code>Boolean</code>.
1954 public static final String EDITOR_SMART_TAB = "smart_tab"; //$NON-NLS-1$
1956 public static final String EDITOR_P_RTRIM_ON_SAVE = "editor_p_trim_on_save"; //$NON-NLS-1$
1959 * A named preference that controls whether Java comments should be
1962 * Value is of type <code>Boolean</code>.
1967 public final static String SPELLING_CHECK_SPELLING = ISpellCheckPreferenceKeys.SPELLING_CHECK_SPELLING;
1970 * A named preference that controls whether words containing digits should
1971 * be skipped during spell-checking.
1973 * Value is of type <code>Boolean</code>.
1978 public final static String SPELLING_IGNORE_DIGITS = ISpellCheckPreferenceKeys.SPELLING_IGNORE_DIGITS;
1981 * A named preference that controls whether mixed case words should be
1982 * skipped during spell-checking.
1984 * Value is of type <code>Boolean</code>.
1989 public final static String SPELLING_IGNORE_MIXED = ISpellCheckPreferenceKeys.SPELLING_IGNORE_MIXED;
1992 * A named preference that controls whether sentence capitalization should
1993 * be ignored during spell-checking.
1995 * Value is of type <code>Boolean</code>.
2000 public final static String SPELLING_IGNORE_SENTENCE = ISpellCheckPreferenceKeys.SPELLING_IGNORE_SENTENCE;
2003 * A named preference that controls whether upper case words should be
2004 * skipped during spell-checking.
2006 * Value is of type <code>Boolean</code>.
2011 public final static String SPELLING_IGNORE_UPPER = ISpellCheckPreferenceKeys.SPELLING_IGNORE_UPPER;
2014 * A named preference that controls whether urls should be ignored during
2017 * Value is of type <code>Boolean</code>.
2022 public final static String SPELLING_IGNORE_URLS = ISpellCheckPreferenceKeys.SPELLING_IGNORE_URLS;
2025 * A named preference that controls the locale used for spell-checking.
2027 * Value is of type <code>String</code>.
2032 public final static String SPELLING_LOCALE = ISpellCheckPreferenceKeys.SPELLING_LOCALE;
2035 * A named preference that controls the number of proposals offered during
2038 * Value is of type <code>Integer</code>.
2043 public final static String SPELLING_PROPOSAL_THRESHOLD = ISpellCheckPreferenceKeys.SPELLING_PROPOSAL_THRESHOLD;
2046 * A named preference that specifies the workspace user dictionary.
2048 * Value is of type <code>Integer</code>.
2053 public final static String SPELLING_USER_DICTIONARY = ISpellCheckPreferenceKeys.SPELLING_USER_DICTIONARY;
2056 * A named preference that specifies whether spelling dictionaries are
2057 * available to content assist.
2059 * Value is of type <code>Boolean</code>.
2064 public final static String SPELLING_ENABLE_CONTENTASSIST = ISpellCheckPreferenceKeys.SPELLING_ENABLE_CONTENTASSIST;
2067 * A named preference that controls whether code snippets are formatted in
2070 * Value is of type <code>Boolean</code>.
2075 public final static String FORMATTER_COMMENT_FORMATSOURCE = "comment_format_source_code"; //$NON-NLS-1$
2078 * A named preference that controls whether description of Javadoc
2079 * parameters are indented.
2081 * Value is of type <code>Boolean</code>.
2086 public final static String FORMATTER_COMMENT_INDENTPARAMETERDESCRIPTION = "comment_indent_parameter_description"; //$NON-NLS-1$
2089 * A named preference that controls whether the header comment of a Java
2090 * source file is formatted.
2092 * Value is of type <code>Boolean</code>.
2097 public final static String FORMATTER_COMMENT_FORMATHEADER = "comment_format_header"; //$NON-NLS-1$
2100 * A named preference that controls whether Javadoc root tags are indented.
2102 * Value is of type <code>Boolean</code>.
2107 public final static String FORMATTER_COMMENT_INDENTROOTTAGS = "comment_indent_root_tags"; //$NON-NLS-1$
2110 * A named preference that controls whether Javadoc comments are formatted
2111 * by the content formatter.
2113 * Value is of type <code>Boolean</code>.
2118 public final static String FORMATTER_COMMENT_FORMAT = "comment_format_comments"; //$NON-NLS-1$
2121 * A named preference that controls whether a new line is inserted after
2122 * Javadoc root tag parameters.
2124 * Value is of type <code>Boolean</code>.
2129 public final static String FORMATTER_COMMENT_NEWLINEFORPARAMETER = "comment_new_line_for_parameter"; //$NON-NLS-1$
2132 * A named preference that controls whether an empty line is inserted before
2133 * the Javadoc root tag block.
2135 * Value is of type <code>Boolean</code>.
2140 public final static String FORMATTER_COMMENT_SEPARATEROOTTAGS = "comment_separate_root_tags"; //$NON-NLS-1$
2143 * A named preference that controls whether blank lines are cleared during
2146 * Value is of type <code>Boolean</code>.
2151 public final static String FORMATTER_COMMENT_CLEARBLANKLINES = "comment_clear_blank_lines"; //$NON-NLS-1$
2154 * A named preference that controls the line length of comments.
2156 * Value is of type <code>Integer</code>. The value must be at least 4
2157 * for reasonable formatting.
2162 public final static String FORMATTER_COMMENT_LINELENGTH = "comment_line_length"; //$NON-NLS-1$
2165 * A named preference that controls whether html tags are formatted.
2167 * Value is of type <code>Boolean</code>.
2172 public final static String FORMATTER_COMMENT_FORMATHTML = "comment_format_html"; //$NON-NLS-1$
2175 * A named preference that controls if the Java code assist gets auto
2178 * Value is of type <code>Boolean</code>.
2181 public final static String CODEASSIST_AUTOACTIVATION = "content_assist_autoactivation"; //$NON-NLS-1$
2184 * A name preference that holds the auto activation delay time in milli
2187 * Value is of type <code>Int</code>.
2190 public final static String CODEASSIST_AUTOACTIVATION_DELAY = "content_assist_autoactivation_delay"; //$NON-NLS-1$
2193 * A named preference that controls if code assist contains only visible
2196 * Value is of type <code>Boolean</code>. if
2197 * <code>true<code> code assist only contains visible members. If
2198 * <code>false</code> all members are included.
2201 public final static String CODEASSIST_SHOW_VISIBLE_PROPOSALS = "content_assist_show_visible_proposals"; //$NON-NLS-1$
2204 * A named preference that controls if the Java code assist inserts a
2205 * proposal automatically if only one proposal is available.
2207 * Value is of type <code>Boolean</code>.
2212 public final static String CODEASSIST_AUTOINSERT = "content_assist_autoinsert"; //$NON-NLS-1$
2215 * A named preference that controls if the Java code assist adds import
2218 * Value is of type <code>Boolean</code>.
2223 public final static String CODEASSIST_ADDIMPORT = "content_assist_add_import"; //$NON-NLS-1$
2226 * A named preference that controls if the Java code assist only inserts
2227 * completions. If set to false the proposals can also _replace_ code.
2229 * Value is of type <code>Boolean</code>.
2234 public final static String CODEASSIST_INSERT_COMPLETION = "content_assist_insert_completion"; //$NON-NLS-1$
2237 * A named preference that controls whether code assist proposals filtering
2238 * is case sensitive or not.
2240 * Value is of type <code>Boolean</code>.
2243 public final static String CODEASSIST_CASE_SENSITIVITY = "content_assist_case_sensitivity"; //$NON-NLS-1$
2246 * A named preference that defines if code assist proposals are sorted in
2247 * alphabetical order.
2249 * Value is of type <code>Boolean</code>. If <code>true</code> that are
2250 * sorted in alphabetical order. If <code>false</code> that are unsorted.
2253 public final static String CODEASSIST_ORDER_PROPOSALS = "content_assist_order_proposals"; //$NON-NLS-1$
2256 * A named preference that controls if argument names are filled in when a
2257 * method is selected from as list of code assist proposal.
2259 * Value is of type <code>Boolean</code>.
2262 public final static String CODEASSIST_FILL_ARGUMENT_NAMES = "content_assist_fill_method_arguments"; //$NON-NLS-1$
2265 * A named preference that controls if method arguments are guessed when a
2266 * method is selected from as list of code assist proposal.
2268 * Value is of type <code>Boolean</code>.
2273 public final static String CODEASSIST_GUESS_METHOD_ARGUMENTS = "content_assist_guess_method_arguments"; //$NON-NLS-1$
2276 * A named preference that holds the characters that auto activate code
2277 * assist in PHP code.
2279 * Value is of type <code>Sring</code>. All characters that trigger auto
2280 * code assist in PHP code.
2283 public final static String CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVA = "content_assist_autoactivation_triggers_php"; //$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 PHPDoc.
2293 public final static String CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVADOC = "content_assist_autoactivation_triggers_phpdoc"; //$NON-NLS-1$
2296 * A named preference that holds the characters that auto activate code
2299 * Value is of type <code>Sring</code>. All characters that trigger auto
2300 * code assist in HTML.
2303 public final static String CODEASSIST_AUTOACTIVATION_TRIGGERS_HTML = "content_assist_autoactivation_triggers_html"; //$NON-NLS-1$
2306 * A named preference that holds the background color used in the code
2307 * assist selection dialog.
2309 * Value is of type <code>String</code>. A RGB color value encoded as a
2310 * string using class <code>PreferenceConverter</code>
2313 * @see org.eclipse.jface.resource.StringConverter
2314 * @see org.eclipse.jface.preference.PreferenceConverter
2316 public final static String CODEASSIST_PROPOSALS_BACKGROUND = "content_assist_proposals_background"; //$NON-NLS-1$
2319 * A named preference that holds the foreground color used in the code
2320 * assist selection dialog.
2322 * Value is of type <code>String</code>. A RGB color value encoded as a
2323 * string using class <code>PreferenceConverter</code>
2326 * @see org.eclipse.jface.resource.StringConverter
2327 * @see org.eclipse.jface.preference.PreferenceConverter
2329 public final static String CODEASSIST_PROPOSALS_FOREGROUND = "content_assist_proposals_foreground"; //$NON-NLS-1$
2332 * A named preference that holds the background color used for parameter
2335 * Value is of type <code>String</code>. A RGB color value encoded as a
2336 * string using class <code>PreferenceConverter</code>
2339 * @see org.eclipse.jface.resource.StringConverter
2340 * @see org.eclipse.jface.preference.PreferenceConverter
2342 public final static String CODEASSIST_PARAMETERS_BACKGROUND = "content_assist_parameters_background"; //$NON-NLS-1$
2345 * A named preference that holds the foreground color used in the code
2346 * assist selection dialog
2348 * Value is of type <code>String</code>. A RGB color value encoded as a
2349 * string using class <code>PreferenceConverter</code>
2352 * @see org.eclipse.jface.resource.StringConverter
2353 * @see org.eclipse.jface.preference.PreferenceConverter
2355 public final static String CODEASSIST_PARAMETERS_FOREGROUND = "content_assist_parameters_foreground"; //$NON-NLS-1$
2358 * A named preference that holds the background color used in the code
2359 * assist selection dialog to mark replaced code.
2361 * Value is of type <code>String</code>. A RGB color value encoded as a
2362 * string using class <code>PreferenceConverter</code>
2365 * @see org.eclipse.jface.resource.StringConverter
2366 * @see org.eclipse.jface.preference.PreferenceConverter
2369 public final static String CODEASSIST_REPLACEMENT_BACKGROUND = "content_assist_completion_replacement_background"; //$NON-NLS-1$
2372 * A named preference that holds the foreground color used in the code
2373 * assist selection dialog to mark replaced code.
2375 * Value is of type <code>String</code>. A RGB color value encoded as a
2376 * string using class <code>PreferenceConverter</code>
2379 * @see org.eclipse.jface.resource.StringConverter
2380 * @see org.eclipse.jface.preference.PreferenceConverter
2383 public final static String CODEASSIST_REPLACEMENT_FOREGROUND = "content_assist_completion_replacement_foreground"; //$NON-NLS-1$
2386 * A named preference that controls the behaviour of the refactoring wizard
2387 * for showing the error page.
2389 * Value is of type <code>String</code>. Valid values are:
2390 * <code>REFACTOR_FATAL_SEVERITY</code>,
2391 * <code>REFACTOR_ERROR_SEVERITY</code>,<code>REFACTOR_WARNING_SEVERITY</code>
2392 * <code>REFACTOR_INFO_SEVERITY</code>,
2393 * <code>REFACTOR_OK_SEVERITY</code>.
2396 * @see #REFACTOR_FATAL_SEVERITY
2397 * @see #REFACTOR_ERROR_SEVERITY
2398 * @see #REFACTOR_WARNING_SEVERITY
2399 * @see #REFACTOR_INFO_SEVERITY
2400 * @see #REFACTOR_OK_SEVERITY
2402 public static final String REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD = "Refactoring.ErrorPage.severityThreshold"; //$NON-NLS-1$
2405 * A string value used by the named preference
2406 * <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
2408 * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
2410 public static final String REFACTOR_FATAL_SEVERITY = "4"; //$NON-NLS-1$
2413 * A string value used by the named preference
2414 * <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
2416 * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
2418 public static final String REFACTOR_ERROR_SEVERITY = "3"; //$NON-NLS-1$
2421 * A string value used by the named preference
2422 * <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
2424 * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
2426 public static final String REFACTOR_WARNING_SEVERITY = "2"; //$NON-NLS-1$
2429 * A string value used by the named preference
2430 * <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
2432 * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
2434 public static final String REFACTOR_INFO_SEVERITY = "1"; //$NON-NLS-1$
2437 * A string value used by the named preference
2438 * <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
2440 * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
2442 public static final String REFACTOR_OK_SEVERITY = "0"; //$NON-NLS-1$
2445 * A named preference thet controls whether all dirty editors are
2446 * automatically saved before a refactoring is executed.
2448 * Value is of type <code>Boolean</code>.
2451 public static final String REFACTOR_SAVE_ALL_EDITORS = "Refactoring.savealleditors"; //$NON-NLS-1$
2454 * A named preference that controls if the Java Browsing views are linked to
2455 * the active editor.
2457 * Value is of type <code>Boolean</code>.
2460 * @see #LINK_PACKAGES_TO_EDITOR
2462 public static final String BROWSING_LINK_VIEW_TO_EDITOR = "net.sourceforge.phpdt.ui.browsing.linktoeditor"; //$NON-NLS-1$
2465 * A named preference that controls the layout of the Java Browsing views
2466 * vertically. Boolean value.
2468 * Value is of type <code>Boolean</code>. If
2469 * <code>true<code> the views are stacked vertical.
2470 * If <code>false</code> they are stacked horizontal.
2473 public static final String BROWSING_STACK_VERTICALLY = "net.sourceforge.phpdt.ui.browsing.stackVertically"; //$NON-NLS-1$
2476 * A named preference that controls if templates are formatted when applied.
2478 * Value is of type <code>Boolean</code>.
2483 public static final String TEMPLATES_USE_CODEFORMATTER = "net.sourceforge.phpdt.ui.template.format"; //$NON-NLS-1$
2486 * A named preference that controls whether annotation roll over is used or
2489 * Value is of type <code>Boolean</code>. If
2490 * <code>true<code> the annotation ruler column
2491 * uses a roll over to display multiple annotations
2496 public static final String EDITOR_ANNOTATION_ROLL_OVER = "editor_annotation_roll_over"; //$NON-NLS-1$
2499 * A named preference that controls the key modifier mask for browser like
2500 * links. The value is only used if the value of
2501 * <code>EDITOR_BROWSER_LIKE_LINKS</code> cannot be resolved to valid SWT
2504 * Value is of type <code>String</code>.
2507 * @see #EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER
2510 public static final String EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER_MASK = "browserLikeLinksKeyModifierMask"; //$NON-NLS-1$
2513 * A named preference that defines the key for the hover modifier state
2514 * masks. The value is only used if the value of
2515 * <code>EDITOR_TEXT_HOVER_MODIFIERS</code> cannot be resolved to valid
2516 * SWT modifier bits.
2519 * @see #EDITOR_TEXT_HOVER_MODIFIERS
2522 public static final String EDITOR_TEXT_HOVER_MODIFIER_MASKS = "hoverModifierMasks"; //$NON-NLS-1$
2525 * A named preference that controls whether folding is enabled in the Java
2528 * Value is of type <code>Boolean</code>.
2533 public static final String EDITOR_FOLDING_ENABLED = "editor_folding_enabled"; //$NON-NLS-1$
2536 * A named preference that stores the configured folding provider.
2538 * Value is of type <code>String</code>.
2543 public static final String EDITOR_FOLDING_PROVIDER = "editor_folding_provider"; //$NON-NLS-1$
2546 * A named preference that stores the value for Javadoc folding for the
2547 * default folding provider.
2549 * Value is of type <code>Boolean</code>.
2554 public static final String EDITOR_FOLDING_JAVADOC = "editor_folding_default_javadoc"; //$NON-NLS-1$
2557 * A named preference that stores the value for inner type folding for the
2558 * default folding provider.
2560 * Value is of type <code>Boolean</code>.
2565 public static final String EDITOR_FOLDING_INNERTYPES = "editor_folding_default_innertypes"; //$NON-NLS-1$
2568 * A named preference that stores the value for method folding for the
2569 * default folding provider.
2571 * Value is of type <code>Boolean</code>.
2576 public static final String EDITOR_FOLDING_METHODS = "editor_folding_default_methods"; //$NON-NLS-1$
2579 * A named preference that stores the value for imports folding for the
2580 * default folding provider.
2582 * Value is of type <code>Boolean</code>.
2587 // public static final String EDITOR_FOLDING_IMPORTS =
2588 // "editor_folding_default_imports"; //$NON-NLS-1$
2590 * A named preference that stores the value for header comment folding for
2591 * the default folding provider.
2593 * Value is of type <code>Boolean</code>.
2598 public static final String EDITOR_FOLDING_HEADERS = "editor_folding_default_headers"; //$NON-NLS-1$
2600 public static void initializeDefaultValues(IPreferenceStore store) {
2601 store.setDefault(PreferenceConstants.EDITOR_SHOW_SEGMENTS, false);
2603 // JavaBasePreferencePage
2604 store.setDefault(PreferenceConstants.LINK_PACKAGES_TO_EDITOR, true);
2605 store.setDefault(PreferenceConstants.LINK_TYPEHIERARCHY_TO_EDITOR,
2608 .setDefault(PreferenceConstants.LINK_BROWSING_VIEW_TO_EDITOR,
2610 store.setDefault(PreferenceConstants.OPEN_TYPE_HIERARCHY,
2611 PreferenceConstants.OPEN_TYPE_HIERARCHY_IN_VIEW_PART);
2612 store.setDefault(PreferenceConstants.DOUBLE_CLICK,
2613 PreferenceConstants.DOUBLE_CLICK_EXPANDS);
2614 store.setDefault(PreferenceConstants.UPDATE_JAVA_VIEWS,
2615 PreferenceConstants.UPDATE_WHILE_EDITING);
2617 // AppearancePreferencePage
2618 store.setDefault(PreferenceConstants.APPEARANCE_COMPRESS_PACKAGE_NAMES,
2620 store.setDefault(PreferenceConstants.APPEARANCE_METHOD_RETURNTYPE,
2622 store.setDefault(PreferenceConstants.SHOW_CU_CHILDREN, true);
2623 store.setDefault(PreferenceConstants.APPEARANCE_OVERRIDE_INDICATOR,
2625 store.setDefault(PreferenceConstants.BROWSING_STACK_VERTICALLY, false);
2627 PreferenceConstants.APPEARANCE_PKG_NAME_PATTERN_FOR_PKG_VIEW,
2631 PreferenceConstants.APPEARANCE_FOLD_PACKAGES_IN_PACKAGE_EXPLORER,
2634 // ImportOrganizePreferencePage
2635 // store.setDefault(PreferenceConstants.ORGIMPORTS_IMPORTORDER,
2636 // "php;phpx;org;com"); //$NON-NLS-1$
2637 store.setDefault(PreferenceConstants.ORGIMPORTS_ONDEMANDTHRESHOLD, 99);
2638 store.setDefault(PreferenceConstants.ORGIMPORTS_IGNORELOWERCASE, true);
2640 // ClasspathVariablesPreferencePage
2641 // CodeFormatterPreferencePage
2642 // CompilerPreferencePage
2643 // no initialization needed
2645 // RefactoringPreferencePage
2647 PreferenceConstants.REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD,
2648 PreferenceConstants.REFACTOR_ERROR_SEVERITY);
2649 store.setDefault(PreferenceConstants.REFACTOR_SAVE_ALL_EDITORS, false);
2650 store.setDefault("RefactoringUI", "dialog");
2652 // TemplatePreferencePage
2653 store.setDefault(PreferenceConstants.TEMPLATES_USE_CODEFORMATTER, true);
2655 // CodeGenerationPreferencePage
2656 store.setDefault(PreferenceConstants.CODEGEN_USE_GETTERSETTER_PREFIX,
2658 store.setDefault(PreferenceConstants.CODEGEN_USE_GETTERSETTER_SUFFIX,
2660 store.setDefault(PreferenceConstants.CODEGEN_GETTERSETTER_PREFIX,
2661 "fg, f, _$, _, m_"); //$NON-NLS-1$
2662 store.setDefault(PreferenceConstants.CODEGEN_GETTERSETTER_SUFFIX, "_"); //$NON-NLS-1$
2664 store.setDefault(PreferenceConstants.CODEGEN_KEYWORD_THIS, false);
2665 store.setDefault(PreferenceConstants.CODEGEN_IS_FOR_GETTERS, true);
2666 store.setDefault(PreferenceConstants.CODEGEN_EXCEPTION_VAR_NAME, "e"); //$NON-NLS-1$
2667 store.setDefault(PreferenceConstants.CODEGEN_ADD_COMMENTS, true);
2668 store.setDefault(PreferenceConstants.CODEGEN__NON_JAVADOC_COMMENTS,
2670 store.setDefault(PreferenceConstants.CODEGEN__FILE_COMMENTS, false);
2672 // MembersOrderPreferencePage
2673 store.setDefault(PreferenceConstants.APPEARANCE_MEMBER_SORT_ORDER,
2674 "T,SF,SI,SM,I,F,C,M"); //$NON-NLS-1$
2675 store.setDefault(PreferenceConstants.APPEARANCE_VISIBILITY_SORT_ORDER,
2676 "B,V,R,D"); //$NON-NLS-1$
2678 PreferenceConstants.APPEARANCE_ENABLE_VISIBILITY_SORT_ORDER,
2680 // must add here to guarantee that it is the first in the listener list
2681 store.addPropertyChangeListener(PHPeclipsePlugin.getDefault()
2682 .getMemberOrderPreferenceCache());
2684 store.setDefault(PreferenceConstants.EDITOR_MATCHING_BRACKETS, true);
2685 PreferenceConverter.setDefault(store,
2686 PreferenceConstants.EDITOR_MATCHING_BRACKETS_COLOR, new RGB(
2689 store.setDefault(PreferenceConstants.EDITOR_CURRENT_LINE, true);
2690 PreferenceConverter.setDefault(store,
2691 PreferenceConstants.EDITOR_CURRENT_LINE_COLOR, new RGB(225,
2694 store.setDefault(PreferenceConstants.EDITOR_PRINT_MARGIN, false);
2695 store.setDefault(PreferenceConstants.EDITOR_PRINT_MARGIN_COLUMN, 80);
2696 PreferenceConverter.setDefault(store,
2697 PreferenceConstants.EDITOR_PRINT_MARGIN_COLOR, new RGB(176,
2700 PreferenceConverter.setDefault(store,
2701 PreferenceConstants.EDITOR_FIND_SCOPE_COLOR, new RGB(185, 176,
2704 // store.setDefault(PreferenceConstants.EDITOR_PROBLEM_INDICATION,
2706 // PreferenceConverter.setDefault(store,
2707 // PreferenceConstants.EDITOR_PROBLEM_INDICATION_COLOR, new RGB(255, 0,
2709 // store.setDefault(PreferenceConstants.EDITOR_ERROR_INDICATION_IN_OVERVIEW_RULER,
2712 // store.setDefault(PreferenceConstants.EDITOR_WARNING_INDICATION,
2714 // PreferenceConverter.setDefault(store,
2715 // PreferenceConstants.EDITOR_WARNING_INDICATION_COLOR, new RGB(244,
2717 // store.setDefault(PreferenceConstants.EDITOR_WARNING_INDICATION_IN_OVERVIEW_RULER,
2720 // store.setDefault(PreferenceConstants.EDITOR_TASK_INDICATION, false);
2721 // PreferenceConverter.setDefault(store,
2722 // PreferenceConstants.EDITOR_TASK_INDICATION_COLOR, new RGB(0, 128,
2724 // store.setDefault(PreferenceConstants.EDITOR_TASK_INDICATION_IN_OVERVIEW_RULER,
2727 // store.setDefault(PreferenceConstants.EDITOR_BOOKMARK_INDICATION,
2729 // PreferenceConverter.setDefault(store,
2730 // PreferenceConstants.EDITOR_BOOKMARK_INDICATION_COLOR, new RGB(34,
2732 // store.setDefault(PreferenceConstants.EDITOR_BOOKMARK_INDICATION_IN_OVERVIEW_RULER,
2735 // store.setDefault(PreferenceConstants.EDITOR_SEARCH_RESULT_INDICATION,
2737 // PreferenceConverter.setDefault(store,
2738 // PreferenceConstants.EDITOR_SEARCH_RESULT_INDICATION_COLOR, new
2739 // RGB(192, 192, 192));
2740 // store.setDefault(PreferenceConstants.EDITOR_SEARCH_RESULT_INDICATION_IN_OVERVIEW_RULER,
2743 // store.setDefault(PreferenceConstants.EDITOR_UNKNOWN_INDICATION,
2745 // PreferenceConverter.setDefault(store,
2746 // PreferenceConstants.EDITOR_UNKNOWN_INDICATION_COLOR, new RGB(0, 0,
2748 // store.setDefault(PreferenceConstants.EDITOR_UNKNOWN_INDICATION_IN_OVERVIEW_RULER,
2752 .setDefault(PreferenceConstants.EDITOR_CORRECTION_INDICATION,
2755 PreferenceConstants.EDITOR_SYNC_OUTLINE_ON_CURSOR_MOVE, true);
2757 store.setDefault(PreferenceConstants.EDITOR_EVALUTE_TEMPORARY_PROBLEMS,
2760 store.setDefault(PreferenceConstants.EDITOR_OVERVIEW_RULER, true);
2762 store.setDefault(PreferenceConstants.EDITOR_LINE_NUMBER_RULER, false);
2763 PreferenceConverter.setDefault(store,
2764 PreferenceConstants.EDITOR_LINE_NUMBER_RULER_COLOR, new RGB(0,
2767 // WorkbenchChainedTextFontFieldEditor.startPropagate(store,
2768 // JFaceResources.TEXT_FONT);
2770 PreferenceConverter.setDefault(store,
2771 PreferenceConstants.EDITOR_LINKED_POSITION_COLOR, new RGB(0,
2773 PreferenceConverter.setDefault(store,
2774 PreferenceConstants.EDITOR_LINK_COLOR, new RGB(0, 0, 255));
2776 store.setDefault(PreferenceConstants.EDITOR_FOREGROUND_DEFAULT_COLOR,
2779 store.setDefault(PreferenceConstants.EDITOR_BACKGROUND_DEFAULT_COLOR,
2782 store.setDefault(PreferenceConstants.EDITOR_TAB_WIDTH, 4);
2783 store.setDefault(PreferenceConstants.EDITOR_SPACES_FOR_TABS, false);
2785 PreferenceConverter.setDefault(store,
2786 PreferenceConstants.EDITOR_MULTI_LINE_COMMENT_COLOR, new RGB(
2788 store.setDefault(PreferenceConstants.EDITOR_MULTI_LINE_COMMENT_BOLD,
2791 PreferenceConverter.setDefault(store,
2792 PreferenceConstants.EDITOR_SINGLE_LINE_COMMENT_COLOR, new RGB(
2794 store.setDefault(PreferenceConstants.EDITOR_SINGLE_LINE_COMMENT_BOLD,
2797 PreferenceConverter.setDefault(store,
2798 PreferenceConstants.EDITOR_PHP_TAG_COLOR, new RGB(255, 0, 128));
2799 store.setDefault(PreferenceConstants.EDITOR_PHP_TAG_BOLD, true);
2801 PreferenceConverter.setDefault(store,
2802 PreferenceConstants.EDITOR_JAVA_KEYWORD_COLOR, new RGB(127, 0,
2804 store.setDefault(PreferenceConstants.EDITOR_JAVA_KEYWORD_BOLD, true);
2806 PreferenceConverter.setDefault(store,
2807 PreferenceConstants.EDITOR_PHP_FUNCTIONNAME_COLOR, new RGB(127,
2809 store.setDefault(PreferenceConstants.EDITOR_PHP_FUNCTIONNAME_BOLD,
2812 PreferenceConverter.setDefault(store,
2813 PreferenceConstants.EDITOR_PHP_VARIABLE_COLOR, new RGB(127,
2815 store.setDefault(PreferenceConstants.EDITOR_PHP_VARIABLE_BOLD, false);
2817 PreferenceConverter.setDefault(store,
2818 PreferenceConstants.EDITOR_PHP_VARIABLE_DOLLAR_COLOR, new RGB(
2820 store.setDefault(PreferenceConstants.EDITOR_PHP_VARIABLE_DOLLAR_BOLD,
2823 PreferenceConverter.setDefault(store,
2824 PreferenceConstants.EDITOR_PHP_CONSTANT_COLOR, new RGB(127, 0,
2826 store.setDefault(PreferenceConstants.EDITOR_PHP_CONSTANT_BOLD, false);
2828 PreferenceConverter.setDefault(store,
2829 PreferenceConstants.EDITOR_PHP_TYPE_COLOR, new RGB(127, 0, 85));
2830 store.setDefault(PreferenceConstants.EDITOR_PHP_TYPE_BOLD, false);
2832 PreferenceConverter.setDefault(store,
2833 PreferenceConstants.EDITOR_STRING_COLOR_DQ,
2834 PHPColorProvider.STRING_DQ);
2835 store.setDefault(PreferenceConstants.EDITOR_STRING_BOLD_DQ, false);
2837 PreferenceConverter.setDefault(store,
2838 PreferenceConstants.EDITOR_STRING_COLOR_SQ,
2839 PHPColorProvider.STRING_SQ);
2840 store.setDefault(PreferenceConstants.EDITOR_STRING_BOLD_SQ, true);
2844 PreferenceConstants.EDITOR_JAVA_DEFAULT_COLOR, new RGB(
2846 store.setDefault(PreferenceConstants.EDITOR_JAVA_DEFAULT_BOLD, false);
2848 PreferenceConverter.setDefault(store,
2849 PreferenceConstants.EDITOR_JAVADOC_KEYWORD_COLOR, new RGB(127,
2851 store.setDefault(PreferenceConstants.EDITOR_JAVADOC_KEYWORD_BOLD, true);
2853 PreferenceConverter.setDefault(store,
2854 PreferenceConstants.EDITOR_JAVADOC_TAG_COLOR, new RGB(127, 127,
2856 store.setDefault(PreferenceConstants.EDITOR_JAVADOC_TAG_BOLD, false);
2858 PreferenceConverter.setDefault(store,
2859 PreferenceConstants.EDITOR_JAVADOC_LINKS_COLOR, new RGB(63, 63,
2861 store.setDefault(PreferenceConstants.EDITOR_JAVADOC_LINKS_BOLD, false);
2863 PreferenceConverter.setDefault(store,
2864 PreferenceConstants.EDITOR_JAVADOC_DEFAULT_COLOR, new RGB(63,
2867 .setDefault(PreferenceConstants.EDITOR_JAVADOC_DEFAULT_BOLD,
2870 store.setDefault(PreferenceConstants.CODEASSIST_AUTOACTIVATION, true);
2871 store.setDefault(PreferenceConstants.CODEASSIST_AUTOACTIVATION_DELAY,
2874 store.setDefault(PreferenceConstants.CODEASSIST_AUTOINSERT, true);
2875 PreferenceConverter.setDefault(store,
2876 PreferenceConstants.CODEASSIST_PROPOSALS_BACKGROUND, new RGB(
2878 PreferenceConverter.setDefault(store,
2879 PreferenceConstants.CODEASSIST_PROPOSALS_FOREGROUND, new RGB(0,
2881 PreferenceConverter.setDefault(store,
2882 PreferenceConstants.CODEASSIST_PARAMETERS_BACKGROUND, new RGB(
2884 PreferenceConverter.setDefault(store,
2885 PreferenceConstants.CODEASSIST_PARAMETERS_FOREGROUND, new RGB(
2887 PreferenceConverter.setDefault(store,
2888 PreferenceConstants.CODEASSIST_REPLACEMENT_BACKGROUND, new RGB(
2890 PreferenceConverter.setDefault(store,
2891 PreferenceConstants.CODEASSIST_REPLACEMENT_FOREGROUND, new RGB(
2894 PreferenceConstants.CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVA,
2895 "$>"); //$NON-NLS-1$
2897 PreferenceConstants.CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVADOC,
2900 PreferenceConstants.CODEASSIST_AUTOACTIVATION_TRIGGERS_HTML,
2901 "<&#"); //$NON-NLS-1$
2902 store.setDefault(PreferenceConstants.CODEASSIST_SHOW_VISIBLE_PROPOSALS,
2905 .setDefault(PreferenceConstants.CODEASSIST_CASE_SENSITIVITY,
2907 store.setDefault(PreferenceConstants.CODEASSIST_ORDER_PROPOSALS, false);
2908 store.setDefault(PreferenceConstants.CODEASSIST_ADDIMPORT, true);
2910 .setDefault(PreferenceConstants.CODEASSIST_INSERT_COMPLETION,
2912 store.setDefault(PreferenceConstants.CODEASSIST_FILL_ARGUMENT_NAMES,
2914 store.setDefault(PreferenceConstants.CODEASSIST_GUESS_METHOD_ARGUMENTS,
2916 store.setDefault(PreferenceConstants.CODEASSIST_PREFIX_COMPLETION,
2919 store.setDefault(PreferenceConstants.EDITOR_SMART_HOME_END, true);
2920 store.setDefault(PreferenceConstants.EDITOR_SUB_WORD_NAVIGATION, true);
2921 store.setDefault(PreferenceConstants.EDITOR_SMART_PASTE, true);
2922 store.setDefault(PreferenceConstants.EDITOR_CLOSE_STRINGS_DQ_PHP, true);
2923 store.setDefault(PreferenceConstants.EDITOR_CLOSE_STRINGS_SQ_PHP, true);
2924 store.setDefault(PreferenceConstants.EDITOR_CLOSE_BRACKETS_PHP, true);
2925 store.setDefault(PreferenceConstants.EDITOR_CLOSE_BRACES, true);
2926 store.setDefault(PreferenceConstants.EDITOR_CLOSE_JAVADOCS, true);
2927 store.setDefault(PreferenceConstants.EDITOR_WRAP_WORDS, false);
2928 store.setDefault(PreferenceConstants.EDITOR_WRAP_STRINGS_DQ, true);
2929 store.setDefault(PreferenceConstants.EDITOR_ESCAPE_STRINGS_DQ, false);
2930 store.setDefault(PreferenceConstants.EDITOR_WRAP_STRINGS_SQ, true);
2931 store.setDefault(PreferenceConstants.EDITOR_ESCAPE_STRINGS_SQ, false);
2932 store.setDefault(PreferenceConstants.EDITOR_ADD_JAVADOC_TAGS, true);
2933 store.setDefault(PreferenceConstants.EDITOR_FORMAT_JAVADOCS, false);
2934 store.setDefault(PreferenceConstants.EDITOR_DISABLE_OVERWRITE_MODE,
2937 store.setDefault(PreferenceConstants.EDITOR_CLOSE_STRINGS_HTML, true);
2938 store.setDefault(PreferenceConstants.EDITOR_CLOSE_BRACKETS_HTML, true);
2940 // store.setDefault(PreferenceConstants.EDITOR_DEFAULT_HOVER,
2941 // JavaPlugin.ID_BESTMATCH_HOVER);
2942 store.setDefault(PreferenceConstants.EDITOR_NONE_HOVER,
2943 PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
2944 // store.setDefault(PreferenceConstants.EDITOR_CTRL_HOVER,
2945 // JavaPlugin.ID_SOURCE_HOVER);
2946 store.setDefault(PreferenceConstants.EDITOR_SHIFT_HOVER,
2947 PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
2948 store.setDefault(PreferenceConstants.EDITOR_CTRL_SHIFT_HOVER,
2949 PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
2950 store.setDefault(PreferenceConstants.EDITOR_CTRL_ALT_HOVER,
2951 PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
2952 store.setDefault(PreferenceConstants.EDITOR_ALT_SHIFT_HOVER,
2953 PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
2954 store.setDefault(PreferenceConstants.EDITOR_CTRL_ALT_SHIFT_HOVER,
2955 PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
2957 String ctrl = Action.findModifierString(SWT.CTRL);
2960 PreferenceConstants.EDITOR_TEXT_HOVER_MODIFIERS,
2961 "net.sourceforge.phpdt.ui.BestMatchHover;0;net.sourceforge.phpdt.ui.JavaSourceHover;" + ctrl); //$NON-NLS-1$
2964 PreferenceConstants.EDITOR_TEXT_HOVER_MODIFIER_MASKS,
2965 "net.sourceforge.phpdt.ui.BestMatchHover;0;net.sourceforge.phpdt.ui.JavaSourceHover;" + SWT.CTRL); //$NON-NLS-1$
2966 store.setDefault(PreferenceConstants.EDITOR_SHOW_TEXT_HOVER_AFFORDANCE,
2969 store.setDefault(PreferenceConstants.EDITOR_BROWSER_LIKE_LINKS, true);
2971 PreferenceConstants.EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER,
2975 PreferenceConstants.EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER_MASK,
2979 store.setDefault(PreferenceConstants.EDITOR_MARK_OCCURRENCES, true);
2980 store.setDefault(PreferenceConstants.EDITOR_STICKY_OCCURRENCES, true);
2981 // store.setDefault(PreferenceConstants.EDITOR_MARK_TYPE_OCCURRENCES,
2983 // store.setDefault(PreferenceConstants.EDITOR_MARK_METHOD_OCCURRENCES,
2985 // store.setDefault(PreferenceConstants.EDITOR_MARK_CONSTANT_OCCURRENCES,
2987 // store.setDefault(PreferenceConstants.EDITOR_MARK_FIELD_OCCURRENCES,
2989 // store.setDefault(PreferenceConstants.EDITOR_MARK_LOCAL_VARIABLE_OCCURRENCES,
2991 // store.setDefault(PreferenceConstants.EDITOR_MARK_EXCEPTION_OCCURRENCES,
2993 // store.setDefault(PreferenceConstants.EDITOR_MARK_METHOD_EXIT_POINTS,
2995 // store.setDefault(PreferenceConstants.EDITOR_MARK_IMPLEMENTORS, true);
2998 store.setDefault(PreferenceConstants.SPELLING_CHECK_SPELLING, false);
2999 store.setDefault(PreferenceConstants.SPELLING_LOCALE, SpellCheckEngine
3000 .getDefaultLocale().toString());
3001 store.setDefault(PreferenceConstants.SPELLING_IGNORE_DIGITS, true);
3002 store.setDefault(PreferenceConstants.SPELLING_IGNORE_MIXED, true);
3003 store.setDefault(PreferenceConstants.SPELLING_IGNORE_SENTENCE, true);
3004 store.setDefault(PreferenceConstants.SPELLING_IGNORE_UPPER, true);
3005 store.setDefault(PreferenceConstants.SPELLING_IGNORE_URLS, true);
3006 store.setDefault(PreferenceConstants.SPELLING_USER_DICTIONARY, ""); //$NON-NLS-1$
3007 store.setDefault(PreferenceConstants.SPELLING_PROPOSAL_THRESHOLD, 20);
3008 store.setDefault(PreferenceConstants.SPELLING_ENABLE_CONTENTASSIST,
3012 store.setDefault(PreferenceConstants.EDITOR_FOLDING_ENABLED, true);
3013 store.setDefault(PreferenceConstants.EDITOR_FOLDING_PROVIDER,
3014 "net.sourceforge.phpdt.ui.text.defaultFoldingProvider"); //$NON-NLS-1$
3015 store.setDefault(PreferenceConstants.EDITOR_FOLDING_JAVADOC, true);
3016 store.setDefault(PreferenceConstants.EDITOR_FOLDING_INNERTYPES, true);
3017 store.setDefault(PreferenceConstants.EDITOR_FOLDING_METHODS, false);
3018 // store.setDefault(PreferenceConstants.EDITOR_FOLDING_IMPORTS, false);
3019 store.setDefault(PreferenceConstants.EDITOR_FOLDING_HEADERS, true);
3021 store.setDefault(PreferenceConstants.EDITOR_SMART_BACKSPACE, true);
3022 store.setDefault(PreferenceConstants.EDITOR_P_RTRIM_ON_SAVE, false);
3023 // do more complicated stuff
3024 // NewJavaProjectPreferencePage.initDefaults(store);
3028 * Returns the JDT-UI preference store.
3030 * @return the JDT-UI preference store
3032 public static IPreferenceStore getPreferenceStore() {
3033 return PHPeclipsePlugin.getDefault().getPreferenceStore();
3037 // * Encodes a JRE library to be used in the named preference
3038 // <code>NEWPROJECT_JRELIBRARY_LIST</code>.
3040 // * @param description a string value describing the JRE library. The
3041 // description is used
3042 // * to indentify the JDR library in the UI
3043 // * @param entries an array of classpath entries to be encoded
3045 // * @return the encoded string.
3047 // public static String encodeJRELibrary(String description,
3048 // IClasspathEntry[] entries) {
3049 // return NewJavaProjectPreferencePage.encodeJRELibrary(description,
3054 // * Decodes an encoded JRE library and returns its description string.
3056 // * @return the description of an encoded JRE library
3058 // * @see #encodeJRELibrary(String, IClasspathEntry[])
3060 // public static String decodeJRELibraryDescription(String encodedLibrary) {
3062 // NewJavaProjectPreferencePage.decodeJRELibraryDescription(encodedLibrary);
3066 // * Decodes an encoded JRE library and returns its classpath entries.
3068 // * @return the array of classpath entries of an encoded JRE library.
3070 // * @see #encodeJRELibrary(String, IClasspathEntry[])
3072 // public static IClasspathEntry[] decodeJRELibraryClasspathEntries(String
3073 // encodedLibrary) {
3075 // NewJavaProjectPreferencePage.decodeJRELibraryClasspathEntries(encodedLibrary);
3079 // * Returns the current configuration for the JRE to be used as default in
3080 // new Java projects.
3081 // * This is a convenience method to access the named preference
3082 // <code>NEWPROJECT_JRELIBRARY_LIST
3083 // * </code> with the index defined by <code>
3084 // NEWPROJECT_JRELIBRARY_INDEX</code>.
3086 // * @return the current default set of classpath entries
3088 // * @see #NEWPROJECT_JRELIBRARY_LIST
3089 // * @see #NEWPROJECT_JRELIBRARY_INDEX
3091 // public static IClasspathEntry[] getDefaultJRELibrary() {
3092 // return NewJavaProjectPreferencePage.getDefaultJRELibrary();