|
13 | 13 | ###############################################################################
|
14 | 14 | -->
|
15 | 15 | <plugin>
|
16 |
| - |
17 |
| - <!-- TypeScript editor --> |
18 | 16 |
|
19 | 17 | <extension
|
20 | 18 | id="TypeScriptDocumentSetupParticipant"
|
|
23 | 21 | <participant
|
24 | 22 | contentTypeId="ts.eclipse.ide.core.tsSource"
|
25 | 23 | extensions="ts,tsx,jsx"
|
26 |
| - class="org.eclipse.wst.jsdt.internal.ui.javaeditor.JavaDocumentSetupParticipant"> |
| 24 | + class="ts.eclipse.ide.jsdt.internal.ui.editor.TypeScriptDocumentSetupParticipant"> |
27 | 25 | </participant>
|
28 | 26 | </extension>
|
29 |
| - |
| 27 | + |
30 | 28 | <!-- JavaScript Editor -->
|
31 | 29 | <extension
|
32 | 30 | point="org.eclipse.ui.editors">
|
|
54 | 52 | class="ts.eclipse.ide.jsdt.internal.ui.editor.TypeScriptEditor"
|
55 | 53 | symbolicFontName="org.eclipse.wst.jsdt.ui.editors.textfont"
|
56 | 54 | id="ts.eclipse.ide.jsdt.ui.editor.TypeScriptEditor"
|
57 |
| - extensions="ts,tsx,jsx"> |
| 55 | + extensions="ts"> |
58 | 56 | <contentTypeBinding contentTypeId="ts.eclipse.ide.core.tsSource" />
|
59 |
| - <contentTypeBinding contentTypeId="ts.eclipse.ide.core.tsxSource" /> |
| 57 | + </editor> |
| 58 | + </extension> |
| 59 | + |
| 60 | + <!-- JSX Editor --> |
| 61 | + <extension |
| 62 | + point="org.eclipse.ui.editors"> |
| 63 | + <editor |
| 64 | + name="%JSXEditor.name" |
| 65 | + default="true" |
| 66 | + icon="$nl$/icons/full/obj16/jsx.png" |
| 67 | + contributorClass="ts.eclipse.ide.jsdt.internal.ui.editor.TypeScriptEditorActionContributor" |
| 68 | + class="ts.eclipse.ide.jsdt.internal.ui.editor.TypeScriptEditor" |
| 69 | + symbolicFontName="org.eclipse.wst.jsdt.ui.editors.textfont" |
| 70 | + id="ts.eclipse.ide.jsdt.ui.editor.JSXEditor" |
| 71 | + extensions="jsx,tsx"> |
60 | 72 | <contentTypeBinding contentTypeId="ts.eclipse.ide.core.jsxSource" />
|
| 73 | + <contentTypeBinding contentTypeId="ts.eclipse.ide.core.tsxSource" /> |
61 | 74 | </editor>
|
62 | 75 | </extension>
|
63 |
| - |
| 76 | + |
64 | 77 | <!-- dark theme defaults -->
|
65 | 78 | <extension
|
66 | 79 | point="org.eclipse.e4.ui.css.swt.theme">
|
|
82 | 95 | <javaCompletionProposalComputer
|
83 | 96 | class="ts.eclipse.ide.jsdt.internal.ui.editor.contentassist.TypeScriptCompletionProposalComputer"
|
84 | 97 | categoryId="ts.eclipse.ide.jsdt.ui.TypeScriptCompletionProposalCategory">
|
| 98 | + <partition type="__dftl_partition_content_type"/> |
| 99 | + <partition type="__java_singleline_comment"/> |
| 100 | + <partition type="__java_multiline_comment"/> |
| 101 | + <partition type="__javascript_template_literal"/> |
| 102 | + <partition type="__java_string"/> |
| 103 | + <partition type="__java_character"/> |
| 104 | + <partition type="__java_javadoc"/> |
| 105 | + <partition type="__jsx"/> |
85 | 106 | </javaCompletionProposalComputer>
|
86 | 107 | </extension>
|
87 | 108 |
|
|
497 | 518 | </viewerContribution>
|
498 | 519 | </extension>
|
499 | 520 |
|
| 521 | + <extension point="org.eclipse.core.runtime.preferences"> |
| 522 | + <initializer class="ts.eclipse.ide.jsdt.internal.ui.JSDTTypeScriptUIPreferenceInitializer"/> |
| 523 | + </extension> |
| 524 | + |
500 | 525 | </plugin>
|
0 commit comments