|
2 | 2 | <?eclipse version="3.0"?>
|
3 | 3 | <!--
|
4 | 4 | ###############################################################################
|
5 |
| -# Copyright (c) 2013 Angelo Zerr and others. |
| 5 | +# Copyright (c) 2015-2016 Angelo Zerr and others. |
6 | 6 | # All rights reserved. This program and the accompanying materials
|
7 | 7 | # are made available under the terms of the Eclipse Public License v1.0
|
8 | 8 | # which accompanies this distribution, and is available at
|
|
38 | 38 | symbolicFontName="org.eclipse.wst.jsdt.ui.editors.textfont"
|
39 | 39 | id="ts.eclipse.ide.jsdt.ui.editor.TypeScriptEditor"
|
40 | 40 | extensions="ts,tsx,jsx">
|
41 |
| - <contentTypeBinding contentTypeId="org.eclipse.wst.jsdt.core.tsSource" /> |
42 |
| - <contentTypeBinding contentTypeId="org.eclipse.wst.jsdt.core.tsxSource" /> |
43 |
| - <contentTypeBinding contentTypeId="org.eclipse.wst.jsdt.core.jsxSource" /> |
| 41 | + <contentTypeBinding contentTypeId="ts.eclipse.ide.jsdt.core.tsSource" /> |
| 42 | + <contentTypeBinding contentTypeId="ts.eclipse.ide.jsdt.core.tsxSource" /> |
| 43 | + <contentTypeBinding contentTypeId="ts.eclipse.ide.jsdt.core.jsxSource" /> |
44 | 44 | </editor>
|
45 | 45 | </extension>
|
46 | 46 |
|
|
99 | 99 | </hover>
|
100 | 100 | </extension>
|
101 | 101 |
|
| 102 | +<!-- Begin JavaScript Search action set --> |
| 103 | +<!-- End JavaScript Action Set (Adding the source, refactor and navigate menu --> |
| 104 | + <extension |
| 105 | + point="org.eclipse.ui.actionSets"> |
| 106 | + <actionSet |
| 107 | + label="%TypeScriptSearchActionSet.label" |
| 108 | + description="%TypeScriptSearchActionSet.description" |
| 109 | + visible="false" |
| 110 | + id="ts.eclipse.ide.jsdt.ui.SearchActionSet"> |
| 111 | +<!-- see http://bugs.eclipse.org/bugs/show_bug.cgi?id=15684 --> |
| 112 | +<!-- Note: The menu (re-) definition has to be here due to bug: --> |
| 113 | +<!-- =================================================================== --> |
| 114 | +<!-- Search Menu --> |
| 115 | +<!-- =================================================================== --> |
| 116 | + <menu |
| 117 | + label="%referencesSubMenu.label" |
| 118 | + path="org.eclipse.search.menu/contextMenuActionsGroup" |
| 119 | + id="referencesSubMenu"> |
| 120 | + <separator |
| 121 | + name="group1"> |
| 122 | + </separator> |
| 123 | + </menu> |
| 124 | + <action |
| 125 | + definitionId="ts.eclipse.ide.jsdt.ui.edit.text.java.search.references.in.project" |
| 126 | + label="%InProject.label" |
| 127 | + retarget="true" |
| 128 | + menubarPath="org.eclipse.search.menu/referencesSubMenu/group1" |
| 129 | + allowLabelUpdate="true" |
| 130 | + id="ts.eclipse.ide.jsdt.ui.actions.ReferencesInProject"> |
| 131 | + </action> |
| 132 | + |
| 133 | + </actionSet> |
| 134 | + </extension> |
| 135 | + |
| 136 | + <extension |
| 137 | + point="org.eclipse.ui.commands"> |
| 138 | + |
| 139 | +<!-- search --> |
| 140 | + <command |
| 141 | + name="%ActionDefinition.referencesInProject.name" |
| 142 | + description="%ActionDefinition.referencesInProject.description" |
| 143 | + categoryId="org.eclipse.search.ui.category.search" |
| 144 | + id="ts.eclipse.ide.jsdt.ui.edit.text.java.search.references.in.project"> |
| 145 | + </command> |
| 146 | + |
| 147 | + </extension> |
| 148 | + |
102 | 149 | <!-- I don't know why, but startup should be done, otherwise TypeScriptCompletionProposalComputer is not registered? -->
|
103 | 150 | <extension
|
104 | 151 | point="org.eclipse.ui.startup">
|
|
0 commit comments