-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
executable file
·81 lines (79 loc) · 2.85 KB
/
plugin.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension
point="org.eclipse.ui.editors">
<editor
name="Markdown Editor"
extensions="txt,md"
icon="icons/notepad.gif"
contributorClass="winterwell.markdown.editors.ActionBarContributor"
class="winterwell.markdown.editors.MarkdownEditor"
id="winterwell.markdown.editors.MarkdownEditor">
</editor>
</extension>
<extension
point="org.eclipse.ui.views">
<category
id="winterwell.markdown"
name="Markdown"/>
<view
category="winterwell.markdown"
class="winterwell.markdown.views.MarkdownPreview"
icon="icons/notepad.gif"
id="winterwell.markdown.views.MarkdownPreview"
name="Markdown HTML Preview"/>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
class="winterwell.markdown.preferences.MarkdownPreferencePage"
id="winterwell.markdown.preferences.MarkdownPreferencePage"
name="Markdown"
category="org.eclipse.ui.preferencePages.GeneralTextEditor">
<keywordReference
id="winterwell.markdown.prefsKeywordReference">
</keywordReference>
</page>
</extension>
<extension
point="org.eclipse.ui.keywords">
<keyword
id="winterwell.markdown.prefsKeywordReference"
label="word wrapping tool tags">
</keyword>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
defaultHandler="winterwell.markdown.editors.FormatAction"
description="Format the paragraph under the caret to fit the print margins by inserting/removing line-breaks"
id="winterwell.markdown.formatParagraphCommand"
name="Format paragraph">
</command>
</extension>
<extension
point="org.eclipse.ui.bindings">
<key
commandId="winterwell.markdown.formatParagraphCommand"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="Alt+Q">
</key>
</extension>
<extension
point="org.eclipse.ui.actionSets">
<actionSet
id="winterwell.markdown.actionSet"
label="winterwell.markdown.actionSet">
<action
class="winterwell.markdown.editors.FormatAction"
definitionId="winterwell.markdown.formatParagraphCommand"
id="winterwell.markdown.formatParagraphAction"
label="Format paragraph"
menubarPath="edit"
style="push">
</action>
</actionSet>
</extension>
</plugin>