File tree 7 files changed +168
-3
lines changed
codelens/org.eclipse.codelens
jsdt/ts.eclipse.ide.jsdt.ui
7 files changed +168
-3
lines changed Original file line number Diff line number Diff line change 1
1
Manifest-Version : 1.0
2
2
Bundle-ManifestVersion : 2
3
- Bundle-Name : Eclipse CodeLens
3
+ Bundle-Vendor : %providerName
4
4
Bundle-SymbolicName : org.eclipse.codelens;singleton:=true
5
5
Bundle-Version : 1.3.0.qualifier
6
6
Require-Bundle : org.eclipse.core.runtime,
Original file line number Diff line number Diff line change 1
1
source.. = src/
2
2
output.. = bin/
3
3
bin.includes = .,\
4
- META-INF/
4
+ META-INF/,\
5
+ plugin.xml,\
6
+ plugin.properties,\
7
+ schema/
Original file line number Diff line number Diff line change
1
+ # ##############################################################################
2
+ # Copyright (c) 2015-2017 Angelo Zerr and others.
3
+ # All rights reserved. This program and the accompanying materials
4
+ # are made available under the terms of the Eclipse Public License v1.0
5
+ # which accompanies this distribution, and is available at
6
+ # http://www.eclipse.org/legal/epl-v10.html
7
+ #
8
+ # Contributors:
9
+ # Angelo Zerr <[email protected] > - Initial API and implementation
10
+ # ##############################################################################
11
+ pluginName =Eclipse CodeLens
12
+ providerName =Angelo ZERR
13
+
14
+ # Extension Points
15
+ CodeLensProviders.extension.name =CodeLens provider extension point.
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <?eclipse version =" 3.0" ?>
3
+ <!--
4
+ ###############################################################################
5
+ # Copyright (c) 2015-2016 Angelo Zerr and others.
6
+ # All rights reserved. This program and the accompanying materials
7
+ # are made available under the terms of the Eclipse Public License v1.0
8
+ # which accompanies this distribution, and is available at
9
+ # http://www.eclipse.org/legal/epl-v10.html
10
+ #
11
+ # Contributors:
12
+ # Angelo Zerr <[email protected] > - Initial API and implementation
13
+ ###############################################################################
14
+ -->
15
+ <plugin >
16
+
17
+ <extension-point id =" codeLensProviders"
18
+ name=" %CodeLensProviders.extension.name"
19
+ schema=" schema/codeLensProviders.exsd" />
20
+
21
+ </plugin >
Original file line number Diff line number Diff line change
1
+ <?xml version =' 1.0' encoding =' UTF-8' ?>
2
+ <!-- Schema file written by PDE -->
3
+ <schema targetNamespace =" org.eclipse.codelens" xmlns =" http://www.w3.org/2001/XMLSchema" >
4
+ <annotation >
5
+ <appinfo >
6
+ <meta .schema plugin =" org.eclipse.codelens" id =" codelensProviders" name =" CodeLens Provider" />
7
+ </appinfo >
8
+ <documentation >
9
+ Extension point to register CodeLens providers.
10
+ </documentation >
11
+ </annotation >
12
+
13
+ <element name =" extension" >
14
+ <annotation >
15
+ <appinfo >
16
+ <meta .element />
17
+ </appinfo >
18
+ </annotation >
19
+ <complexType >
20
+ <sequence minOccurs =" 1" maxOccurs =" unbounded" >
21
+ <element ref =" codeLensProvider" minOccurs =" 0" maxOccurs =" unbounded" />
22
+ </sequence >
23
+ <attribute name =" point" type =" string" use =" required" >
24
+ <annotation >
25
+ <documentation >
26
+ a fully-qualified name of the target extension point
27
+ </documentation >
28
+ </annotation >
29
+ </attribute >
30
+ <attribute name =" id" type =" string" >
31
+ <annotation >
32
+ <documentation >
33
+ an optional id
34
+ </documentation >
35
+ </annotation >
36
+ </attribute >
37
+ <attribute name =" name" type =" string" >
38
+ <annotation >
39
+ <documentation >
40
+ an optional name
41
+ </documentation >
42
+ </annotation >
43
+ </attribute >
44
+ </complexType >
45
+ </element >
46
+
47
+ <element name =" codeLensProvider" >
48
+ <annotation >
49
+ <documentation >
50
+ This extension point allows developers to register TextMate grammars.
51
+ </documentation >
52
+ </annotation >
53
+ <complexType >
54
+ <attribute name =" class" type =" string" use =" required" >
55
+ <annotation >
56
+ <documentation >
57
+ CodeLens Provider class.
58
+ </documentation >
59
+ <appinfo >
60
+ <meta .attribute kind =" java" basedOn =" :org.eclipse.jface.text.provisional.codelens.ICodeLensProvider" />
61
+ </appinfo >
62
+ </annotation >
63
+ </attribute >
64
+ <attribute name =" target" type =" string" use =" required" >
65
+ <annotation >
66
+ <documentation >
67
+ Target
68
+ </documentation >
69
+ </annotation >
70
+ </attribute >
71
+ <attribute name =" name" type =" string" use =" required" >
72
+ <annotation >
73
+ <documentation >
74
+ CodeLens providers name.
75
+ </documentation >
76
+ </annotation >
77
+ </attribute >
78
+ </complexType >
79
+ </element >
80
+
81
+ <annotation >
82
+ <appinfo >
83
+ <meta .section type =" since" />
84
+ </appinfo >
85
+ <documentation >
86
+ 2.0
87
+ </documentation >
88
+ </annotation >
89
+
90
+
91
+
92
+ <annotation >
93
+ <appinfo >
94
+ <meta .section type =" implementation" />
95
+ </appinfo >
96
+ <documentation >
97
+ This plugin itself does not have any predefined builders.
98
+ </documentation >
99
+ </annotation >
100
+
101
+
102
+ </schema >
Original file line number Diff line number Diff line change @@ -123,4 +123,8 @@ templates.jsdoc.contextType.name=JSDoc
123
123
templates.react.contextType.name =ReactJS
124
124
125
125
# textMate snippets
126
- textmate.snippet.jsx =JSX Snippet
126
+ textmate.snippet.jsx =JSX Snippet
127
+
128
+ # CodeLens Providers
129
+ TypeScriptReferencesCodeLensProvider.name =TypeScript References
130
+ TypeScriptImplementationsCodeLensProvider.name =TypeScript Implementations
Original file line number Diff line number Diff line change 765
765
</snippet >
766
766
</extension >
767
767
768
+ <!-- TypeScript CodeLens providers -->
769
+
770
+ <extension
771
+ point =" org.eclipse.codelens.codeLensProviders" >
772
+ <codeLensProvider
773
+ name =" %TypeScriptReferencesCodeLensProvider.name"
774
+ class =" ts.eclipse.ide.jsdt.internal.ui.editor.codelens.TypeScriptReferencesCodeLensProvider"
775
+ target =" typeScript.codeLens" >
776
+ </codeLensProvider >
777
+ </extension >
778
+
779
+ <extension
780
+ point =" org.eclipse.codelens.codeLensProviders" >
781
+ <codeLensProvider
782
+ name =" %TypeScriptImplementationsCodeLensProvider.name"
783
+ class =" ts.eclipse.ide.jsdt.internal.ui.editor.codelens.TypeScriptImplementationsCodeLensProvider"
784
+ target =" typeScript.codeLens" >
785
+ </codeLensProvider >
786
+ </extension >
787
+
768
788
</plugin >
You can’t perform that action at this time.
0 commit comments