-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathplugin.xml
More file actions
92 lines (89 loc) · 2.88 KB
/
plugin.xml
File metadata and controls
92 lines (89 loc) · 2.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.commands">
<command
categoryId="nlp2code.category"
id="nlp2code.handler"
name="Input Handler">
</command>
<category
id="nlp2code.category"
name="Handler Category">
</category>
<command
categoryId="nlp2code.category"
id="nlp2code.cyclehandler"
name="Cycle Answers Handler">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="nlp2code.InputHandler"
commandId="nlp2code.handler">
</handler>
<handler
class="nlp2code.CycleAnswersHandler"
commandId="nlp2code.cyclehandler">
</handler>
</extension>
<extension
point="org.eclipse.ui.bindings">
<key
commandId="nlp2code.handler"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+6">
</key>
<key
commandId="nlp2code.cyclehandler"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M4+`">
</key>
<key
commandId="nlp2code.cyclehandler"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+`">
</key>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
<toolbar
id="nlp2code.toolbar">
<command
commandId="nlp2code.handler"
icon="icons/stackoverflow.gif"
id="nlp2code.toolbar.handler"
style="push"
tooltip="Query Stack Overflow">
</command>
<command
commandId="nlp2code.cyclehandler"
icon="icons/cycle.gif"
id="nlp2code.toolbar.handler"
style="push"
tooltip="Cycle Code Snippet - Press to see diferent answers to your previously made query. (CTRL + `)">
</command>
</toolbar>
</menuContribution>
</extension>
<extension
id="nlp2code.contentassist"
point="org.eclipse.jdt.ui.javaCompletionProposalComputer">
<proposalCategory>
</proposalCategory>
<proposalComputer
activate="true"
categoryId="nlp2code.contentassist.category"
class="nlp2code.TaskRecommender"
id="nlp2code.proposalcomputer">
<contentType id="org.eclipse.core.runtime.text"/>
</proposalComputer>
</extension>
</plugin>