Skip to content

Commit 3a9ec34

Browse files
committed
Implement TypeScript Codelens without activating it. See
#181
1 parent abaa3c8 commit 3a9ec34

File tree

67 files changed

+2871
-34
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+2871
-34
lines changed

eclipse/codelens/.project

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>codelens</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.m2e.core.maven2Builder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
</buildSpec>
14+
<natures>
15+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
16+
</natures>
17+
</projectDescription>

eclipse/codelens/javassist/.classpath

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry exported="true" kind="lib" path="lib/javassist-3.11.jar"/>
4+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
5+
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
6+
<classpathentry kind="src" path="src"/>
7+
<classpathentry kind="output" path="bin"/>
8+
</classpath>

eclipse/codelens/javassist/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/bin/

eclipse/codelens/javassist/.project

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>javassist</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.pde.ManifestBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.pde.SchemaBuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
</buildSpec>
24+
<natures>
25+
<nature>org.eclipse.pde.PluginNature</nature>
26+
<nature>org.eclipse.jdt.core.javanature</nature>
27+
</natures>
28+
</projectDescription>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Manifest-Version: 1.0
2+
Bundle-ManifestVersion: 2
3+
Bundle-Name: Javassist
4+
Bundle-SymbolicName: javassist
5+
Bundle-Version: 1.0.0.qualifier
6+
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
7+
Bundle-ClassPath: lib/javassist-3.11.jar,
8+
.
9+
Export-Package: javassist,
10+
javassist.bytecode,
11+
javassist.bytecode.analysis,
12+
javassist.bytecode.annotation,
13+
javassist.bytecode.stackmap,
14+
javassist.compiler,
15+
javassist.compiler.ast,
16+
javassist.convert,
17+
javassist.expr,
18+
javassist.runtime,
19+
javassist.scopedpool,
20+
javassist.tools,
21+
javassist.tools.reflect,
22+
javassist.tools.rmi,
23+
javassist.tools.web,
24+
javassist.util,
25+
javassist.util.proxy
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
source.. = src/
2+
output.. = bin/
3+
bin.includes = META-INF/,\
4+
.,\
5+
lib/javassist-3.11.jar
Binary file not shown.

eclipse/codelens/javassist/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<modelVersion>4.0.0</modelVersion>
3+
<artifactId>javassist</artifactId>
4+
<packaging>eclipse-plugin</packaging>
5+
<parent>
6+
<groupId>fr.opensagres.js</groupId>
7+
<artifactId>codelens</artifactId>
8+
<version>1.3.0-SNAPSHOT</version>
9+
</parent>
10+
</project>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
4+
<attributes>
5+
<attribute name="maven.pomderived" value="true"/>
6+
</attributes>
7+
</classpathentry>
8+
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
9+
<classpathentry kind="src" path="src/"/>
10+
<classpathentry kind="output" path="target/classes"/>
11+
</classpath>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/bin/
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>org.eclipse.codelens.jface.fragment</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.pde.ManifestBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.pde.SchemaBuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>org.eclipse.m2e.core.maven2Builder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
</buildSpec>
29+
<natures>
30+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
31+
<nature>org.eclipse.pde.PluginNature</nature>
32+
<nature>org.eclipse.jdt.core.javanature</nature>
33+
</natures>
34+
</projectDescription>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Manifest-Version: 1.0
2+
Bundle-ManifestVersion: 2
3+
Bundle-Name: Fragment
4+
Bundle-SymbolicName: org.eclipse.codelens.jface.fragment
5+
Bundle-Version: 1.0.0.qualifier
6+
Fragment-Host: org.eclipse.jface.text
7+
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
8+
Bundle-ClassPath: .
9+
Import-Package: javassist,
10+
javassist.bytecode,
11+
javassist.bytecode.analysis,
12+
javassist.bytecode.annotation,
13+
javassist.bytecode.stackmap,
14+
javassist.compiler,
15+
javassist.compiler.ast,
16+
javassist.convert,
17+
javassist.expr,
18+
javassist.runtime,
19+
javassist.scopedpool,
20+
javassist.tools,
21+
javassist.tools.reflect,
22+
javassist.tools.rmi,
23+
javassist.tools.web,
24+
javassist.util,
25+
javassist.util.proxy
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source.. = src/
2+
output.. = bin/
3+
bin.includes = META-INF/,\
4+
.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<modelVersion>4.0.0</modelVersion>
3+
<artifactId>org.eclipse.codelens.jface.fragment</artifactId>
4+
<packaging>eclipse-plugin</packaging>
5+
<parent>
6+
<groupId>fr.opensagres.js</groupId>
7+
<artifactId>codelens</artifactId>
8+
<version>1.3.0-SNAPSHOT</version>
9+
</parent>
10+
</project>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
4+
<attributes>
5+
<attribute name="maven.pomderived" value="true"/>
6+
</attributes>
7+
</classpathentry>
8+
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
9+
<classpathentry kind="src" path="src/"/>
10+
<classpathentry kind="output" path="target/classes"/>
11+
</classpath>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/bin/
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>org.eclipse.codelens.swt.fragment</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.pde.ManifestBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.pde.SchemaBuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>org.eclipse.m2e.core.maven2Builder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
</buildSpec>
29+
<natures>
30+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
31+
<nature>org.eclipse.pde.PluginNature</nature>
32+
<nature>org.eclipse.jdt.core.javanature</nature>
33+
</natures>
34+
</projectDescription>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Manifest-Version: 1.0
2+
Bundle-ManifestVersion: 2
3+
Bundle-Name: Fragment
4+
Bundle-SymbolicName: org.eclipse.codelens.swt.fragment
5+
Bundle-Version: 1.0.0.qualifier
6+
Fragment-Host: org.eclipse.swt
7+
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
8+
Bundle-ClassPath: .
9+
Import-Package: javassist,
10+
javassist.bytecode,
11+
javassist.bytecode.analysis,
12+
javassist.bytecode.annotation,
13+
javassist.bytecode.stackmap,
14+
javassist.compiler,
15+
javassist.compiler.ast,
16+
javassist.convert,
17+
javassist.expr,
18+
javassist.runtime,
19+
javassist.scopedpool,
20+
javassist.tools,
21+
javassist.tools.reflect,
22+
javassist.tools.rmi,
23+
javassist.tools.web,
24+
javassist.util,
25+
javassist.util.proxy
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source.. = src/
2+
output.. = bin/
3+
bin.includes = META-INF/,\
4+
.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<modelVersion>4.0.0</modelVersion>
3+
<artifactId>org.eclipse.codelens.swt.fragment</artifactId>
4+
<packaging>eclipse-plugin</packaging>
5+
<parent>
6+
<groupId>fr.opensagres.js</groupId>
7+
<artifactId>codelens</artifactId>
8+
<version>1.3.0-SNAPSHOT</version>
9+
</parent>
10+
</project>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
4+
<attributes>
5+
<attribute name="maven.pomderived" value="true"/>
6+
</attributes>
7+
</classpathentry>
8+
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
9+
<classpathentry kind="src" path="src/"/>
10+
<classpathentry kind="output" path="target/classes"/>
11+
</classpath>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/bin/
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>org.eclipse.codelens</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.pde.ManifestBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.pde.SchemaBuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>org.eclipse.m2e.core.maven2Builder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
</buildSpec>
29+
<natures>
30+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
31+
<nature>org.eclipse.pde.PluginNature</nature>
32+
<nature>org.eclipse.jdt.core.javanature</nature>
33+
</natures>
34+
</projectDescription>
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
Manifest-Version: 1.0
2+
Bundle-ManifestVersion: 2
3+
Bundle-Name: Eclipse CodeLens
4+
Bundle-SymbolicName: org.eclipse.codelens;singleton:=true
5+
Bundle-Version: 1.0.0.qualifier
6+
Require-Bundle: org.eclipse.core.runtime,
7+
org.eclipse.jface.text,
8+
org.eclipse.jface
9+
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
10+
Import-Package: javassist,
11+
javassist.bytecode,
12+
javassist.bytecode.analysis,
13+
javassist.bytecode.annotation,
14+
javassist.bytecode.stackmap,
15+
javassist.compiler,
16+
javassist.compiler.ast,
17+
javassist.convert,
18+
javassist.expr,
19+
javassist.runtime,
20+
javassist.scopedpool,
21+
javassist.tools,
22+
javassist.tools.reflect,
23+
javassist.tools.rmi,
24+
javassist.tools.web,
25+
javassist.util,
26+
javassist.util.proxy,
27+
org.eclipse.swt,
28+
org.eclipse.swt.custom,
29+
org.eclipse.swt.events,
30+
org.eclipse.swt.graphics,
31+
org.eclipse.swt.widgets
32+
Bundle-ClassPath: .
33+
Export-Package: org.eclipse.jface.text.provisional.codelens,
34+
org.eclipse.jface.text.provisional.viewzones,
35+
org.eclipse.jface.text.source.patch,
36+
org.eclipse.swt.custom.patch,
37+
org.eclipse.swt.custom.provisional
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source.. = src/
2+
output.. = bin/
3+
bin.includes = .,\
4+
META-INF/
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<modelVersion>4.0.0</modelVersion>
3+
<artifactId>org.eclipse.codelens</artifactId>
4+
<packaging>eclipse-plugin</packaging>
5+
<parent>
6+
<groupId>fr.opensagres.js</groupId>
7+
<artifactId>codelens</artifactId>
8+
<version>1.3.0-SNAPSHOT</version>
9+
</parent>
10+
</project>

0 commit comments

Comments
 (0)