summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSalvador Zalapa2013-05-14 16:12:00 (EDT)
committer Nick Sandonato2013-05-15 16:46:07 (EDT)
commita25de7c975cdef9d5eb16e00b37938844790e8df (patch)
treed4d94289a6945e7b84db33f7a4d7a42416e6e86a
parent25f813563a1bfc509c99887394262fa1fedf1301 (diff)
downloadwebtools.sourceediting-a25de7c975cdef9d5eb16e00b37938844790e8df.zip
webtools.sourceediting-a25de7c975cdef9d5eb16e00b37938844790e8df.tar.gz
webtools.sourceediting-a25de7c975cdef9d5eb16e00b37938844790e8df.tar.bz2
[404734] Make HTML5 the default for new html files creationv201305152046
-rw-r--r--bundles/org.eclipse.wst.html.ui/src/org/eclipse/wst/html/ui/internal/preferences/HTMLUIPreferenceInitializer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.wst.html.ui/src/org/eclipse/wst/html/ui/internal/preferences/HTMLUIPreferenceInitializer.java b/bundles/org.eclipse.wst.html.ui/src/org/eclipse/wst/html/ui/internal/preferences/HTMLUIPreferenceInitializer.java
index 7ce90da..20cdacf 100644
--- a/bundles/org.eclipse.wst.html.ui/src/org/eclipse/wst/html/ui/internal/preferences/HTMLUIPreferenceInitializer.java
+++ b/bundles/org.eclipse.wst.html.ui/src/org/eclipse/wst/html/ui/internal/preferences/HTMLUIPreferenceInitializer.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006, 2012 IBM Corporation and others.
+ * Copyright (c) 2006, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -97,12 +97,12 @@ public class HTMLUIPreferenceInitializer extends AbstractPreferenceInitializer {
styleValue = ColorHelper.findRGBString(registry, IStyleConstantsXML.ENTITY_REFERENCE, 42, 0, 255) + NOBACKGROUNDBOLD;
store.setDefault(IStyleConstantsXML.ENTITY_REFERENCE, styleValue);
- // set default new html file template to use in new file wizard
+ // set default new html 5 file template to use in new file wizard
/*
* Need to find template name that goes with default template id (name
* may change for different language)
*/
- store.setDefault(HTMLUIPreferenceNames.NEW_FILE_TEMPLATE_ID, "org.eclipse.wst.html.ui.templates.html"); //$NON-NLS-1$
+ store.setDefault(HTMLUIPreferenceNames.NEW_FILE_TEMPLATE_ID, "org.eclipse.wst.html.ui.templates.html5"); //$NON-NLS-1$
// Defaults for the Typing preference page
store.setDefault(HTMLUIPreferenceNames.TYPING_COMPLETE_COMMENTS, true);