Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Jaun2013-11-07 21:02:47 +0000
committerChris Jaun2013-11-07 21:02:47 +0000
commit28f16d0a371fb8221d9161d7750376ddd8ec0efd (patch)
treec20ca419f8aee5722586772d7c23c0f8c0fed304 /bundles/org.eclipse.wst.jsdt.core/plugin.xml
parent0b42b983175685012b049844276df46dd05c53e8 (diff)
downloadwebtools.jsdt.core-28f16d0a371fb8221d9161d7750376ddd8ec0efd.tar.gz
webtools.jsdt.core-28f16d0a371fb8221d9161d7750376ddd8ec0efd.tar.xz
webtools.jsdt.core-28f16d0a371fb8221d9161d7750376ddd8ec0efd.zip
[387716] JavaScript and JSON content type extensions should be
overrideable or specify a default encoding = UTF-8
Diffstat (limited to 'bundles/org.eclipse.wst.jsdt.core/plugin.xml')
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/plugin.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/bundles/org.eclipse.wst.jsdt.core/plugin.xml b/bundles/org.eclipse.wst.jsdt.core/plugin.xml
index d123f955..87fb6345 100644
--- a/bundles/org.eclipse.wst.jsdt.core/plugin.xml
+++ b/bundles/org.eclipse.wst.jsdt.core/plugin.xml
@@ -192,12 +192,14 @@
<!-- declares a content type for JavaScript Source files -->
<content-type id="jsSource" name="%jsSourceName"
base-type="org.eclipse.core.runtime.text"
- priority="high"
+ priority="high"
+ default-charset="UTF-8"
file-extensions="js"/>
<!-- declares a content type for JSON files -->
<content-type id="jsonSource" name="%jsonSourceName"
base-type="org.eclipse.core.runtime.text"
- priority="normal"
+ priority="normal"
+ default-charset="UTF-8"
file-extensions="json"/>
</extension>

Back to the top